Failed to attach USB Device Realtek 802.11 NIC to virtual machine

Discussions related to using VirtualBox on Mac OS X hosts.

Failed to attach USB Device Realtek 802.11 NIC to virtual machine

Postby carutherford82 » 17. Jun 2019, 16:24

Hello all. I have been trying to figure this out on my own for a few days but to no avail. I purchased a TL-WN722N V3 TP-Link Nic for use with an ethical hacking course and after several attempts to try to connect the device I have been getting the same error.
Failed to attach the USB device Realtek 802.11 NIC to the virtual machine.

Clicking on the error message gives me the following error details:
Failed to create a proxy device for the USB device. (Error: VERR_SHARING_VIOLATION).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole{872da645-4a9b-1727-bee2-5585105b9eed}

VBoxManage list usbhost:
Code: Select all   Expand viewCollapse view
Host USB Devices:

UUID:               b517a068-0da8-49ea-85ed-8fa25b98dedc
VendorId:           0x2357 (2357)
ProductId:          0x010c (010C)
Revision:           0.0 (0000)
Port:               1
USB version/speed:  0/High
Manufacturer:       Realtek
Product:            802.11n NIC
SerialNumber:       00E04C0001
Address:            p=0x010c;v=0x2357;s=0x0000019ac07d54be;l=0x14100000
Current State:      Busy

UUID:               46de2cc7-ab5d-4e69-9acd-825350512a2b
VendorId:           0x05ac (05AC)
ProductId:          0x8290 (8290)
Revision:           1.103 (01103)
Port:               3
USB version/speed:  0/Full
Manufacturer:       Broadcom Corp.
Product:            Bluetooth USB Host Controller
Address:            p=0x8290;v=0x05ac;s=0x00000001dfc64098;l=0x14300000
Current State:      Busy

UUID:               763e1b03-754b-401a-a2a8-4618a5815b94
VendorId:           0x05ac (05AC)
ProductId:          0x0274 (0274)
Revision:           6.36 (0636)
Port:               4
USB version/speed:  0/Full
Manufacturer:       Apple Inc.
Product:            Apple Internal Keyboard / Trackpad
SerialNumber:       D3H5414ZWX1GHMFAF2BS
Address:            p=0x0274;v=0x05ac;s=0x00000000923493b3;l=0x14400000
Current State:      Unavailable

VBoxManage list usbfilters:

Global USB Device Filters:


VBoxManage showvminfo Kali Linux:

Name:                        Kali Linux
Groups:                      /
Guest OS:                    Debian (64-bit)
UUID:                        da252c5e-43c5-42fb-94c2-6f0915749b96
Config file:                 /Users/Chad/VirtualBox VMs/Kali Linux/Kali Linux.vbox
Snapshot folder:             /Users/Chad/VirtualBox VMs/Kali Linux/Snapshots
Log folder:                  /Users/Chad/VirtualBox VMs/Kali Linux/Logs
Hardware UUID:               da252c5e-43c5-42fb-94c2-6f0915749b96
Memory size                  4096MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              4
PAE:                         enabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      enabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               HardDisk
Boot Device 2:               DVD
Boot Device 3:               Not Assigned
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         UTC
Hardw. virt.ext:             enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x unr. exec.:             enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   KVM
State:                       powered off (since 2019-06-17T13:12:48.000000000)
Monitor count:               1
3D Acceleration:             enabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:         
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:           
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE (1, 0): Empty
SATA (0, 0): /Users/Chad/VirtualBox VMs/Kali Linux/Kali-Linux-2019.2-vbox-amd64-disk001.vdi (UUID: 5f8b98ff-5e93-448a-b2e4-9b1f96372a0e)
NIC 1:                       MAC: 0800278903DB, Attachment: NAT Network 'NatNetwork', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: CoreAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              disabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    enabled
EHCI USB:                    enabled
xHCI USB:                    disabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        Realtek 802.11n NIC
Remote:                      0
Serial Number:               

Bandwidth groups:  <none>

Shared folders:<none>

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                /Users/Chad/VirtualBox VMs/Kali Linux/Kali Linux.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             
(36.7 KiB) Downloaded 20 times
Posts: 1
Joined: 17. Jun 2019, 15:51

Re: Failed to attach USB Device Realtek 802.11 NIC to virtual machine

Postby socratis » 18. Jun 2019, 14:25

SHARING_VIOLATION... Did you install any software on your Mac that works with that NIC? Is your Mac using it at the same time?

Please read the following thread: USB basics and troubleshooting, all of the posts. Especially "memorize" part 1.

If you still have a problem after reading through the whole thing, please follow the advice of the last post, #8: Asking for help and post the information requested. Except the "VBoxManage list usbhost" part of course...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Site Moderator
Posts: 27690
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 19 guests