7

Is there any way to change MAC address via Terminal ?And of course any command for this job ?

0
13

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
2

Not the answer you're looking for? Browse other questions tagged or ask your own question.