How to Enable Monitor Mode on TP-LINK TL-WN722N V2/V3

In this tutorial we’ll enable monitor mode on a TP-LINK TL-WN722N V2/V3 wireless adapter, on a Kali Linux machine running on VMware or VirtualBox.

Some sources may be confusing, and lead you to believe that you can only enable monitor mode on TP-LINK TL-WN722N v1 because it has one of the required chipsets for monitor mode, Atheros AR9271, and that you can’t enable it on V2/V3. You can, however.

To start off, if you’re using a virtual machine, first you’ll have to connect your wireless adapter to your Kali Linux virtual machine.

Set up the Adapter

Next, we’ll run some commands to set up the adapter.

First update and upgrade your package index.

sudo apt update && sudo apt upgrade

Reboot your machine.

sudo reboot

Install Linux headers for your Kali Linux.

sudo apt install linux-headers-$(uname -r)

Run the following commands to install the bc package and remote the r8188eu.ko module.

sudo apt install bc
sudo rmmod r8188eu.ko

Clone the Realtek driver from the aircrack-ng Github repository.

git clone

Run the following commands.

cd rtl8188eus
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"

After the reboot run the following commands (we have to cd back into the rtl8188eus directory that we cloned earlier):

cd rtl8188eus
sudo make install
sudo modprobe 8188eu

Enable Monitor Mode

To enable monitor mode, run the following commands:

sudo ifconfig wlan0 down
sudo airmon-ng check kill
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
sudo iwconfig

Here’s the output you should be seeing. You can see that the adapter is set to Mode: Monitor.

Troubleshooting When Enabling Monitor Mode

In some cases it doesn’t work right away. For example you may get the error Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted.

The solution that has worked for me every time is the following (credit to this Github user’s comment).

Run the following commands in this order:

sudo ifconfig wlan0 up
sudo rmmod r8188eu.ko
sudo modprobe 8188eu
sudo iwconfig wlan0 mode auto
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up

Now when you check iwconfig you should see the adapter is in monitor mode.


In this tutorial we set up a TP-LINK TL-WN722N V2/V3 adapter to run in monitor mode. If you have any issues or questions then please don’t hesitate to leave a comment. Hope this helped. Thank you.

Default image
N00b Ed
Articles: 7
3.2 5 votes
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
3 months ago

I have a problem with Tl-wn722n on kali VM. The make comment doesn’t work; an error shows up at the end: make: *** [makefile: 1368 modules] error 2. how should I solve it?

3 months ago

On the last Kali version, when i execute “Make” i have errors.

3 months ago
Reply to  MAth

try in ubuntu lts 20.4 its perfectly works

1 month ago
Reply to  MAth

Probably its caused because the “make” command runs a scripts that looks into the build folder on the linux kernel headers.

This error occurred to me on Kali 2022.3. The way that I managed to workaround was installing the linux headers from the Kali repositories on this link:

You can know which one you should install by using the “uname -a” command and looking which distro you have. The file which you need to install begins with a “linux-headers” prefix and a extension “.deb”.

After downloading it, you could run the command “dpkg -i .deb”. You could run into some dependencies problems, and for those you need to search on the internet to see which packages you need to install.

After you manage to run the above command without errors, you should be fine to run the “make” command again.

12 days ago

Thanks heaps for this!

This works on kali-virtualbox, one of the comments didnt work though $ sudo rmmod r8188eu.ko but carried on with the next comment ($git clone and it’s all working using TL-WN722N V2.

1 day ago

Thank you very much. Your guide is very detailed. It also works with TL-WN722N V4.

There is only one note that when I run Wireshark from Kali menu the wlan changes to Managed mode. Running wireshark from terminal “sudo wireshark” is the correct way to capture packets.