Tuesday, June 16, 2015

How to Change MAC address of your Machine

How to change the MAC address in Windows machines

Changing MAC address in Windows machine is much easier with GUI interface. So lets start it.

Go to Network Properties.

Then click on Configure button




Then click on the Advanced tab and Click on Locally Administered Address


This will not same in every machine it will change from each network cards. So find this or similar to this one such as Network address or some thing else.

Now click on the value radio button and enter the value you want to get as mac address.

Click ok and now you have change the MAC address. Go to cmd and type ipconfig/all. Look at the mac address.

How to change MAC address in Linux

In Linux we are going to do this through the terminal. To do this we should install the macchanger.
To do that get terminal and type  

sudo apt-get install macchanger 

Notice : In Kali and Backtrack this is built-in tool. So no need to install them

Let's assume eth0 is the interface of our ethernet port (network card). So firstly you should down the interface. Type following in the terminal.

ifconfig eth0 down

Then you can change the MAC address.

macchanger -m [desired mac address]

Then Verbose statements will show of the "permanent MAC address" (real mac address of the network card) , "current MAC address" and the "new MAC address"

MAC address has been changed. And you should up the eth0 interface.

ifconfig eth0 up
 
 You can get it in to the real MAC address again by typing this,

macchanger -p eth0

No comments:

Post a Comment