Jump to content

Wifi Adapter To Vm Guest Not Working!


singh763173

Recommended Posts

Hi all, im struggling to get my Alfa AWUSO36H to my BT5 Guest VM from a W7 Host.

I've created the filter and installed Guest Additions aswell as the latest extension pack and it doesnt go over automatically. I've tried to manually place it over and I get an error that it Failed to Attach... Busy with Previous Request.

Any ideas?

Link to comment
Share on other sites

Doesn't sound like VMware, as the default settings in a new VM is to automatically attach any USB device to the VM once plugged in. You just have to wait till after the VM is up and running to plug it in. (Make sure all VMware services are running though - Go to services.msc and start them if not)

If it is VMware, check the USB settings on the settings panel of the VM itself and make sure its set to USB 2.0 and automatically attach new found usb devices.

vmware-usb-settings.png

Link to comment
Share on other sites

Hi Jarmo,

I tried that but I still get the same error. I tried a search with the error but havent been able to find anything as of yet, though I am still looking. I have attached a screen shot and the error that shows.

Result Code:

E_INVALIDARG (0x80070057)

Component:

HostUSBDevice

Interface:

IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}

Callee:

IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}

Also, Im not sure why the device is showing up with that name... But its definately the Alfa as there are no other USB devices or Virtual USB devices attached

post-21120-0-09390500-1323636376_thumb.p

Edited by singh763173
Link to comment
Share on other sites

Get VMware Player, its free, try it in that, skip Virtual Box. Sometimes, you just have to use what works. In my experience, I've never had much luck with Virtual Box, and its always been a hassle. Personally, I love VMware and have their VMware Workstation 8(a requirement if you plan on testing Windows 8 in a VM, due to the new BIOS boot method required). But if you don't want to shell out any money, vmware player would be my suggestion.

Link to comment
Share on other sites

run lsusb and see if you can find it in that list. and if you do, Sometimes its a little buggy and I have a script that a run after I connect to fix any airmon-ng start wlan0 issues or anything that starts giving you that SOCFLAGS (or what ever it is) error.

#! /bin/bash

rmmod rtl8187

rfkill block all

rfkill unblock all

modprobe rtl8187

rfkill unblock all

ifconfig wlan0 up

thats the basic script, just save it in a file on your desktop in the VM and run

cd Desktop/

chmod +x file

then(in the same location) run

./file

also you can add some other things to the script (like i do) to make everything a little easier when using monitor mode and such

#! /bin/bash

rmmod rtl8187

rfkill block all

rfkill unblock all

modprobe rtl8187

rfkill unblock all

iw reg set BZ

#(increases TX power on all interfaces, to change back just issue 'iw reg set 00') (00 being the american country code, if your not from america you can run 'iw reg get' before you change anything)

macchanger -r wlan0

#(changes the mac address to a random one)

airmon-ng start wlan0

#(starts monitor mode on the interface mon0)

ifconfig mon0 down

#(interfaces need to be down to change mac addresses, and to change country codes, but the initial rfkills bring wlan0 down so you wont need to bring it down after that point. also changing country codes only needs to be done once for all interfaces until you reboot.)

macchanger -r mon0

#(changes the monitor mode interface to a randome mac)

ifconfig wlan0 up

ifconfig mon0 up

if you really want, you can create your own country code by fallowing this guide and increase the TX power even higher

http://hacking-library.com/forum/viewtopic.php?f=36&t=284&p=550#p550

scroll down to "Override regulatory domain restrictions"

(I won't help anyone with the creating the country code, if you screw something up, don't blame me, or anyone else)

then just change the script above to 'iw reg set XX'

This might be a little off topic for your problem, but it should help you, and others later on.

Edited by soka80
Link to comment
Share on other sites

hey, thanks for that - i was testing earlier and came across the issues with vmware and the rtl8187 chipset. i found the first script online and it worked a treat, its just a shame I have to run it whenever i run the vm.

with regards to the second bit - what would be worse case scenario? im only asking as you've said, if it all goes wrong...

I dont see any harm in trying but just want to know what could happen. From what Im reading the script will change the tx power (thus a stronger signal but more work on the wifi adapter) and spoofs the MAC on the device also. Am I correct?

Cheers

Link to comment
Share on other sites

hey, thanks for that - i was testing earlier and came across the issues with vmware and the rtl8187 chipset. i found the first script online and it worked a treat, its just a shame I have to run it whenever i run the vm.

with regards to the second bit - what would be worse case scenario? im only asking as you've said, if it all goes wrong...

I dont see any harm in trying but just want to know what could happen. From what Im reading the script will change the tx power (thus a stronger signal but more work on the wifi adapter) and spoofs the MAC on the device also. Am I correct?

Cheers

as far as creating your own country code, if you mess up the file they're located in, you could possibly screw up all your country code. It's unlikely but I'd rather not get blamed for some thing that some one messed up, and then complaining about what ever problems happened. It worked fine for me, but somone else might have issues. And it might over heat your adapter, I haven't came across that issue, but it could happen.

yes, it changes the mac address. That shouldn't cause any problems what so ever.

Edited by soka80
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...