mfruba / kernel

152 stars 103 forks source link

Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted. #28

Open cathome1 opened 6 years ago

cathome1 commented 6 years ago

when i write ifconfig wlan0 down && iwconfig wlan0 mode monitor && ifconfig wlan0 up then written Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted. But if i write ifconfig wlan0 down && iwconfig wlan0 mode auto && ifconfig wlan0 up then then everything is fine and addapter enters the auto mode

malookshah4 commented 1 year ago

I got this error Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Device or resource busy.

try below command

ifconfig wlan0 up ifconfig wlan0 down iwconfig wlan0 mode monitor

AryanJain2312 commented 10 months ago

when i write ifconfig wlan0 down && iwconfig wlan0 mode monitor && ifconfig wlan0 up then written Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted. But if i write ifconfig wlan0 down && iwconfig wlan0 mode auto && ifconfig wlan0 up then then everything is fine and addapter enters the auto mode

See i faced the same problem but it is resolved automatic by hit and trial what i do is first airmon-ng wlan0 start then , ifconfig wlan0 down then, iwconfig wlan0 mode monitor and its done yippieee

Atef98 commented 9 months ago

[ https://github.com/aircrack-ng/rtl8188eus] Solved my problem on Ubuntu 20.04 / 5.15.0-91-generic for TP-Link TL-WN722N v2. managed and monitor mode work seamlessly.

0xZxyab1 commented 8 months ago

Nethunter Users Be Like :v

Otojon commented 8 months ago

try to down the adapter first sudo ifconfig wlan1 down sudo iwconfig wlan1 mode monitor

HienLeWw commented 6 months ago

Try Kali Linux 2024.1! Everything works well for me (TP-Link TL-WN722N v2/3)

Or you can try this command on Kali Linux 2023.1 sudo apt install -y realtek-rtl8188eus-dkms Cre: https://www.youtube.com/watch?v=-xkpgvjuEy0&t=279s

rajhlinux commented 2 months ago

Had this same issue for my Alfa ASWUS036ACH WiFi Card

I installed a fresh Ubuntu 24.04 and I needed WiFi drivers to work on it.

I originally installed this way which DID NOT WORK and WiFi card was unable to scan anything, having same issues like OP + everyone mentioned in the thread: git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git cd rtl8812au sudo make dkms_install reboot

I deleted the drivers: sudo make dkms_remove

Here is what worked for me:

First Make sure the WiFi card is unplugged

Then I downloaded the master branch at: https://github.com/gnab/rtl8812au

Extract it and cd into the folder, then installed the following way:

DKMS is in official sources of Ubuntu, for installation do: sudo apt-get install build-essential dkms

Install the driver to DKMS with: sudo make dkms_install

Automatically load at boot: echo 8812au | sudo tee -a /etc/modules

Did a reboot (make sure the WiFi card is unplugged).

Now login into Ubuntu, connect the WiFi card to the PC.

Then enter: sudo modprobe -v 8812au sudo modprobe 8812au

Viola... that did the trick and WiFi card is now able to scan network without throwing errors: sudo iwlist wlanx00c0caa scan

Hope this helps anyone else.

bigbadcyborg commented 2 months ago

Try this. it worked for me. sudo rm /dev/rfkill sudo reboot sudo airmon-ng wlan0 kill sudo ifconfig wlan0 down sudo iwconfig wlan0 mode monitor sudo ifconfig wlan0 up