Steps to reproduce:
- Install macchanger with sudo apt install macchanger
- When prompted, agree to change MAC address every time.
- Turn Wi-Fi off and check MAC address
sudo ip link set wlp1s0 down macchanger --show wlp1s0
- Turn Wi-Fi on and check MAC address
sudo ip link set wlp1s0 up macchanger --show wlp1s0
- Repeat steps 3-4 a few times
What should happen:
When Wi-Fi is turned on result should be:
Current MAC: 00:00:00:00:00:00 (unknown) Permanent MAC: 11:11:11:11:11:11 (unknown)
Where 11:11... is the permanent MAC, and 00:00... is some random
address.
What happens instead:
When Wi-Fi is turned *off* the result is:
Current MAC: 00:00:00:00:00:00 (unknown) Permanent MAC: 11:11:11:11:11:11 (unknown)
When Wi-Fi is turned *on* the result is:
Current MAC: 11:11:11:11:11:11 (unknown) Permanent MAC: 11:11:11:11:11:11 (unknown)
In other words, the permanent MAC is exposed specifically when Wi-Fi
is turned on. If anything it should be the other way round?
Notes:
- Setting confirmed with sudo dpkg-reconfigure macchanger
Package versions:
- macchanger-1.7.0-5.4
- network-manager-1.14.6-2
So the following issue should not apply: