Here is some guide how to make AWUS036NHA working with Kali 2.0
I have been reading a lot and seems lot of people missing the actual step to make this Alfa AWUS036NHA running on Kali 2.0
Therefore I came out with this guide hopefully to kill your pain.
Step 1: (If you run on VMWare on Windows 8 Machine - Otherwise skip this)
If you are running Kali 2.0 on VMWare on Windows 8 you need to get right driver working.
There is a PDF inside the folder you to guide you, you only need to install the driver, follow the step from the PDF.
Reboot Windows 8
You need to install compatibility driver for AWUS036NHA on Kali 2.0 which is eth9k_htc Driver
Quick way is by adding Debian 8 "Jessie"
Add a "non-free" component to /etc/apt/sources.list, for example:
Add the following.
Update the list of available packages and install the firmware-atheros package:
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.
# apt-get update && apt-get install firmware-atheros
next in terminal type
If you encounter an error such as
don't worry its because the downloading failed therefore we need manually download the file into /lib/firmware folder
ath9k_htc: Firmware - htc_9271.fw download failed
sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
Connect the AWUS036NHA device to your system again.
to check the usb is connected to Kali.
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
to check if any error when plug into the usb if everything is good proceed.
to check wlan1 or wlan0 is visible if yes good if not let me know.
once visible we need to kill some services.
Finally you can start
airmon-ng check kill
airmon-ng start wlan1
ifconfig wlan1mon down
iwconfig wlan1mon mode monitor
ifocnfig wlan1mon up
Just to ensure that I didn't missed anything here are the history of commands. But DON'T FOLLOW exactly this because a lot of tries and errors during the process to make it work, with many forums suggest this and that which I did try most of them.
Here is the working proof:
731 nano /etc/apt/sources.list
732 apt-get update && apt-get install firmware-atheros
733 ifconfig -a
734 service network-manager stop
735 service network-manager start
737 ifconfig -a
741 ifconfig -a
743 apt-get install firmware-atheros
745 aptitude install firmware-atheros
751 cd /lib
752 cd firmware/
754 sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
757 cd /home/seclusio/Downloads/
759 cd /lib/firmware/
762 ifconfig -a
766 airmon-ng check kill
769 cd /etc/
771 nano apt/sources.list
772 sudo apt-get install -t squeeze-backports firmware-atheros
773 cd /lib
774 cd firmware/
775 ls -la /lib/firmware/htc_9271.fw
776 ls -la /lib/firmware
777 modprobe -rw htc_9271.fw
778 modprobe -rv htc_9271.fw
779 ls *htc*
786 airmon-ng check kill
788 airmon-ng start wlan1
790 ifconfig wlan1mon down
791 iwconfig wlan1mon mode monitor
792 ifconfig wlan1mon up
793 airodump-ng --help
794 airodump-ng wlan1mon
Let me know, if I made some unnessary commands, its always about try error process, I'm not perfect by the way. Just helping out buddies here.