Wednesday, July 21, 2010

Change buttons in menu bar in ubuntu

So new Ubuntu goes the Apple way trying to modify the button order on the top bar. In case you don't like this setting and you want it Windows® style then open a terminal and type gconf-editor
Then search for (apps/metacity/general/button_layout) and set to menu:minimize,maximize,close
Upon hitting enter changes should take immediate effect.

Sunday, July 4, 2010

Change your MAC address

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:
Open up your Add/Remove Software utility.
Search for “macchanger” (no quotes).
Select MACchanger-GTK for installation (this will pick up any requirements necessary).
Click Apply to install.

That’s it. You are ready to use MACchanger-GTK.

Usage


Figure 1

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 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.

Source