Kali linux alfa usb

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?

Читайте также:  What is rsa and rsa in linux

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 AWUS052NH – Kali Linux Compatible USB Adapter

Alfa AWUS052NH is relatively new Kali Linux Compatible USB Adapter. AWUS052NH is be able to work in monitor mode, do packet injections. It supports AP, frequency 2.4GHz and 5GHz, a/b/g/n standards. This Alfa has 2.4GHz + 5GHz Dual-Band 5dBi dipole antennas, you can replace them (they are detachable). Therefore, Alfa AWUS052NH is good choice for wireless pen testing.

Genuine Alfa AWUS052NH

You will get all advantage of AWUS052NH only if you get genuine Wi-Fi Adapter. You should buy in trusted shops. I bought my instance from this seller.

I got my Alfa AWUS052NH from the post office:

How to use Alfa AWUS052NH in VirtualBox

If you run Kali Linux in VirtualBox you can get an error like that:

ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x7010 with error -110 ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x7010 with error -110

To level the issue you can use the following method:

  1. Shut your virtual machine down
  2. Connect your Wi-Fi USB Adapter
  3. Go to the settings of the virtual machine, select USB
  4. Change USB 2.0 (EHCI) to USB 3.0 (xHCI)
  5. Add new USB filter with your Wi-Fi card
  6. Save settings

Issues with Alfa AWUS052NH in Kali Linux

There are some problems with Alfa AWUS052NH what you should consider while selecting your Wi-Fi USB Adapter for wireless pentesting.

  • It does not support 802.11ac. To say the true, I do not think it is a big problem.
  • While my test, AWUS052NH is not able to do packet injections on 5GHz. It is spoken, that Aircrack-ng Suite has the problem with 5GHz. Also I read reliable reports that AWUS052NH supports packet injections on 5GHz. So this is a controversial issue.
  • Another serious flaw is error while cracking WPS PINs. You can force Alfa AWUS052NH to work with Reaver using this fix.
Читайте также:  Dhcp lease file in linux

Example of usage Alfa AWUS052NH in Kali Linux

Put your wireless interface in monitor mode:

sudo ip link set wlan0 down sudo iw wlan0 set monitor none sudo ip link set wlan0 up

Start airodump, select all supported channels for jumping:

sudo airodump-ng wlan0 --channel 1-14,36-165

Conclusion

Alfa AWUS052NH is Kali Linux Compatible USB Adapter. It works out-of-the-box in Kali Linux, BlackArch, Ubuntu, and Linux Mint. It is able to work in a wide range, support many modern technologies. But it is not perfect. You should consider 5GHz and WPS issues.

5 Comments to Alfa AWUS052NH – Kali Linux Compatible USB Adapter

Please can you help I am running windows10 64bit and installed VMware player12 with kali linux 2016 using an ALFA AWUS036NHA usb adaptor, but for some reason when connected it keeps dropping out even though vmplayer is saying that Atheros 9271 is connectedAs a rookie learning about pen-testing am I doing something amiss to be having thi problem? would really appreciate your advise on this many thanks Terry Poynton.

2018th year: I was looking to buy this adapter Alfa AWUS052NH but it’s *not* available aywhere unless second hand.

Alex says:

Hello! I still have and love Alfa AWUS052NH, but indeed it is outdated in 2018. I recommend you the new article with actual «USB Wi-Fi Adapters with monitor mode and wireless injection (100% compatible with Kali Linux)»

..Old..but, very good! Which equipment is better than the alpha AWUS052NH (similar price) Thanks! congrats for article!

Источник

Проблема Kali Linux на виртуальной машине не видит адаптер альфу

1-до какого момента и в каких краях у Вас всё работало(на виртуалке или полноценно на ноуте до краша жд)?
2-сейчас, на данный момент, kali находится на виртуалке?

Mamai

Работала на виртуалке сломался жд. Купил другой скачал виртуалку и кали 2019.1 в интернет с виртуалки выход есть а альфу и wi fi не видеть. Пишет что нет подключенных wi fi модулей. При повторном втыкании альфы вылазиет окно что он не обнаружено

Читайте также:  Установить виртуальный экран linux xvfb

Vander

CodebyTeam

Работала на виртуалке сломался жд. Купил другой скачал виртуалку и кали 2019.1 в интернет с виртуалки выход есть а альфу и wi fi не видеть. Пишет что нет подключенных wi fi модулей. При повторном втыкании альфы вылазиет окно что он не обнаружено

cd rtl8812au # переходим в каталог со скачанным драйвером

make # компилируем драйвер

sudo make install # устанавливаем драйвер

Mamai

Mamai

При запуске вм пишет ошибку. Скачал rtl8812au в вожу пищетчто драйвер не найден где я лопухнулся

Помогите если не сложно его скампелировать

Вложения

zheki444

Mamai

А как его открыть git clone

Мне надо указать папку где он лежит?

cd rtl8812au # переходим в каталог со скачанным драйвером

make # компилируем драйвер

sudo make install # устанавливаем драйвер

Vander

CodebyTeam

Mamai

Vander

CodebyTeam

Tik

Зайдите в папку с драйвером, далее правой кнопкой мыши — открыть в терминале — вводим команду «make» получаем вот это:

«******************************************»
«NO SKRC,we will use default KSRC»
«******************************************»
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4 modules
make[1]: вход в каталог «/usr/src/linux-headers-4.19.0-kali4-amd64»
«******************************************»
«NO SKRC,we will use default KSRC»
«******************************************»
CC [M] /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/core/rtw_cmd.o
In file included from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service.h:41,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/drv_types.h:32,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/core/rtw_cmd.c:22:
/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service_linux.h: In function ‘_init_timer’:
/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service_linux.h:261:8: error: ‘_timer’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service_linux.h:262:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/drv_types.h:35,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/core/rtw_cmd.c:22:
/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/wifi.h: At top level:
/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/wifi.h:988: warning: «IEEE80211_MAX_AMPDU_BUF» redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /usr/src/linux-headers-4.19.0-kali4-common/include/net/cfg80211.h:24,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service_linux.h:83,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/osdep_service.h:41,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/include/drv_types.h:32,
from /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali4-common/scripts/Makefile.build:309: /root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4/core/rtw_cmd.o] Ошибка 1
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: _module_/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4] Ошибка 2
make[2]: *** [Makefile:146: sub-make] Ошибка 2
make[1]: *** [Makefile:8: all] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-4.19.0-kali4-amd64»
make: *** [Makefile:1367: modules] Ошибка 2

Источник

Оцените статью
Adblock
detector