TL-WN722N-V2: Monitor mode not working with TP-LINK TL-WN722N (version 2) on 4.13.0-kali

$ uname -a
Linux Hostname 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 GNU/Linux

Problem:

$ ifconfig wlan1 down
$ iwconfig wlan1 mode Monitor
$ ifconfig wlan1 up
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan1 ; Invalid argument.

Monitor mode doesn’t work. It is not possible to spoof MAC either.

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 36 (13 by maintainers)

Most upvoted comments

I currently use the TL-WN722N(V2.1) under Arch Linux x86_64 as well as ARM 32-bit. Monitor mode works for this chip under the current version of Kali 4.13 as well.

#Load modules as root
rmmod r8188eu
rmmod 8188eu
modprobe lib80211
modprobe cfg80211
insmod ./8188eu.ko
#Set monitor mode as root
ifconfig wlan0 down
iwconfig wlan0 mode Monitor

I believe that module loading may not be correctly implemented in the Makefile installers supplied by Ralink.

@Dogcatfee - I tried your solution but I got this error:

$ sudo iwconfig wlp0s20f0u1u1 mode Monitor                                                                                                                                                                                                               
    Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlp0s20f0u1u1 ; Operation not permitted.

Instead of failing due to an invalid argument error its now explicitly telling me that I’m not allowed to set that mode.

Even i used to get the same error…but now i finally figured it out as to how to finally change to monitor mode!!!

just follow these steps…

STEP1: open terminal in root and … git clone https://github.com/aircrack-ng/rtl8188eus.git

STEP2: echo “blacklist r8188eu” > /etc/modprobe.d/realtek.conf (you should be root all the time)

STEP3: make && make install

STEP4: reboot

STEP5: airmon-ng check kill ifconfig wlan0 down iw dev wlan0 set type monitor ifconfig wlan0 up

VOILA!!! NOW WE ARE IN MONITOR MODE

I tried this in kali 2021 virtualbox

In step 3, I got error saying: make [1]: /lib/modules/5.10.0-kali7-amd64/build No such file or directory. Stop

It was due to to the missing linux headers… So I tried installing this using: sudo apt-get install linux-headers-$(uname -r)

But it said package not found… So I finally found solution to this by updating linux

sudo apt-get update && apt-get dist-upgrade

Then reboot… And It worked 😃

@Dogcatfee i tired your soluction and this is the output i receive! ive seen it before and cant seem to insmod this without this exact same error every time! insmod: ERROR: could not insert module 8188eu.ko: Unknown symbol in module

Hello sir, does it support monitor mode in Kali Linux 4.14

@Dogcatfee - your solution worked for me on my TL-WN722N v2.1