seClusiO
2015-08-20, 12:34
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.
http://www.rokland.com/mask/drivers/alfa/AWUS036NHA-win8.zip
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
Step 2:
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:
nano /etc/apt/sources.list
Add the following.
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update the list of available packages and install the firmware-atheros package:
# apt-get update && apt-get install firmware-atheros
Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.
next in terminal type
dmesg
If you encounter an error such as
ath9k_htc: Firmware - htc_9271.fw download failed
don't worry its because the downloading failed therefore we need manually download the file into /lib/firmware folder
cd lib/firmware
sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
reboot
Once rebooted.
Connect the AWUS036NHA device to your system again.
type:
lsusb
to check the usb is connected to Kali.
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
dmesg
to check if any error when plug into the usb if everything is good proceed.
ifconfig -a
to check wlan1 or wlan0 is visible if yes good if not let me know.
once visible we need to kill some services.
next...
type:
airmon-ng check kill
airmon-ng start wlan1
ifconfig wlan1mon down
iwconfig wlan1mon mode monitor
ifocnfig wlan1mon up
Finally you can start
airodump-ng wlan1mon
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.
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
736 ifconfig
737 ifconfig -a
738 airmon-ng
739 ls
740 iwconfig
741 ifconfig -a
742 cd
743 apt-get install firmware-atheros
744 dmesg
745 aptitude install firmware-atheros
746 dmesg
747 lsusb
748 dmesg
749 ls
750 dmesg
751 cd /lib
752 cd firmware/
753 ls
754 sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
755 ls
756 dmesg
757 cd /home/seclusio/Downloads/
758 ls
759 cd /lib/firmware/
760 ls
761 dmesg
762 ifconfig -a
763 dmesg
764 lsusb
765 airmon-ng
766 airmon-ng check kill
767 lsusb
768 dmesg
769 cd /etc/
770 history
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*
780 dmesg
781 lsusb
782 cd
783 dmesg
784 ifconfig
785 airmon-ng
786 airmon-ng check kill
787 airmon-ng
788 airmon-ng start wlan1
789 ifconfig
790 ifconfig wlan1mon down
791 iwconfig wlan1mon mode monitor
792 ifconfig wlan1mon up
793 airodump-ng --help
794 airodump-ng wlan1mon
Here is the working proof:
750
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. :cool:
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.
http://www.rokland.com/mask/drivers/alfa/AWUS036NHA-win8.zip
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
Step 2:
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:
nano /etc/apt/sources.list
Add the following.
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update the list of available packages and install the firmware-atheros package:
# apt-get update && apt-get install firmware-atheros
Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.
next in terminal type
dmesg
If you encounter an error such as
ath9k_htc: Firmware - htc_9271.fw download failed
don't worry its because the downloading failed therefore we need manually download the file into /lib/firmware folder
cd lib/firmware
sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
reboot
Once rebooted.
Connect the AWUS036NHA device to your system again.
type:
lsusb
to check the usb is connected to Kali.
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
dmesg
to check if any error when plug into the usb if everything is good proceed.
ifconfig -a
to check wlan1 or wlan0 is visible if yes good if not let me know.
once visible we need to kill some services.
next...
type:
airmon-ng check kill
airmon-ng start wlan1
ifconfig wlan1mon down
iwconfig wlan1mon mode monitor
ifocnfig wlan1mon up
Finally you can start
airodump-ng wlan1mon
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.
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
736 ifconfig
737 ifconfig -a
738 airmon-ng
739 ls
740 iwconfig
741 ifconfig -a
742 cd
743 apt-get install firmware-atheros
744 dmesg
745 aptitude install firmware-atheros
746 dmesg
747 lsusb
748 dmesg
749 ls
750 dmesg
751 cd /lib
752 cd firmware/
753 ls
754 sudo wget -P /lib/firmware http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
755 ls
756 dmesg
757 cd /home/seclusio/Downloads/
758 ls
759 cd /lib/firmware/
760 ls
761 dmesg
762 ifconfig -a
763 dmesg
764 lsusb
765 airmon-ng
766 airmon-ng check kill
767 lsusb
768 dmesg
769 cd /etc/
770 history
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*
780 dmesg
781 lsusb
782 cd
783 dmesg
784 ifconfig
785 airmon-ng
786 airmon-ng check kill
787 airmon-ng
788 airmon-ng start wlan1
789 ifconfig
790 ifconfig wlan1mon down
791 iwconfig wlan1mon mode monitor
792 ifconfig wlan1mon up
793 airodump-ng --help
794 airodump-ng wlan1mon
Here is the working proof:
750
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. :cool: