How do I change my Wifi MAC address using terminal emulator and root?

0

I have researched many different ways of changing my wifi MAC address through terminal emulator with root, but none of these have worked so far. The command that I have bben trying was: su (as a seperate command) ifconfig wlan0 hw ether XX:XX:XX:YY:YY:YY (where X and Y represents a digit or number 0-9 or a-f). There have been no errors, but when I then use the command: ip link show wlan0, it displays my old MAC address, how do I overcome this problem?

Hemans01

Posted 2019-11-05T05:42:41.103

Reputation: 1

>

  • Make sure the interface is down when you change the address, otherwise it normally won't work. 2) Just in case, also try the ip link set dev wlan0 address XX:... variant. 3) Look into dmesg for possible errors. 4) It's possible that you have hardware that doesn't allow to change the MAC address.
  • < – dirkt – 2019-11-05T09:43:26.630

    Thank you so much! I was finally able to change my MAC address! – Hemans01 – 2019-11-06T04:42:09.413

    You can also answer your own question, explain what was wrong, how you found out, and what you did to correct it. – dirkt – 2019-11-06T10:33:45.953

    No answers