How To Change MAC Address On Kali Linux

By Admin
Advertisement
Welcome dear friend ,i hope you are doing well,now today i'll teach you how you can change the mac address of kali linux os very easily without facing any problem.So I'm assuming that you will be know about mac address so without wasting your time i came to the point ,follow below given Step By Step Guide To  Change MAC Address On Kali Linux


Step:1.)  first  of  all  open  linux  terminal and  type  bellow given comand and you'll see your mac address.in my case my  original  MAC  address  is 08:00:27:b2:4d:4b
  
ifconfig | grep HWaddr


 How To Change MAC Address On Kali Linux

Step:2) Now you need to turn off the network interface first by executing the bellow given command.

    ifconfig eth0 down

Step:3) after  that  you  need to canconfigure  the  new  mac  address  by entering bellow given command

    ifconfig eth0 hw ether 00:00:00:00:00:02


Note:  you can change the MAC address using this hexadecimal format XX:XX:XX:XX:XX:XX

Step:4) Now again you need to turn on the network interface by executing below given command.

    ifconfig eth0 up

Step:5) now  This is the last  step of this tutorial to make sure that your mac address changed or not.




IMPORTENT : This  is  make  sure  your  changing  MAC  address does not change for permanently,so if you can restart your pc,all the changes made by you will reset to original one.If you want to change mac address permanently then follow below given some more steps.

Step:6) In Debian,The location of all the network interface was /etc/network/interfaces.

Step:7)  In this tutorial I am going to use pico text editor.So please go to below given location and open interfaces file.

    pico /etc/network/interfaces

Step:8) Now you'll need to add one line of script in the file for changing your MAC address permanently

    pre-up ifconfig eth0 hw ether 00:00:00:00:00:02






Step:9) If you want to restore original MAC address, you just need to add the # sign in front of script in Step 8.

    #pre-up ifconfig eth0 hw ether 00:00:00:00:00:02


That's it dear ,this is the overall tutorial on changing mac address of your kali linux system.Please share it with your friends.