Hello,
I simply cannot enable monitor mode.
Let me give a brief background on what is going on:
- VMware virtual machine (USB 2.0)
- KDE Plasma # Nice look
HTML Code:
toor@kali:~$ uname -r
5.6.0-kali2-amd64
With the adapter connected:
HTML Code:
toor@kali:~$ lsusb
Bus 002 Device 002: ID 2357:010c TP-Link TL-WN722N v2
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
HTML Code:
toor@kali:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 unassociated ESSID:"" Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Secondly, cloned the TL-WN722N drives from https://github.com/aircrack-ng/rtl8188eus.
Then, I crossed my fingers as I tried those two methods to enable monitor mode:
1#
HTML Code:
sudo -i
echo "blacklist r8188eu.ko" > "/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 8188eu
sudo airmon-ng check kill
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
HTML Code:
# ERROR MESSAGE:
command failed: No such device (-19)
2#
HTML Code:
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo iwconfig wlan0 set mode monitor
sudo iwconfig wlan0 mode monitor
su iwconfig wlan0 mode monitor
HTML Code:
#ERROR MESSAGE
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not permitted.
This is what I tried to do in order to set monitor mode, but I keep failing miserably. Can anybody help? Thx