I have set up ubuntu 14.04 on virtual box and its my first time using this os. My wireless adapter is intel centrino wireless-N2230 802.11n. It works fine on my windows 7 host.I tried to download its driver for linux and add it to /lib/firmware but it was already there.
I have seen some command lines here and there but with no use.
lspci
output from the Ubuntu VM:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] (rev 40)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
If you need more outputs please be detailed about how to get it.
Best Answer
If you want to be able to have Linux work with the actual hardware on your OS, you want to boot to a Live USB or actually install Ubuntu to the hard drive, as VirtualBox doesn't pass the wireless adapter hardware information to the guest OS. It doesn't do that because the guest shouldn't be the one to control the wireless adapter of the host, in an idea setup. As the Windows 7 host which is running VirtualBox accesses the wireless adapter, the network adapter on the guest OS (in this case, Ubuntu) is virtual and does not control your wireless adapter. Essentially, unless you're running an oddball configuration, VirtualBox runs everything that it runs as guests through virtual network adapters which eventually go out through the active network connection on the host OS. That's effectively like this:
Some explanation:
Note that an alternative way to get a wifi adapter onto the guest VM is to get an external USB wifi adapter, and connect it to the VM via USB Passthrough, but that can be tricky and painful to configure at times in some hosts, and varies a little from host-to-host (which is why I do not detail it here).