Connecting the internet on my virtualbox as wifi.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Rvs314
Posts: 3
Joined: 24. Dec 2015, 03:41

Connecting the internet on my virtualbox as wifi.

Post by Rvs314 »

Hello, I would like help with a problem I am having with my virtualbox. The internet connection I have now is considered "wired" on the virtualbox. Is there a way I can directly connect my network card/usb adapter directly to it? I am using a windows system as my host, and a kali virtualbox as my guest OS.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Connecting the internet on my virtualbox as wifi.

Post by mpack »

Yes, you can connect a USB WiFi adapter directly to the guest, just like you can do with any USB device. Of course the host would then be unable to use it (USB devices can't be shared).

Is there a particular reason why you care what form the emulation should take, i.e. wired vs wireless?

Is there a reason why you don't just leave the host in charge of the network connection, and have the guest use NAT, i.e. the simplest (and default) configuration?
Rvs314
Posts: 3
Joined: 24. Dec 2015, 03:41

Re: Connecting the internet on my virtualbox as wifi.

Post by Rvs314 »

Hello. Thank you for the information on the USB device, wanted to gaurentee that it would work with my VB.
I would want it directly connected because I need it as "Wifi" so I can use applications such as aircrack-ng or wifi scanners.
Also, I already have a built in card for my host machine, so I would only use this for my Kali VB.
Would you mind going into more detail on how? Should I connect it as USB?
Cheers -rvs314
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Connecting the internet on my virtualbox as wifi.

Post by mpack »

Rvs314 wrote:Hello. Thank you for the information on the USB device, wanted to gaurentee that it would work with my VB.
Uh.. I don't think I used the word "guarantee" anywhere. I said that the mechanism exists to connect the device to the VM. Whether it will work or not remains to be seen. VMs generally are not ideal platforms for physical hardware: their main goal is to let you run software that requires a different OS, or to be a sandbox for software development, trying out suspect software etc.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Connecting the internet on my virtualbox as wifi.

Post by socratis »

Rvs314 wrote:Also, I already have a built in card for my host machine, so I would only use this for my Kali VB. Should I connect it as USB?
You cannot use your internal WiFi card. You have to buy an external USB WiFi adapter. Which, as mpack said, will be used exclusively by the VM alone, if it works at all.
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.
Post Reply