mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add config file for random mac addresses on network manager
This commit is contained in:
parent
d015c59179
commit
d5487addcb
15
root/etc/NetworkManager/conf.d/random_mac.conf
Normal file
15
root/etc/NetworkManager/conf.d/random_mac.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
[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=stable
|
||||
|
||||
# Opions:
|
||||
# permanent: Use HardWare address
|
||||
# preserve: Don’t change the MAC address of the device upon activation
|
||||
# stable: Randomize once and associate it permanently with that network
|
||||
# random: Randomize MAC for every connection
|
Loading…
Reference in a new issue