Saturday, October 17, 2009

change the MAC address

for some reason, you might want to change the MAC address.. its ok, i wont judge u, chill~!

so lets do it in the ubuntu way

1) open the /etc/network/interface
sudo nano /etc/network/interface
2) add this line

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
hwaddress ether 01:02:03:04:05:06 #ur new MAC address
ok here's the important part
first get to know ur current MAC number.
type ifconfig and look for HWaddr in the eth0 field.
3) restart.
sudo /etc/init.d/networking restart
notice that ur IP address will be assigned to a new one
and here is the fedora way

thank you for reading ~!

No comments:

Post a Comment