- How to Connect ALFA AWUS036H to Kali Linux in VirtualBox
- HOW TO CONNECT ALFA AWUS036H TO KALI LINUX IN VIRTUALBOX – ENABALING USB CONTROLLER
- HOW TO CONNECT ALFA AWUS036H TO KALI LINUX IN VIRTUALBOX -TESTING
- MONITOR MODE
- PACKET CAPTURING
- How to get Alfa awus036nha to work with Kali Linux?
- ALFA Network AWUS036NH Kali Driver Installation
- GNU/Linux Kali ALFA Network AWUS036NH Wifi Adapter Driver Setup Guide
- GNU/Linux Kali ALFA Network AWUS036NH Wireless Driver Installation Guide
- Follow Us
- The GNU/Linux Free Software Phylosophy
- Steve Jobs’ Last Words
- Credits
- Introduction
- Kali linux configuration steps
- Using awus036nha with aircrack
- Common errors
- Solution to «wlan0 is not injecting or proximity is low»
- usb 2-2: ath9k_htc: USB layer deinitialized
How to Connect ALFA AWUS036H to Kali Linux in VirtualBox
If you are just beginning your journey in the world of penetration testing or “ethical hacking” then you will most likely reach a point where you will need to learn how to connect ALFA AWUS036H to Kali Linux in VirtualBox. Kali Linux is one of the most popular tools to use for testing purposes and only certain USB WiFi adapters are compatible.
You can use other Kali Linux USB WiFi compatible adapters but we are going to be using the ALFA AWUS036H because it is one of the more common USB wireless adapters in use. If you haven’t already installed the driver for this device then see how to install ALFA AWUS036H on Windows 10. You will need to have the ALFA WiFi adapter installed and fully functional on the host operating system otherwise it will not work on Kali Linux in VirtualBox.
HOW TO CONNECT ALFA AWUS036H TO KALI LINUX IN VIRTUALBOX – ENABALING USB CONTROLLER
When you have the ALFA AWUS036H wireless adapter fully functional on the host operating system the first thing you will need to do is to enable the USB controller in VirtualBox. When you have VirtualBox running click on “Kali Linux” to highlight that specific virtual machine. Next click “Settings” and select the “USB” tab when the “Settings” window pops up.
Make sure that the “Enable USB Controller” box is checked and select “USB 2.0 (EHCI) Controller”. Now you need to add a USB filter to attach the WiFi adapter to the virtual machine. Click on the USB icon with a plus sign and select the “Realtek RTL8187”. The ALFA AWUS036H is recognized as Realtek RTL8187.
THE ALFA AWUS036H IS RECOGNIZED AS REALTEK RTL8187
After you select “Realtek RTL8187” it will add the device to USB Device Filters and you can click the “OK” button. Learning how to connect ALFA AWUS036H to Kali Linux in VirtualBox is pretty simple and after the wireless WiFi adapter is added to the USB Device Filters you can go ahead and boot up your Kali Linux virtual machine by clicking the green “Start” button.
HOW TO CONNECT ALFA AWUS036H TO KALI LINUX IN VIRTUALBOX -TESTING
When you have started your Kali Linux virtual machine and logged in as root you will need to open a terminal session. Let’s first check and see if the ALFA AWUS036H is being detected. Type in the following command to confirm that WLAN0 is being detected:
MONITOR MODE
If you plan on using the ALFA AWUS036H to sniff and capture packets then you will need to enable monitor mode. To enable monitor mode you will need to type the following command into your terminal session:
After issuing this command you should notice that monitor mode is enabled for wlan0 and it creates a monitoring interface named “wlan0mon”. To confirm that the “wlan0mon” monitoring interface was created use the “ifconfig” command again and you should see the interface.
PACKET CAPTURING
Now that monitor mode is enabled we can perform some further tests to make sure that we can capture packets. We will be using the Airodump-ng feature to capture raw packets frames. To begin the packet capture process you will need to enter the following into your terminal session:
After issuing that command you should see that your WiFi adapter is finding beacons from the various wireless networks around you. If your WiFi adapter is not finding anything then you may need to reset the WiFi adapter. You can do this by exiting your current terminal session and opening a new one and typing:
ifconfig wlan0mon down
iwconfig wlan0mon mode monitor
ifconfig wlan0mon up
After you issue the three commands above you can then use the “airodump-ng wlan0mon” command again to check for packet capturing.
If you still don’t see any packets being captured then there could be a problem with your USB WiFi adapter or VirtualBox is configured improperly.
How to get Alfa awus036nha to work with Kali Linux?
I’m running Kali Linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. I’ve also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network connection (Intel(R) Wireless-N 7260) with Kali and I have set up the Alfa 036nha as a usb device for Kali through virtualbox. iwconfig in Kali gives no wireless extensions. ifconfig shows my bridged connection and Local loopback. lsusb shows: Bus 001. Atheros Communications, inc. AR9271 802.11n I thought that maybe it didn’t have the right drivers so i tried to apt-get install firmware-atheros but it said that it was already installed. I really don’t know what I should do here.. anyone care to help me out? You should now that I’m not too good with Linux etc. Edit: I found this https://www.youtube.com/watch?v=K1ETBeRQBs4 Which helped me getting the Alfa card to work in Kali. The trick was to add a new custom USB device in virtualbox where you just take the vendor ID and product ID from the alfa device and leave the other boxes blank. So now when i run ifconfig I get that wlan0 is up (Alfa) but eth0 is down (Intel(R) Wireless-N 7260). Now however the problem is that when I plug in the Alfa device my network connection from my other wifi ceases to work (Intel(R) Wireless-N 7260) (the connection bridged from my host). It disconnects in the host aswell. If I connect to a wifi (with 7260) in the host with kali and alfa running the alfa stops working in Kali. I want to have them both running. Anyone knows how to fix that?
If there are any suggestions about using the AWUS036NH that’d be great since I’m having this same issue but with the Ralink chipset.
ALFA Network AWUS036NH Kali Driver Installation
GNU/Linux Kali ALFA Network AWUS036NH Wifi Adapter Driver Setup Guide
Hi! The linked Tutorial shows you Step-by-Step How to Install ALFA Network AWUS036NH Wireless 802.11ac Driver in Kali GNU/Linux Desktop.
And the Kali ALFA Network AWUS036NH Adapter is based on the Ralink RT3070 Chipset.
Indeed, as for the LKDDB (Linux Kernel Driver DataBase) the Device should be supported from the 2.6.32 Kernel release.
But it may be just missing the Proprietary Firmware!
GNU/Linux Kali ALFA Network AWUS036NH Wireless Driver Installation Guide
Showing Ads here is the best solution I found for not embarassing somebody about participating in a #%$Foundation^.
«When the Last Tree has been cut down, the Last Fish caught, the Last River poisoned, only then will we realize that One Cannot Eat Money.»
«No usable Computer exists today with completely Open Software and Hardware (as much as some companies want to Market themselves as such).»
Follow Us
The GNU/Linux Free Software Phylosophy
Steve Jobs’ Last Words
«Being a Winner in a Free Computing OS Mission means to adopt a Commercial like Strategy. Transcending Duality in Oneness and so dispensing both Free and Non Free Software. Cause evangelizing Freedom in a Non Free World is like keeping a Trojan Horse. Hallelujah!»
«Using the Money just for buying Stuff and Not Supporting the Free Gift Philosophy is a sign of a Selfish and Narrow Mind.»
What can Save the World from a Blind and Quick Self-destruction.
The Immediate and Humble Mass Conversion to the Spiritual Way!
Because Earth & Nature has been Ravaged without Pity by the Wild and Selfish mass Competition to Win and Shown that U’re someone Better because you got a Lot of fla$hY Power$$$.
«Taking care if somebody is liking, following, or buying is just a serious hidrance on the priceless Way of Creative Freedom.»
Credits
Everlasting Glory to God, Jesus Christ, The Holy Spirit, Ganesha, Shiva, Vishnu, Krisna, Laozi, Buddha, Bodhidharma, Ma Gcig, Hakuin, Ikkyu, Nagarjuna, Tilopa, Naropa, Milarepa, Suhrawardi, St Dismas, St Francesco, St Teresa, St John, St Filippo, Eckehart. All The Holy Divinities, Avatars, Saints, Mystics, and True Spiritual Masters. Because they are in the Eternal Light of Truth & Delight Enlightening a World of Darkness, Nescience, Blindness, Uneasiness and Falsehood!
Introduction
Alfa wifi adapters became famous because of its quality and the power of the device. If you are working as a pentester and you need to do a audit to a wifi network, this device is a must have. In this short tutorial we will use the Alfa AWUS036NHA , which is a newer model that has more capabilities (check apenddix). The awus036nha comes with an atheros ar9271 chip. Alfa has a lot of counterfeit models, make sure you buy the original. This adapter is only for 2.4ghz and it has a sma connector. This usb wifi card is compatible with 802.11g or 802.11n, mimo and supports data rate up to 150 mbps. We also recommend to switch the antenna for a better one, like the 8dBi TP-LINK omni directional a or the Alfa 2.4HGz 7dBi .
Kali linux configuration steps
apt-get update apt-get upgrade apt-get dist-upgrade apt-get install firmware-atheros
Using awus036nha with aircrack
The command will create a new wireless interface which ends with “mon” prefix. Now you can use airodump-ng, aireplay-ng commands:
airodump-ng wlan0mon aireplay-ng --fakeauth 0 -e "your network ESSID" -a 00:FF:00:FF:00:FF wlan0mon
Common errors
Solution to «wlan0 is not injecting or proximity is low»
Since AWUS036NHA supports injections, make sure you are more close (use a better antenna)
usb 2-2: ath9k_htc: USB layer deinitialized
apt remove firmware-atheros apt install firmware-atheros