Mac OS: USB Wireless adapter not detected on Kali Linux

Discussions related to using VirtualBox on Mac OS X hosts.

Mac OS: USB Wireless adapter not detected on Kali Linux

Postby KKulkarn » 18. Jan 2019, 21:01

Hello there!

I installed Realtek 8812au on Mac and it works fine on the Host. I have VB 6.x + extension pack. The moment I boot up Kali, the USB adapter is not detected (even on the host) and on shutdown of the VM, the USB adapter is usable.

Here are a few things I have tried:

1. Fresh install of VB 6x + Extension pack
2. USB Configuration & Filter
USB_Filter.jpg
USB_Filter.jpg (115.42 KiB) Viewed 997 times

3. List of output from the trouble shooting steps

Scenario - After I detach the device, boot the VM & attach the device OR keep the device attached, boot the VM
KK:Preferences prague$ VBoxManage list usbhost
Host USB Devices:

UUID: 249b0c81-c9d8-4a02-b301-b695dbba967d
VendorId: 0x0bda (0BDA)
ProductId: 0xb812 (B812)
Revision: 2.16 (0216)
Port: 2
USB version/speed: 0/High
Manufacturer: Realtek
Product: USB3.0 802.11ac 1200M Adapter
SerialNumber: 123456
Address: p=0xb812;v=0x0bda;s=0x000001113dc0b3c5;l=0x14200000
Current State: Captured

KK:Preferences prague$ VBoxManage list usbfilters
Global USB Device Filters:

<none>

KK:Preferences prague$ VBoxManage showvminfo Kali-Linux-2018.4-vbox-amd64

VM_info.txt
(6.02 KiB) Downloaded 13 times


4. VB Log attached
VBlog.txt
(89.61 KiB) Downloaded 10 times


With no luck, I uninstalled 6.x and installed VB 5.2 + extension pack, ran through the whole process but still have the same problem.

Please let me know if I have missed providing you with any information.

Thanks much!
Last edited by socratis on 18. Jan 2019, 23:12, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
KKulkarn
 
Posts: 5
Joined: 18. Jan 2019, 10:39

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby KKulkarn » 18. Jan 2019, 21:06

My Mac OS is macOS Mojave 10.14.2

I am using the Kali linux VB image as specified in kali-linux-vm-vmware-virtualbox-image-download

ova file - kali-linux-2018.4-vbox-amd64.ova
KKulkarn
 
Posts: 5
Joined: 18. Jan 2019, 10:39

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby socratis » 18. Jan 2019, 23:42

For future reference, next time please downsize your attached images by 50% (at least), or simply change the DPI to 72. Not everyone is blessed with a HiDPI display ;). And use the "Preview"; if the screenshot looks too big and out of place, that's because it is. You could edit your message and post a smaller screenshot, something more.... human ;)

You have two USB filters defined. Delete the first one, the red, it's too specific. Plus it might cause issues, why have two filters for the same device:
USB Device Filters:

Index: 0
Active: yes
Name: Realtek USB3.0 802.11ac 1200M Adapter [0210]
VendorId: 0bda
ProductId: b812
Revision: 0210
Manufacturer: Realtek
Product: USB3.0 802.11ac 1200M Adapter
Remote: 0
Serial Number: 123456


Index: 1
Active: yes
Name: Realtek8812AU
VendorId: 0bda
ProductId: b812
Revision:
Manufacturer:
Product:
Remote:
Serial Number:

From your VBox.log, which ended prematurely... For future reference, you should completely shut down the VM before grabbing the VBox.log. Then ZIP it before attaching it to your response:
00:00:43.536299 VUSB: Attached '00007fd0ed348860[proxy 0bda:b812]' to port 2 on RootHub#1 (HighSpeed)
00:01:05.334506 VUSB: Detached '00007fd0ed348860[proxy 0bda:b812]' from port 2 on RootHub#1
00:01:10.129484 VUSB: Attached '00007fd0ed415d80[proxy 05ac:8289]' to port 2 on RootHub#1 (FullSpeed)
00:01:19.272352 VUSB: Attached '00007fd0ed544ea0[proxy 0bda:b812]' to port 3 on RootHub#1 (HighSpeed)

I see the device in question being properly attached and detached (I see a Bluetooth adapter as well, ???). That's great! What if you look in your Kali guest, what's the output of:

    lsusb
Do you see your Realtek USB WiFi adapter? If you do, then after that it's a matter of Kali recognizing and having drivers for your device.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby KKulkarn » 19. Jan 2019, 08:44

My apologies, next time will take care while uploading attachments.
root@kali:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Will upload the zip file shortly.
Last edited by socratis on 19. Jan 2019, 09:48, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
KKulkarn
 
Posts: 5
Joined: 18. Jan 2019, 10:39

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby KKulkarn » 19. Jan 2019, 08:55

Here is the vblog zip file.

vblognew.txt.zip
(27.72 KiB) Downloaded 13 times


Hopefully this should help.

Thanks!
KKulkarn
 
Posts: 5
Joined: 18. Jan 2019, 10:39

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby socratis » 19. Jan 2019, 09:48

I didn't need the new VBox.log. The output of the "lsusb" from within the guest shows clearly that your Kali sees the WiFi adapter. VirtualBox's work is done. It's working as it should.
KKulkarn wrote:
Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp.

After that, it's a Kali problem, not a VirtualBox one...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby FAWAZ » 19. Jan 2019, 20:04

I have the same issue but when I go settings then ports >> USB when adding a new adaptor it says no devices available
FAWAZ
 
Posts: 1
Joined: 19. Jan 2019, 19:53

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby socratis » 20. Jan 2019, 12:28

FAWAZ,
A "me too" doesn't help me help you... Read the whole thread on what information you need to provide, otherwise there's no point.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby KKulkarn » 21. Jan 2019, 03:07

Kali linux sees the adapter, the moment I turn on the VM, here is what I am seeing:
KK:~ prague$ VBoxManage list usbhost
Host USB Devices:

UUID: 61b8fe86-1a78-4008-a7de-9a3f61c63436
VendorId: 0x0bda (0BDA)
ProductId: 0xb812 (B812)
Revision: 2.16 (0216)
Port: 2
USB version/speed: 0/High
Manufacturer: Realtek
Product: USB3.0 802.11ac 1200M Adapter
SerialNumber: 123456
Address: p=0xb812;v=0x0bda;s=0x000000da9754556b;l=0x14200000
Current State: Captured

With this captured state, Kali cannot connect to the adapter and that might be the problem. I have reinstalled VM+Extension pack and tried using USB 2.0/3.0 but still no luck.

let me try my luck on another system.
KKulkarn
 
Posts: 5
Joined: 18. Jan 2019, 10:39

Re: Mac OS: USB Wireless adapter not detected on Kali Linux

Postby socratis » 21. Jan 2019, 08:27

@KKulkarn
"Captured" actually means that the device *is captured* by the VM. That's a GoodThing™, it means things are working as they should, it means that the Kali VM *has* the device. And this can be seen by the output of the "lsusb".

As I said, that's exactly what you want to see. Kali sees, and has the control of the device. That doesn't mean that any device will work, you need for the guest to understand what that device does or doesn't do; Kali doesn't know what to do with that device. It sees the device but has no clue what it is, because it's missing the USB drivers for that specific device.

This is a Kali problem now...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 7 guests