Thursday, April 11, 2019

Changing your MAC address

The following takes place in Kali Linux Terminal:

To change your MAC address:

--ifconfig <device> down

# ifconfig wlan0 down

--ifconfig <device> hw ether <new mac adress>

# ifconfig wlan0 hw ether 00:1d:2d:3d:4d:5d

--ifconfig <device> up

# ifconfig wlan0 up


--In Kali, if your MAC address keeps resetting back to the original, you will need to edit the NetworkManager.conf file.


# leafpad /etc/NetworkManager/NetworkManager.conf

--In the file add the following lines:

[device]
wifi.scan-rand-mac-address=no

[connection]
ethernet.cloned-mac-address=preserve wifi.cloned-mac-address=preserve


--then, ctrl-s / save

-- restart network manager

# service network-manager restart

No comments:

Post a Comment