How to Change MAC Address in Linux?
By on August 17th, 2009

Many times we do things over our network which gets us banned or suspended from the network. Common reasons might include massive torrent downloads, bypassing protections, erratic logins as multiple users etc. These situations are quite annoying.

Basically, in windows your identity on the network is your IP address, your computer name and your MAC address. For Linux it is just the IP address and the MAC address.

So all you need to do, is change your IP address, your MAC address and hop back in. The IP address can be changed from a GUI, but there is no GUI to change the MAC address. Here is an easy way to change your MAC address from the terminal in four easy steps.

  1. Key in sudo ifconfig eth0 Here eth0 is my ethernet network controller. This command displays the hardware information of your ethernet controller.
  2. Next, enter sudo ifconfig eth0 down,this command turns off your ethernet.
  3. Now, change your MAC address with sudo ifconfig eth0 hw ether AA:MA:CA:DD:RE:SS Here replace “AA:MA:CA:DD:RE:SS” with a valid mac address.
  4. Finally, turn back your ethernet on by entering sudo ifconfig eth0 up

That is all. You are back on the network.

Author: Chinmoy Kanjilal Google Profile for Chinmoy Kanjilal
Chinmoy Kanjilal is a FOSS enthusiast and evangelist. He is passionate about Android. Security exploits turn him on and he loves to tinker with computer networks. He rants occasionally at Techarraz.com. You can connect with him on Twitter @ckandroid.

Chinmoy Kanjilal has written and can be contacted at chinmoy@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN