math-linux.com
Home page > Linux > Tip of the day > How to change the MAC address on Linux

How to change the MAC address on Linux

Sunday 15 November 2009, by Nadir SOUALEM

All the versions of this article: [English] [français]

Keywords:

, , .

If you are wondering how to change the MAC address of your ethernet adaptor(eth0) or your wifi device (wlan) under Linux, its here !!!

I suppose you want to get the mac address 00:11:22:33:44:55 Connect through console using superuser root:

ifconfig eth0 down
ifconfig eth0 hw ether 00:11:22:33:44:55
ifconfig eth0 up
ifconfig eth0 |grep HWaddr

Reply to this article

SPIP | template | | Site Map | Follow-up of the site's activity RSS 2.0