Unfortunately, this isn't compatible with a bunch of popular wireless cards, mostly from Realtek.
Damn, I didn't know about these. Do you know what it is that makes them incompatible? And is there a list of cards you can avoid?
Randomize your WiFi MAC address on Ubuntu
101–108 of 108 posts
Re: Randomize your WiFi MAC address on Ubuntu
#102It’s worth noting that iOS has randomized MAC addresses in WiFi probes since iOS 8.[1] As far as I know your real MAC address is exposed upon connection. I’m curious to what extent other vendors have implemented this strategy. [1] https://arstechnica.com/gadgets/2014/06/ios8-to-stymie-track...
Unfortunately the iOS support is a sham. I tested myself, and the rumors that iOS does not randomize MACs turns out to be true. Not only does it not simply change over time, it doesn't even change when you restart the device. I walked around for a week, and my MAC never changed. Apparently, if it ever works at all, you have to run settings that nobody uses - including, iirc, not being connected to a cell tower. I use…
If you want random MACs everytime I recommend Linux + a fairly recent NetworkManager.
Re: Randomize your WiFi MAC address on Ubuntu
#103Unfortunately, this isn't compatible with a bunch of popular wireless cards, mostly from Realtek.
Realtek and Ubuntu - I have spent four years trying to get my wifi to work. Being tracked would be a bonus, the built in wifi on my Lenovo laptop is deaf to the world and will never get as far as MAC spoofing.
You're welcome to contribute to https://bugs.debian.org/849077 and https://bugs.debian.org/849875.
Re: Randomize your WiFi MAC address on Ubuntu
#104Earlier quoted context omitted.
Unfortunately the iOS support is a sham. I tested myself, and the rumors that iOS does not randomize MACs turns out to be true. Not only does it not simply change over time, it doesn't even change when you restart the device. I walked around for a week, and my MAC never changed. Apparently, if it ever works at all, you have to run settings that nobody uses - including, iirc, not being connected to a cell tower. I use…
It only uses the random MAC for Wifi probes, no router I know of records these but they can be sniffed. Any real connection uses proper MAC. If you want random MACs everytime I recommend Linux + a fairly recent NetworkManager.
The best solution would be to make up a random but persistent MAC per connection, but that seems to be too difficult for some reason.
Re: Randomize your WiFi MAC address on Ubuntu
#105I've found GNU macchanger to be the easiest way to do that kind of stuff. It's as simple as: macchanger -r Interesting article about macchanger on the Arch Wiki: https://wiki.archlinux.org/index.php/MAC_address_spoofing
I also used macchanger in the past but it seems that recent versions of NetworkManager overwrite the changes that macchanger makes.
Re: Randomize your WiFi MAC address on Ubuntu
#106Earlier quoted context omitted.
All of the universities I attended used MAC address whitelisting.
> I only know about mac whitelisting in protected networks managed by wary administrators. Wouldn't make any sense for properly securing a network. As an attacker you could just create an evil twin (same ESSID), let some students connect to it and just use their mac addresses (and even drop their connections when they try to use the university wifi). Edit: You don't even necessarily need an evil twin to get their mac…
Re: Randomize your WiFi MAC address on Ubuntu
#107Earlier quoted context omitted.
new_mac=$(openssl rand -hex 4 | sed 's/\(..\)/\1:/g; s/:$//; s/./0/2'; s/^/02:/) is better. by using the 02: prefix for locally administered macs you avoid clashes with certain cards. I also used to randomize my local hostname.
Most of the time there are > I also used to randomize my local hostname Great idea, missed that. I'll integrate that in the future.
Re: Randomize your WiFi MAC address on Ubuntu
#108Earlier quoted context omitted.
> and the prosecutor mentions what you said. And then what? You're under further suspicion? If you're innocent, that shouldn't be your concern. But all you gotta do is STFU. Don't talk to the police either way. What you said shouldn't be enough proof except in a banana republic. If you were always spoofing your MAC address however, then you can use that as your defense. Your argument is akin to it being suspicious th…
> What you said shouldn't be enough proof except in a banana republic. What effect does being a banana republic have on this?