Changing The MAC Address ( physical address ) in linux

This works with the 'ifconfig' utility that Ubuntu is shipped. If you are using any other distro that does not have it installed, make sure you download it with the corresponding package manager. The following line sets the mac-address to "111122223344"
sudo ifdown eht0
sudo ifconfig eth0 hw ether 111122223344
sudo ifup eth0

My ethernet adapter was numbered eth0. Check your ether adapter no by simply writing 'ifconfig' and see the default number assigned to it. You should note however that this change is durable until the next restart. Each time you log into Ubuntu ( linux ), you must open the terminal and enter the lines above.



Posted bysamir at 1:30 AM  

0 comments:

Post a Comment