Is there any way to change MAC address via Terminal ?And of course any command for this job ?
1 Answer
Easiest way to change mac address on nic is:
sudo ifconfig eth0 down
sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
sudo ifconfig eth0 up
Where xx:xx:xx:xx:xx:xx represent mac address
For wlan
sudo ifconfig wlan0 down
sudo ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx
sudo ifconfig wlan0 up
-
--- can you have a look at this persons issue and see if you help the guy --- askubuntu.com/questions/439429/… --- thanks– TasosMar 26, 2014 at 13:03
-
Ubuntu no longer has ifconfig installed by default. Not sure why this question doesn't allow updates. See askubuntu.com/questions/81648/…– ekeyserJul 13, 2020 at 19:50