First of all, I’ll be using the latest Kali Linux version:

The steps to follow are very simple. First of all we should update our Kali Linux to the latest version:
sudo apt update
sudo apt upgrade
Then we will install bc and remove the following module, just in case that it already exists.
sudo apt install bc
sudo rmmod r8188eu.ko

Now, we will download the drivers from https://github.com/aircrack-ng/rtl8188eus and blacklist the r8188eu.ko module we removed before and once that is done we install the new drivers:
git clone https://github.com/aircrack-ng/rtl8188eus
cd rtl8188eus
sudo -i
echo "blacklist r8188eu.ko" > "/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 8188eu
As the last step we just have to enable the monitor mode:
sudo ifconfig wlan0 down
sudo airmon-ng check kill
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
sudo iwconfig
Very important note as this has happened to me in different Kali Linux versions. After restarting the machine, Kali does not let you to enable monitor mode. What is the procedure to follow then?
- Insert your TP-Link TL-WN722N adapter.
- Run the following commands once again:
sudo rmmod r8188eu.ko
sudo modprobe 8188eu
- Disconnect the adapter and plugin again.
- Connect it again and now you should be able to put it in monitor mode by repeating the same commands I mentioned before:
sudo ifconfig wlan0 down
sudo airmon-ng check kill
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
sudo iwconfig

0 Komentar