I need to change my MAC permanently for wlan0
interface. Macchanger is a pretty good variant but after rebooting wifi card old MAC comes back. So, I don't like to use it.
I found one good solution for changing MAC permanently (but for eth0
). Here it is: we open the file /etc/network/interfaces
and add two lines:
iface eth0 inet dhcp
hwaddress ether NEW_MAC
I've tried to do like this for wlan0
interface but it doesn't work that way.
What I'm doing wrong?