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

Discussions related to using VirtualBox on Windows hosts.
Post Reply
SirBlueLP
Posts: 3
Joined: 1. Aug 2020, 18:39

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

Post 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?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

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

Post 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.
SirBlueLP
Posts: 3
Joined: 1. Aug 2020, 18:39

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

Post 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
Attachments
VBoxSVC.log
Vbox.log
(3.22 KiB) Downloaded 15 times
Enable_Monitor-Mode.txt
here are the commands to install the drivers and enable monitor mode
(447 Bytes) Downloaded 25 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

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

Post by scottgus1 »

Thanks for the update. Just curious, what version USB were you using before?
SirBlueLP
Posts: 3
Joined: 1. Aug 2020, 18:39

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

Post by SirBlueLP »

USB 3.0
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

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

Post by scottgus1 »

OK, thanks. I wonder if it was a fluke or if Kali doesn't support USB3.
Post Reply