I have a Kali distro installed by the .iso file as a VBox virtual machine, with a Win11 kesktop host (AMD Ryzen 7). My desktop has an AWUS036ACH Alfa Network adapter, known to be capricious when used with Linux. I installed its drivers using aircrack-ng Github page (Realtek 8812AU). The device is recognized, I can use it in monitor mode.
The first connection to my AP always works. To do so, I use VBox bridge mode and I activate the USB that corresponds to my WiFi adapter. The problem occurs when I want to connect to my AP again, let’s say after a reboot, or after having switched to NAT.
The Kali WiFi icon rotates, iwconfig command doesn’t work anymore (it is stuck after I press enter), same thing for networking and NetworkManager services.
After a while, my VM freezes, as shown on the attached picture.
To be more accurate, when I switch to bridge mode and I check my Alfa adapter in the list of USB devices, I can click on the wireless icon and perform iwconfig.
Then the WiFi icon starts to freeze itself when I click on it and select my AP. iwconfig doesn't output anything anymore and after that the system freezes (see other attached picture).
The only way to remove that bug is to manually go into nmcli, delete the entry for my AP, and start the connection process over. I also tried to create a .conf file passed as a parameter to wpa_supplicant, but the problem remains the same. It seems that the NetworkManager daemon can’t handle a reconnexion.
outputs :
Same problem when using the "dkms" method proposed for those adapters. Btw, I almost have the same set-up on my laptop, but I don’t have any problem. The only difference is that my laptop also has an internal WiFi adapter, so when I plug the Alfa device when my Kali VM is running, it automatically detects it thanks to the USB passthrough. The other difference is that the running Kali on my laptop is a bit older, but it’s up-to-date.
The first connection to my AP always works. To do so, I use VBox bridge mode and I activate the USB that corresponds to my WiFi adapter. The problem occurs when I want to connect to my AP again, let’s say after a reboot, or after having switched to NAT.
The Kali WiFi icon rotates, iwconfig command doesn’t work anymore (it is stuck after I press enter), same thing for networking and NetworkManager services.
After a while, my VM freezes, as shown on the attached picture.
To be more accurate, when I switch to bridge mode and I check my Alfa adapter in the list of USB devices, I can click on the wireless icon and perform iwconfig.
Then the WiFi icon starts to freeze itself when I click on it and select my AP. iwconfig doesn't output anything anymore and after that the system freezes (see other attached picture).
The only way to remove that bug is to manually go into nmcli, delete the entry for my AP, and start the connection process over. I also tried to create a .conf file passed as a parameter to wpa_supplicant, but the problem remains the same. It seems that the NetworkManager daemon can’t handle a reconnexion.
Code:
uname -a
Code:
Linux kali 6.12.20-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.20-1kali1 (2025-03-26) x86_64 GNU/Linux
Same problem when using the "dkms" method proposed for those adapters. Btw, I almost have the same set-up on my laptop, but I don’t have any problem. The only difference is that my laptop also has an internal WiFi adapter, so when I plug the Alfa device when my Kali VM is running, it automatically detects it thanks to the USB passthrough. The other difference is that the running Kali on my laptop is a bit older, but it’s up-to-date.

