I suppose that not everyone knows how to change MAC address on Linux system, so this howto may come handy.
First you need to gain root access either by login as root or by using
sudo before command.
Following steps will change the MAC address:
# ifconfig eth0 down -> interface shutdown
# ifconfig eth0 hw ether 00:80:50:BA:C1:30 -> change the MAC address to 00:80:50:BA:C1:30
# ifconfig eth0 up -> interface startup
# ifconfig eth0 | grep HWaddr -> final check if the MAC has changed
Note: eth0 is the LAN network card interface (it may differ on your system). You can list all active interfaces by typing
ifconfig without parameters.
No comments:
Post a Comment