Change MAC address in linux / ubuntu
January 6, 2011 Leave a comment
Linux temporarily change your mac address.
Should be universal for all distros of linux.
find the name of the interface you want to change, usually it is eth0, but just in case type in
The network adaptor on my computer is called eth0.
The mac address is next to HWaddr. In this case my mac address is 66:55:44:33:22:11.
First step to change it is turn off the network adaptor like this (assuming your device is eth0. If it isn’t change it to what your computer showed in the last step) You may need to provide your password.
Enter the following command replacing eth0 with your network card name, and replace 00:11:22:33:44:55 with the mac address you choose. Remember a mac address is 12 digits consisting of 0 through 9 and A through F.
Assuming no errors showed up, the next step is to turn the network adaptor back on. The process is almost identical to turning it off.
Type in ifconfig to see if your changes stuck.
Note this will only save your changes until you reboot. In the future I will show two other methods to make the changes more persistent.
resources : http://ubuntuforums.org/showthread.php?t=94891