Kali Linux in virtual box Cant find Wifi

TheAmazingGeek

Reputable
Dec 31, 2014
21
0
4,510
So im running Kali Linux in Virtual box I have installed compat-wireless-2010-06-27-p.tar.bz2 which i believe is the right Wifi Driver. but when i click select network (under wifi wlan0 or wlan1) it says there are no networks i have also enabled network adapter in virtual box settings are adapter 1 attached to: bridge adapter
name:tp-link 300mbps wireless n adapter
advanced
adapter type intel pro/1000MT Desktop (82540EM)
promiscuous mode: deny
Cable connected: ticked

Is it possible I need some kind of virtual box extension?
thanks to anyone that can help
 
Solution
Try using VMware:

https://www.vmware.com/products/player

There is a separate network config file that you run to further configure networking/adapters. This comes built-in to VM Workstation -but not Player,: #The file is called "vmnetcfg.exe"

Link: https://ninety9names.wordpress.com/2013/12/18/download-vmnetcfg-exe-vmnetcfglib-dll-for-vmware-player-6-x-7-x/
It won't show up as a wireless adapter inside the VM - it'll appear as an Intel Pro/1000 MT wired adapter given your settings. (You could use the paravirtualised adapter instead for better performance. I would hope that Kali Linux comes with the standard virtio-net driver.)

It will be connected to whatever network the host connects to via the adapter.
 
USB Wi-Fi cards are best for use with VM Kali implementation, just easier (in my experience anyway)

I had same problem, and I used the Jun 26 "06-26" 2010..not the 6-27..maybe worth a try..
at:

http://linuxwireless.org/download/compat-wireless-2.6/

Find this file "compat-wireless-2010-06-26-p.tar.bz2" 2010-Jun-26 21:02:37 2.4M application/octet-stream

Download and save to Desktop, its a .bz2 archive file, we need to "unzip" it.

Open a terminal as root, and type this to start with

#airmon-ng
-see if your wifi card is listed, most likely not, follow these steps:

1. root@kali:~# cd Desktop

2. root@kali:~/Desktop# -jxvf compat-wireless-2010-06-p.tar.bz2

2a. this will unzip the file contents onto/into a folder the /Desktop called "compat-wireless-2010-06-p"

3. root@kali:~/Desktop# cd -past file IGNORE ANY ERROR

4. root@kali:~/Desktop# cd compat-wireless-2010-06-p

5. root@kali:~/Desktop/compat-wireless-2010-06-p#make unload IGNORE ANY ERROR

6. root@kali:~/Desktop/compat-wireless-2010-06-p#make load IGNORE ANY ERROR

7. root@kali:~/Desktop/compat-wireless-2010-06-p# clear

8. root@kali:~/Desktop/compat-wireless-2010-06-p# exit

Now try the airmon-ng command again, you should see you wifi card(s) lised now. :)
 


thanks but no luck still wont find any kind of wireless connection
 


well im using a wireless network adapter on the host and all i want to do is to use a wireless adapter in the VB but i only get wired options and not a single wireless connection option
 


So you want to access the WiFi adapter directly rather than simply connecting the guest to a network.

If it's a USB adapter, your best bet would be to use the USB passthrough functionality in VirtualBox then load the appropriate driver for the USB adapter in Linux. In the VBox manager, select the VM and go to Settings -> USB then add a new USB filter for the WiFi adapter. When you start the VM, the adapter should "unplug" from the host OS and the guest should be able to see it directly.

If it's a PCI adapter, you can do PCI passthrough but it can't be configured from the GUI and you will need a PC with an IOMMU (most recent AMD systems) or VT-d support (a patchy selection of Intel systems - my Core 2 Duo / GM45 laptop has it but my Core i7 / Z77 desktop at work doesn't).
 


all i really want to do is connect to the internet on linux wireless , i want to use aircrack but i cant unless im ising wifi and i cant get it working and yeah im using a PCI adapter so how would i do a PCI passthrough and yes my cpu does have VT-d support thanks for helping
 


Hm, I've had a look at the VirtualBox documentation at https://www.virtualbox.org/manual/ch09.html#pcipassthrough and it seems to suggest that it only currently works when the host OS is Linux. If that's true (I'm assuming you're running Windows on the host), you might be better off getting a USB wireless adapter just for running Aircrack and using USB passthrough with it. (That would also allow you to continue using your PCI WiFi adapter for other things at the same time.)

Getting basic internet/network access from the Linux guest is easy - just bridge the adapter as you did originally and it'll appear as a virtual cabled adapter connected to whatever network the host is connected to. You just won't be able to use Aircrack or anything on it.