Search My Techie Guy

Saturday, December 1, 2012

How to change your NIC MAC address - Ubuntu 10.10?

If you find yourself in a situation where you need to manipulate your NIC's MAC address (for example if your MAC address has been flagged at the switch! or if you want to hide your PC's physical identity!), Just follow these simple steps:
My Techie Guy

1. #sudo su (yes, you have to be root to change system settings, i hope you have the root password!)
2. #ifconfig -a (Note the interface you wish to manipulate, e.g. "eth0")
3. #ifconfig eth0 down (first bring the interface down)
4. ifconfig eth0 hw ether 00:BA:12:00:FE:00 (give it a new MAC address)
5. ifconfig eth0 up (Bring the interface back up)
6. ifconfig -a (check to make sure that your changes have been accepted)
7. Please note that these changes are temporary and they don't persist after a reboot!
8. Have fun hiding your ID :-)

No comments: