Thursday, June 16, 2011

How To Change The MAC Address In Linux?

First, type the following command to check the MAC:
ifconfig -a | grep HWaddr
(Note it somewhere so that you can reset it later)

Then type:
ifconfig eth0 down

ifconfig eth0 hw ether 00:70:5D:34:54:02
(Any MAC address you want to give)

ifconfig eth0 up

ifconfig -a | grep HWaddr
(To check your new MAc address)

No comments:

Post a Comment