Page 1 of 1

Wifi USB "double" disconnects when kali linux is loading!

Posted: 1. Aug 2020, 20:10
by SirBlueLP
Hello guys,
I have a big problem... :(

When I am trying to connect my Wi-Fi USB (TP-Link TL-WN722N) to my Virtual machine it first disconnects from the host (Windows 10 Professional), like it should...
A while later, when Kali Linux is trying to load it, it disconnects again both from the VM and from the host. Only replugging it connects it with the host again.
The strange thing is when I did it for the first time everything worked out, but after a system restart it suddenly stopped working.


It seems VirtualBox has a problem with this stick, because I tried it with another Wi-Fi USB and it works fine.
I tried almoust everything, replacing the Wi-Fi USB and even resetting my Windows.

Has anyone of you an idea what this could be?

Re: Wifi USB "double" disconnects when kali linux is loading!

Posted: 1. Aug 2020, 20:16
by scottgus1
Go through USB basics and troubleshooting. If steps 1 through 7 cannot get your device working, please provide the troubleshooting command outputs in step 8, as text in

Code: Select all

 tags. Also zip and post the requested vbox.log, using the forum's Upload Attachment tab. 

Note that if you're not using a USB filter, try to. The device may work better.

Also, I have found that unplugging and replugging could be required depending on the device and/or how it interacts with the host or guest OS's.

Re: Wifi USB "double" disconnects when kali linux is loading!

Posted: 2. Aug 2020, 14:11
by SirBlueLP
Thanks for the quick answer,
everything is fine now it wasn't a problem with VirtualBox, Kali Linux was kicking the WIFI-USB out.
The solution was to switch the USB 2.0 (OHCI + EHCI)-Controller and update/install the drivers in Kali Linux with following commands:

Code: Select all

sudo apt update
sudo apt install bc
sudo rmmod r8188eu.ko
git clone **sorry link is following**
cd rtl8188eus
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 8188eu

Re: Wifi USB "double" disconnects when kali linux is loading!

Posted: 2. Aug 2020, 14:40
by scottgus1
Thanks for the update. Just curious, what version USB were you using before?

Re: Wifi USB "double" disconnects when kali linux is loading!

Posted: 2. Aug 2020, 14:42
by SirBlueLP
USB 3.0

Re: Wifi USB "double" disconnects when kali linux is loading!

Posted: 2. Aug 2020, 14:47
by scottgus1
OK, thanks. I wonder if it was a fluke or if Kali doesn't support USB3.