Failed to Attach USB2.0 WLAN Adapter

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ejownz6
Posts: 4
Joined: 21. Jun 2013, 01:41

Failed to Attach USB2.0 WLAN Adapter

Post by ejownz6 »

Software: VirtualBox 4.2.14 (extension pack installed)
Virtual OS: Backtrack 5r3
OS: Windows 7 64bit
Hardware: Sabrent NT-WGHU (rtl8187)

This adapter will attach to VMWare, but it won't work properly with BackTrack in VMWare, so I decided to try VirtualBox.

The wireless adapter will not connect to virtual box. Error is that it 'failed to attach' and is 'busy with another operation'. I've tried in all USB ports. I've tried creating a filter. I've tried creating a blank filter with no details.

I assume there is no solution. The fact that the adapter doesn't work properly with Backtrack 5r3 in Vmware suggests to be it's just a problematic adapter. I prefer to play with the pentesting in a virtual operating system for convenience (multitaksing in windows while playing).

Does anyone have the exact same wireless adapter and have you managed to get it to attach in virtual Box?
Last edited by ejownz6 on 22. Jun 2013, 08:35, edited 2 times in total.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Failed to Attach USB2.0 WLAN Adapter

Post by noteirak »

There are about a billion posts (yes yes, we counted) about this precise error. Please check here
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
ejownz6
Posts: 4
Joined: 21. Jun 2013, 01:41

Re: Failed to Attach USB2.0 WLAN Adapter

Post by ejownz6 »

Billions of posts and zero solutions. I'll try to record what happens with various suggestions.

1,
Postby noteirak » 6. Nov 2012, 12:27
turn off your host, unplug the USB device, then boot your host, start your VM, and only when your VM is started, plug the USB device.
Any luck this way?
Adapter eventually shows up as 'State: Busy'. Can't see it in VM. Clicking on it makes it show up as 'State: Captured'. It never has a check mark beside it though and is never visible in VM. Clicking on it while it is 'captured' with no check results in the following error:

Code: Select all

Result Code: 
E_INVALIDARG (0x80070057)
Component: 
HostUSBDevice
Interface: 
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: 
IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
2,
ff6849 » 25. Nov 2010, 00:28
I found the solution after installing VMWare Workstation for evaluation and discovered I had the same problem mounting USB devices with VMWare Workstation. The solution requires the removal of an "UpperFilters" entry in the Windows 7 registry. Removing this entry fixed both VMWare Workstation and VirtualBox USB functionality. Here is a link to the fix. http://mooremn.wordpress.com/2010/06/27 ... -disabled/
Didn't apply to me. I went to the area of the registry and there were no 'UpperFilters'.


3.
xaris78 » 13. Feb 2013, 11:20
Hello everyone. I had the same issue when trying to capture a 500gb ext usb disk (virtual box version 4.2.6) on my laptop (Toshiba L850).

I tried many of the solutions on the net with no success. The problem was solved when I attached the disk to a usb 2.0 port instead of the usb 3.0 I was trying till now.

Hope this helps someone having the same issue... :)
The problem persists. It doesn't matter if I use the USB2.0 or USB3.0 ports.
Last edited by ejownz6 on 22. Jun 2013, 08:54, edited 2 times in total.
jorgensen
Posts: 589
Joined: 20. Oct 2009, 01:22
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows

Re: Failed to Attach USB2.0 WLAN Adapter

Post by jorgensen »

This usually works for me: viewtopic.php?f=6&t=29034
ejownz6
Posts: 4
Joined: 21. Jun 2013, 01:41

Re: Failed to Attach USB2.0 WLAN Adapter

Post by ejownz6 »

jorgensen wrote:This usually works for me: viewtopic.php?f=6&t=29034
The next problem was to get the USB devices working in the guest and here is the procedure I followed.
1: Open the Device Manager and Task Manager at the host.
2: Close VirtualBox completely and kill processes named VirtualBox.exe and VBoxSVC.exe in the Task Manager.
3: Remove the USB device and make sure it is not in the Device Manager.
4: Connect the USB device at the preferred port which is the one to be used in the future, and check the Device Manager again.
5: Start VirtualBox and the guest.
6: In the guest open the Device Manager and attach the USB device from the VirtualBox menu.
7: VirtualBox might now install a driver for routing the device. If so, install the driver and repeat from point 2.
8: When attaching the USB device in the guest keep an eye on the Device Manager in both the host and the guest. At the host, the device should detach and at the guest attach.

9: If still a problem try to repeat from point 2 and reboot the computer.
This didn't solve the problem. VirtualBox never attaches the wireless adapter. VirtualBox never attempts and installation and the USB device never detaches from Windows 7.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Failed to Attach USB2.0 WLAN Adapter

Post by noteirak »

Do you have the extension pack installed?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
ejownz6
Posts: 4
Joined: 21. Jun 2013, 01:41

Re: Failed to Attach USB2.0 WLAN Adapter

Post by ejownz6 »

Yeah, it is installed. I think it just has something to do with the wireless adapter. I'm going to sell the one I have and look for one a bit more dependable. VirtualBox has no problem attaching my webcam, usb hard drives usb wireless mini receiver, etc. It's just the wireless adapter.
Post Reply