Spoofing MAC address is possible with Network Manager since 1.4.0. The device is sending probe requests while searching for known Wi-Fi. This broadcast contains the SSID, the devices MAC address and the signal strength, thus the device can be tracked.
Network Manager has setting for this, this setting is enabled by default:
When the device is connected to a network, the MAC address is restored to its original.
This configuration is responsible to change MAC at connection.
The possible options:
permanent: use the devices MAC
preserver: dont change the devices MAC at activation
random: random MAC at each connection
stable: associate a MAC to a network, the MAC will be randomized for each network, means if you reconnect to those network, the MAC address will the same as before
To use these settings, create a new config file in
Copy to the file:
random to another if you want.
Restart Network Manager:
systemctl restart NetworkManager
The fullpost can be found on Thomas Haller’s Blog