From 82809af961ae36edba5388237bc8aaf73a3f2a1c Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Wed, 16 Nov 2016 17:30:25 +0000 Subject: [PATCH 1/3] [device-scan] -> [device] It only worked because 'wifi.scan-rand-mac-address=yes' is already the default anyway. --- privacy/anonymizing-your-mac-address.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/privacy/anonymizing-your-mac-address.md b/privacy/anonymizing-your-mac-address.md index 4356b2c2..8b7baea2 100644 --- a/privacy/anonymizing-your-mac-address.md +++ b/privacy/anonymizing-your-mac-address.md @@ -28,7 +28,7 @@ $ sudo NetworkManager -V Add the settings in `/etc/NetworkManager/NetworkManager.conf`. The following example enables Wifi MAC address randomization both while scanning (not connected) and while connected. ~~~ -[device-scan] +[device] wifi.scan-rand-mac-address=yes [connection] From 91d3abac156fa50e973c2896254ae4d8ef669587 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Wed, 16 Nov 2016 18:23:30 +0000 Subject: [PATCH 2/3] Also randomize MAC address per Ethernet connection profile --- privacy/anonymizing-your-mac-address.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/privacy/anonymizing-your-mac-address.md b/privacy/anonymizing-your-mac-address.md index 8b7baea2..0b056cb3 100644 --- a/privacy/anonymizing-your-mac-address.md +++ b/privacy/anonymizing-your-mac-address.md @@ -25,7 +25,7 @@ $ sudo NetworkManager -V 1.4.2 ~~~ -Add the settings in `/etc/NetworkManager/NetworkManager.conf`. The following example enables Wifi MAC address randomization both while scanning (not connected) and while connected. +Add the settings in `/etc/NetworkManager/NetworkManager.conf`. The following example enables Wifi MAC address randomization while scanning (not connected), and uses a randomly generated but persistent MAC address for each individual Wifi and Ethernet connection profile. ~~~ [device] @@ -33,6 +33,7 @@ wifi.scan-rand-mac-address=yes [connection] wifi.cloned-mac-address=stable +ethernet.cloned-mac-address=stable ~~~ To see the available configuration options, refer to the man page: `man nm-settings` From 3466bbe86aedf0ff9d9eab51fe0f51b840b8cbec Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Wed, 16 Nov 2016 18:23:30 +0000 Subject: [PATCH 3/3] Save in conf.d/ instead of modifying NetworkManager.conf --- privacy/anonymizing-your-mac-address.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/privacy/anonymizing-your-mac-address.md b/privacy/anonymizing-your-mac-address.md index 0b056cb3..5385583b 100644 --- a/privacy/anonymizing-your-mac-address.md +++ b/privacy/anonymizing-your-mac-address.md @@ -25,7 +25,7 @@ $ sudo NetworkManager -V 1.4.2 ~~~ -Add the settings in `/etc/NetworkManager/NetworkManager.conf`. The following example enables Wifi MAC address randomization while scanning (not connected), and uses a randomly generated but persistent MAC address for each individual Wifi and Ethernet connection profile. +Write the settings to a new file in the `/etc/NetworkManager/conf.d/` directory, such as `mac.conf`. The following example enables Wifi MAC address randomization while scanning (not connected), and uses a randomly generated but persistent MAC address for each individual Wifi and Ethernet connection profile. ~~~ [device]