Wednesday, December 29, 2010

Change your MAC address in Linux with MACchanger-GTK

Mac-changer GTK   is afree tool for linux to change MAC adress.       
 For user s who dont' know mac address here is intro:
The MAC address is a very important string of characters that your computer depends upon in order to be networked. MAC stands for Media Access Control and represents the true address of a machine on a LAN. The MAC address of an ethernet device is a 6-byte number that is expressed as a 12 digit hexadecimal number such as:
00:30:1b:81:d3:f7


Most people only think in terms of IP addresses assigned to a computer. With the help of the Arp command, IP addresses are translated to MAC addresses which, in turn, allow the machine to speak to the network. Your  MAC address is set by the manufacturer. In this article I am going to show you a very handy GTK tool that allows you to change that MAC address.

Why change?
There are reasons why you would want to change a MAC address on a machine.  Some of the reasons are:
  • Get past a MAC filtering device.
  • Sniffing connections on a network.
  • Obfuscate the manufacturer-created MAC address.
Many reasons people change MAC addresses are less-than-friendly. I am, in no way, advocating such acts. I only show this tool for those reasons that are, as we say, “above board”. For example. I have, only rarely, seen an instance where somehow the MAC address of a built-in network card was the same as the MAC address of a router. Because of this that machine was unable to get online. There were two ways around this: Purchase a new NIC or change the MAC address of the built-in NIC. For the latter reason, I took advantage of MACchanger-GTK.
Installation
Installation is simple:
  1. Open up your Add/Remove Software utility.
  2. Search for “macchanger” (no quotes).
  3. Select MACchanger-GTK for installation (this will pick up any requirements necessary).
  4. Click Apply to install.
That’s it. You are ready to use MACchanger-GTK.
Usage


Using this tool is simple. But you will not find a menu entry for MACchanger-GTK. Instead you have to start it from either the command line (with the command macchanger-gtk) or by hitting <Alt>F2 and then entering macchanger-gtk. Once open you will see a very simple interface (see Figure 1) ready to change your MAC address. To do this follow these steps:
1. Select your Network Interface from the drop down.
2. Click See current MAC (this will display your address in a new window).
3. Click the Known vendor button. If your NIC is detected with enough information you can then change the address to another address of the same manufacturer. If not, your best bet is to go with Random.
4. From the Options drop down select one of the methods for changing your address.
5. Click Change MAC.
That will change the MAC address of your network interface card. Once changed you can then click the Quit button to dismiss the MACchanger-Gtk window.
Final thoughts
I can’t stress enough that this tool should only be used for legitimate, legal reasons. Do not attempt to use MACchanger-GTK for any purpose that would land you in trouble. And, should you do so, Ghacks or the author is not, in any way, responsible for your actions.
On those occasions that you do need to change a MAC address (for the right reasons) it’s good to know you have a simple GUI tool in Linux to do the job.



No comments:

Post a Comment