From d5487addcb64db22103d8b01774b3ecc0797dd9b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 16 Jan 2023 23:11:07 +0100 Subject: [PATCH] Add config file for random mac addresses on network manager --- root/etc/NetworkManager/conf.d/random_mac.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 root/etc/NetworkManager/conf.d/random_mac.conf diff --git a/root/etc/NetworkManager/conf.d/random_mac.conf b/root/etc/NetworkManager/conf.d/random_mac.conf new file mode 100644 index 0000000..23f07cf --- /dev/null +++ b/root/etc/NetworkManager/conf.d/random_mac.conf @@ -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