How to make the wlan0 NIC MAC address change stick after reboot?

I'm pretty sure the 'router' at a public hotspot knows your MAC address, and probably your laptop hostname (and maybe even your username?).

It's easy to change the hostname & MAC address, but is there a way to make the MAC address change survive a reboot?

My hostname change on Ubuntu 13.10 survives a reboot: $ sudo hostname newhostname $ sudo vi /etc/hostname $ sudo vi /etc/hosts $ hostname

But, the way I change the MAC doesn't seem to survive the reboot: $ sudo ifconfig wlan0 down $ sudo ifconfig wlan0 hw ether DE:AD:BE:EF:CA:FE $ sudo ifconfig wlan0 up $ ifconfig -a | grep HWaddr

Is there an easy way to make an Ubuntu MAC change stick after reboot?

read more and respond »

Posted 5 years ago by Silent Knight in Wireless Networking

Report misuse

Image for How to make the wlan0 NIC MAC address change stick after reboot?