[James Valleroy 2016-05-09]
> NM 1.2 is now in Debian testing and unstable.

So I guess it is time to get this working on the FreedomBox?

I had a look at how to get this feature enabled.  I found
<URL: 
https://blogs.gnome.org/lkundrak/2016/01/18/networkmanger-and-tracking-protection-in-wi-fi-networks/
 >
with some information about it.

The relevant setting seem to be mac-address-randomization, and I found
<URL: 
https://mail.gnome.org/archives/networkmanager-list/2016-May/msg00062.html >
giving clues how to set it up.  For example running

  nmcli connection modify $CONNECTION \
     802-11-wireless.mac-address-randomization always

would enable it.  One can also change the connection default value in
/etc/NetworkManager/NetworkManager.conf.  The allowed values according to
<URL: 
https://developer.gnome.org/NetworkManager/unstable/nm-settings-ifcfg-rh.html >
is 'default', 'never' and 'always'.  'default' will pick the value from the 
conf file.
'never' is the normal default.  I am a bit unsure what 'always' really mean.

When do we want to use the random mac address, and when do we want to use the
original one?  Can we ask for a random one that is stable for a given wifi 
network,
making it harder to track a freedombox on the move while still getting it to
work on networks with MAC based access control?

For this to work, I believe wpa-supplicant 2.4 or newer is needed.  I guess we
should enforce it using a dependency somewhere.

There is also the
<URL: https://help.ubuntu.com/community/AnonymizingNetworkMACAddresses > option
using if-pre-up.d hooks and macchanger.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to