Monday, December 28, 2009

How to change your network MAC address on Ubuntu

"sudo ifconfig eth0 down" #bring down the network card

"sudo ifconfig eth0 inet hw ether xx:xx:xx:xx:xx:xx up" #change the MAC and bring it back up


where "eth0" is the network adapter you wish to change its MAC and "xx:xx:xx:xx:xx:xx" is the 6 groups of numbers each composed of two hexadecimal numbers.


For more info on MAC addresses, check this link and for the source, I got it from here, thanks to suki :)

No comments: