Wednesday, December 1, 2010

How to Change MAC Address on Linux using NetworkManager

In previous post I showed how to change MAC address on Linux using ifconfig command and system-config-network tool. Today I will show you how to change MAC address using Network Manager. The method is comparatively easier.

  • Follow the steps given below to change MAC address.

  • Right click on the Network Manager applet and click "Edit Connections"

  • Select eth0 and click edit button
  • On Cloned MAC Address type the MAC address that you want to change to as shown in image below:


[Click Image to Enlarge]

  • Click apply.

You are done. It was damn easy. Right!? ping to check back your internet connection.

$ $ ping www.google.com
PING www.l.google.com (74.125.43.105) 56(84) bytes of data.
64 bytes from bw-in-f105.1e100.net (74.125.43.105): icmp_seq=1 ttl=53 time=220 ms
64 bytes from bw-in-f105.1e100.net (74.125.43.105): icmp_seq=2 ttl=53 time=220 ms
64 bytes from bw-in-f105.1e100.net (74.125.43.105): icmp_seq=3 ttl=53 time=219 ms
64 bytes from bw-in-f105.1e100.net (74.125.43.105): icmp_seq=4 ttl=53 time=220 ms
64 bytes from bw-in-f105.1e100.net (74.125.43.105): icmp_seq=5 ttl=53 time=220 ms
^C
--- www.l.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4298ms
rtt min/avg/max/mdev = 219.408/220.194/220.799/0.709 ms
$

If you don't find "Cloned MAC address" in Network Manager update your Network Manager and then try again.
$ $ yum update NetworkManager

0 comments:

Post a Comment