0

I have Ubuntu (17.04) running in a virtual machine (Oracle VM VirtualBox 5.1.22) installed on my Windows 10 laptop. I can connect via ethernet cable, but I cannot even see any available wireless network around me. Has anyone found a good solution for it? I know a similar question has been already asked (How do I connect to the wifi in Ubuntu within my Virtual Machine?), but no one resolved the problem.

EDIT: really don't know why, but after a week using ethernet cable, now I can normally connect to wi-fi. I only enabled NAT configuration on network settings of the virtual machine. No Broadcom wireless driver needed.

1 Answers1

2

Unless you have a USB wifi card you can pass through to the VM, you can't.

The host wifi device is never exposed to the VM as a wifi device. You need to directly pass a USB wifi adapter to the VM for it to accept wireless. There's no other way to do this with current virtualization systems built on top of an existing OS.

This is detailed in my answer to Wireless card isnt working with Ubuntu 14.04 VirtualBox Guest OS, including the network diagram there, and the full explanation of how the virtual networking works in VirtualBox.

Thomas Ward
  • 78,878