Randomize your WiFi MAC address on Ubuntu
paulfurley.com
Randomize your WiFi MAC address on Ubuntu
1–10 of 108 posts
Re: Randomize your WiFi MAC address on Ubuntu
#2Re: Randomize your WiFi MAC address on Ubuntu
#3This seems like it should be a default indeed. It does make it harder to assign fixed addresses to your devices in your home network. At least openwrt only seems to have static DHCP leases based on MAC and not on the advertised DHCP name. For most devices this doesn't matter as it does add a DNS entry with whatever IP it assigned. But when you then want to add a firewall rule to port forward something to a device a f…
Re: Randomize your WiFi MAC address on Ubuntu
#4This seems like it should be a default indeed. It does make it harder to assign fixed addresses to your devices in your home network. At least openwrt only seems to have static DHCP leases based on MAC and not on the advertised DHCP name. For most devices this doesn't matter as it does add a DNS entry with whatever IP it assigned. But when you then want to add a firewall rule to port forward something to a device a f…
True - I could update the script to allow for whitelisting certain networks so they receive a stable-forever MAC address..?
Re: Randomize your WiFi MAC address on Ubuntu
#5Earlier quoted context omitted.
True - I could update the script to allow for whitelisting certain networks so they receive a stable-forever MAC address..?
That would probably make a lot of sense. Can the network manager setting also be changed per network? It would be nice to do this with the normal config in the future.
Re: Randomize your WiFi MAC address on Ubuntu
#6 # ifconfig iwn0 lladdr random
Of course, iwn0 is your interface.Re: Randomize your WiFi MAC address on Ubuntu
#7Re: Randomize your WiFi MAC address on Ubuntu
#8I've used https://github.com/feross/SpoofMAC in the past, which is a simple python tool for doing just this, cross-platform. Used it a lot in airports and can warmly recommend using it if you're usually dealing with multiple different OSes and don't want to remember how to do it for each.
side note/question: do I need to actively connect to a WIFI network for them to know my MAC or does it leak even when my phone scans for neighbouring SSIDs? EDIT: looks like MAC would leak even if I don't connect to any access point, but my Wifi is on... At least according to [0]
EDIT 2: looks like iPhone and Android use MAC randomization when scanning WIFI. (not sure after they connect though). But even this randomization can be defeated[1]?
[0] https://www.crc.id.au/tracking-people-via-wifi-even-when-not... [1] https://www.theregister.co.uk/2017/03/10/mac_address_randomi...
Re: Randomize your WiFi MAC address on Ubuntu
#9Re: Randomize your WiFi MAC address on Ubuntu
#10Are there any lawyers here that can speak about the legal side of this? I could imagine a wifi provider that offers 30 minutes free wifi e.g. airports, has this covered in their terms and conditions or a country that could consider this as fraudulent?