Hi,
I have installed Ubuntu Touch on a FairPhone 5.
I would like to configure MAC randomization on the WIFI connection.
I have not been able to find this as a setting in the config app.
The normal way of doing this with the NetworkManager is by setting these kinds of properties in the config files
wifi.scan-rand-mac-address=yes
wifi.cloned-mac-address=random
What I found on my phone is that apparently the /etc/NetworkManager.conf and /etc/NetworkManager/conf.d are all on a readonly file system.
The /etc/NetworkManager/system-connections is explicitly mounted on a special directory which is writable.
So far I have only come up with these steps, but they seem to me like too much of a hack.
- Adding an extra
conf.ddirectory in a writable location (next to the place where the/etc/NetworkManager/system-connectionsis mounted) - Copy all files that are already in there to the new location
- Add an extra mount line in the
/etc/fstab - Mount it
- Add a new config with the above mentioned lines.
My question is simple: What is the proper way to enable MAC randomization on Ubuntu Touch? Or is the above mentioned way the best available solution?