1 Attachment(s)
How to Make the TL-WN722N and TL-WN725N in Monitor mode in kali (Virtual Box)
Code:
sudo apt update
sudo apt upgrade
sudo apt install bc
sudo rmmod r8188eu.ko
git clone https://github.com/aircrack-ng/rtl8188eus.git
cd rtl8188eus
sudo -i
echo "blacklist r8188eu.ko">"/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 8188eu
sudo reboot
So this will install the driver
----------------------------------------------------------------------
To make the interface in the monitor mode after the rebooting:
Code:
sudo rmmod r8188eu.ko
sudo modprobe 8188eu
Now you need to remove and reconnect the USB from the VBox, so in the left up of the window click on (Devices) then click on the USB this will remove it, click again on it so it will reconnect the USB to the VBox
Code:
sudo ip link set wlan0 down
sudo airmon-ng check kill
sudo iw dev wlan0 set type monitor
This will make the interface (wlan0) as a Monitor Mode
To make sure
This should show you the interface with (Mode:Monitor)
Attachment 4054
sudo rmmod r8188eu.ko doesn't work
Quote:
Originally Posted by
mohamdali0_0
no you don't need to download and remake the driver any more.
you can start from the second block of code, and then remove the device and reinsert it, then run the third block of code, for me i make an alias as (mon1) that have the first code then i reinsert the device and the (mon2) alias that have the second code, this will make it alot easer.
actually your command work fine with me when i use linux as a host machine but when i use it in the VM this issues will happen
sudo rmmod r8188eu.ko shows
rmmod: ERROR: Module r8188eu is not currently loaded
plz help