Knowledge base dedicated to Linux and applied mathematics.
Home > Linux > Tip of the day > How to change the MAC address on Linux
All the versions of this article: <English> <français>
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