I have installed Kali Linux as a guest OS in VirtualBox. I have enabled the bridge adapter and wireless interface wlan1 to the VirtualBox, but I am unable to see the wlan interface in the Kali Linux. For that I searched in Google. I found [this file](http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2010-12-25.tar.bz2)

```
$ uname -a
Linux kali 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

root@kali:~/Downloads/compat-wireless-2010-12-25# make load
/bin/sh: 1: [: -gt: argument expected
/bin/sh: 1: test: -ge: unexpected operator
make: *** No rule to make target `load'.  Stop.
root@kali:~/Downloads/compat-wireless-2010-12-25# make unload
/bin/sh: 1: [: -gt: argument expected
/bin/sh: 1: test: -ge: unexpected operator
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
Stoping bluetooth service..
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[FAIL] bluetooth is not running ... failed!
Unloading rfcomm...

root@kali:~/Downloads/compat-wireless-2010-12-25# lspci
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: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
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)

```

]

How can I solve this?

[![enter image description here](https://i.stack.imgur.com/MgGIh.png)](https://i.stack.imgur.com/MgGIh.png)

But my guest Kali Linux is working like NAT its having eth0 interface and getting the Internet as well. But I need to have wlan0 interface in VirtualBox guest Kali Linux to use aircrack-ng, airmon-ng, etc.