Skip to content

Instantly share code, notes, and snippets.

@alastorid
Created September 4, 2017 08:00
Show Gist options
  • Save alastorid/55921e66968ed3c5ad003a3482ec1997 to your computer and use it in GitHub Desktop.
Save alastorid/55921e66968ed3c5ad003a3482ec1997 to your computer and use it in GitHub Desktop.
/etc/NetworkManager/conf.d/00_mac_randomization.conf
[device-mac-randomization]
# "yes" is already the default for scanning
wifi.scan-rand-mac-address=yes
[connection-mac-randomization]
# Randomize MAC for every ethernet connection
ethernet.cloned-mac-address=random
# Generate a random MAC for each WiFi and associate the two permanently.
wifi.cloned-mac-address=random
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment