Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I enable mac address randomization in NetworkManager?

It seems that Fedora 24 and NetworkManager 1.2 has broken macchanger and randomized mac addresses are no longer persistent. When I toggle my RF kill switch and enable the radios, the randomized mac address is replaced with the hardware/burned in mac address of the interface. I see that now NetworkManager has mac address randomization built in but I haven't been able to find clear instructions on how to use or enable it.

Adding [connection] wifi.mac-address-randomization=2

to /etc/NetworkManager/NetworkManager.conf

results in an inability to connect to anything. How am I supposed to use this feature properly? I want the randomization to be enabled all the time whenever I use the wifi interface. I understand it randomizes during scanning, but I also want it randomized during connection.