Three ways to change the MAC address

May be you want to change the MAC address of your NIC adapter to test your home network. Here you can find three ways to do this for the eth0 (wifi, ethernet, ….) device:

1. Debian and derived distribution you need to modify the /etc/network/interfaces,

search for the eth0 definitions and at the end of the definitions add the following line:

hwaddress ether 00:11:22:33:44:55 where 00:11:22:33:44:55 is the new mac address you want to use,

then restart the networking services typing the following line: /etc/init.d/networking restart

this is the best way to change the mac address because you have definitively a new mac address:

2. ifconfig

ifconfig eth0 hw 00:11:22:33:44:55

3. macchanger usage

macchanger –mac=11:22:33:44:55:66 eth0

to use this command you need to download and install macchanger

Posted by at November 12, 2008
Filed in category: UNIX TLC, and tagged with: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">

Statistical data collected by Statpress SEOlution (blogcraft).