Everytime I spoof my mac-adress on Ubuntu using different approaches including macchanger it auto resets as soon as I actually try to reconnect to the network. This is what my problem looks like:TERMINAL ENTRY before reconnectionroot@M-Linux:~# macchanger -s wlp2s0Current MAC:   XY (changed, obviously) (Hon Hai Precision Ind. Co.,Ltd.)Permanent MAC: XY (Hon Hai Precision Ind. Co.,Ltd.)root@M-Linux:~# ifconfig wlp2s0 downroot@M-Linux:~# macchanger -rb wlp2s0Current MAC:   XY (Hon Hai Precision Ind. Co.,Ltd.)Permanent MAC: XY (Hon Hai Precision Ind. Co.,Ltd.)New MAC:       AB (unknown)root@M-Linux:~# ifconfig wlp2s0 uproot@M-Linux:~# macchanger -s wlp2s0Current MAC:   AB (unknown)Permanent MAC: XY (Hon Hai Precision Ind. Co.,Ltd.)Then I reconnect to the WIFI and then this happensroot@M-Linux:~# macchanger -s wlp2s0Current MAC:   XY (Hon Hai Precision Ind. Co.,Ltd.)Permanent MAC: XY (Hon Hai Precision Ind. Co.,Ltd.)So the mac is back to normal.I tried this on kubuntu 16.04.3 and another debian-based distro.I tried it on my home and a public network. I tried it on two different machines: HP and Acer Notebooks. Exact same results every time and NO information about the issue on the web. What should I do?
How to avoid mac-adress spoofing auto reset on connecting
linux;osx