Neither of the two methods work and give me an error about having too many files open.
Method 1:
root@kali:~# service network-manager stoproot@kali:~# macchanger -r wlan0[ERROR] Could not change MAC: interface up or insufficient permissions: Too many open files in systemroot@kali:~# service network-manager restart
As you can see, macchanger does not work.
Method 2:
root@kali:~# ifconfig wlan0 downroot@kali:~# ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xxSIOCSIFHWADDR: Too many open files in systemroot@kali:~# ifconfig wlan0 up