astsam / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
355 stars 952 forks source link

macchanger -r wlan0 error #94

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm using alfa network awus036ach and is working well but i want to change my mac address and when i give this command it gives me an error.

sudo macchanger -r wlan1

Current MAC: xx:xx:xx:xx:xx:xx (ALFA, INC.) Permanent MAC: xx:xx:xx:xx:xx:xx (ALFA, INC.) [ERROR] Could not change MAC: interface up or insufficient permissions: Operation not permitted

jeffro87 commented 6 years ago

a little late, try this ifconfig wlan1 down macchanger -r wlan1 ifconfig wlan1 up

qkum commented 5 years ago

Possible fixes: 1#It pops up if the interface (wlan0) is already in use in another window. - stop the other program/process using the wireless interface. 2# try with "sudo" in front - as I now see you tried. 3# do as the comment above said, take down the interface and change the mac address manually: ifconfig wlan1 down macchanger --random --bia wlan1 ifconfig wlan1 up

Explanation: --random = random maccaddress,
--bia = pretends to be a real burned in mac address.