Open a root terminal :
apt-get install macchanger macchanger-gtk
Then we have to add some lines of code in macchanger-gtk
We are going to use Geany. If you don’t have it type:
apt-get install geany
When Geany is installed (still in a root terminal):
geany /usr/sbin/macchanger-gtk
When you are in Geany, search for:
“my $interfaz = &captura_de_informacion;”
When you have this line, add the following lines after it :
my $commande = “ifconfig $interfaz down”;
my $resultat = system($commande);
Then search for:
“$ventana_informacion->show_all;”
So you’ve found this line, and the line just under, you will find the “}” character
Under this character, add the following lines :
my $commande = “ifconfig $interfaz up”;
my $resultat = system($commande);
Then save it
In your root terminal type :
geany /usr/share/menu/macchanger-gtk
and in the new document, copypasta it :
?package(macchanger-gtk):needs=”X11” section=”Applications/System/Security”\
title=”MACchanger-gtk” command=”/usr/sbin/macchanger-gtk”
Then save it.
Now you will find MacChanger in Applications > System > Security
Use it !
IF YOU DID SOMETHING WRONG IN MACCHANGER-GTK CODE, IT IS HERE : http://pastebin.com/Qqge22uE
(Source)