Tuesday, September 6, 2011

Spoof mac address on ubuntu 10.04(Ubuntu修改MAC地址)

Open a terminal (ctrl+alt+t) and type in the following commands:
$ sudo ifconfig wlan0 down hw ether XX:XX:XX:XX:XX:XX
$ sudo ifconfig wlan0 up
Then type in the following command to verify the change:
$ ifconfig
Note1:Replace XX:XX:XX:XX:XX:XX with the Mac Address you want. And in this case "wlan0" is my wireless adapter name and it should be replaced with your own adapter name, e.g., eth0 for Ethernet connection. To get the list of adapter names, use ifconfig command.
Note2:This only spoof the mac address temporarily, but you can make it to be shell script running every time system reboot.

1 comment:

  1. Great Post !
    I have used these steps to change MAC Address of ubuntu OS 10.04 . I recommend to all the unbuntu users . Thanks for sharing

    Silvester Norman

    Change Mac Address