Alfa AWUS051NH v2 RT3572 not working with rt2800usb
EDIT: Updated this post with more information. Please note that my adapter has the Ralink RT3572 chipset.
I currently have Kali Linux 2016.1 64-bit installed in VirtualBox 5.0.14r105127. Whenever I connect my Alfa AWUS051NH v2 (RT3572), it is recognized and rt2800usb is loaded, however I am unable to see any wireless networks, and I have to unload/reload rt2800usb/rt2x00usb in order to even get that and monitor mode to work, however they work sporadically. Packet injection does not work at all.
I have tried using modified vendor STA drivers but monitor mode does not work with these.
lsusb, lsmod, and dmesg output (duplicate lines removed):
Code:
root@kali-vm:~# lsusb
Bus 001 Device 002: ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter
root@kali-vm:~# lsmod
Module Size Used by
arc4 16384 2
rt2800usb 28672 0
rt2x00usb 24576 1 rt2800usb
rt2800lib 94208 1 rt2800usb
rt2x00lib 53248 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 626688 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 540672 2 mac80211,rt2x00lib
crc_ccitt 16384 1 rt2800lib
fuse 94208 3
bnep 20480 2
nfnetlink_queue 20480 0
nfnetlink_log 20480 0
nfnetlink 16384 2 nfnetlink_log,nfnetlink_queue
bluetooth 512000 5 bnep
rfkill 24576 5 cfg80211,bluetooth
vboxsf 45056 0
binfmt_misc 20480 1
ppdev 20480 0
snd_intel8x0 40960 4
snd_ac97_codec 126976 1 snd_intel8x0
iosf_mbi 16384 0
evdev 20480 18
joydev 20480 0
psmouse 126976 0
sg 32768 0
pcspkr 16384 0
snd_pcm 102400 2 snd_ac97_codec,snd_intel8x0
serio_raw 16384 0
snd_timer 32768 1 snd_pcm
snd 81920 12 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm
vboxvideo 16384 2
vboxguest 278528 8 vboxsf
parport_pc 28672 0
i2c_piix4 24576 0
battery 16384 0
8250_fintek 16384 0
soundcore 16384 1 snd
ac97_bus 16384 1 snd_ac97_codec
button 16384 0
acpi_cpufreq 20480 0
parport 49152 2 ppdev,parport_pc
drm 348160 4 vboxvideo
video 36864 0
ac 16384 0
processor 36864 1 acpi_cpufreq
autofs4 40960 2
ext4 577536 1
crc16 16384 2 ext4,bluetooth
mbcache 20480 1 ext4
jbd2 106496 1 ext4
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 57344 1 sr_mod
sd_mod 40960 3
ohci_pci 16384 0
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
jitterentropy_rng 16384 0
sha256_ssse3 28672 1
sha256_generic 24576 1 sha256_ssse3
hmac 16384 1
drbg 24576 1
ansi_cprng 16384 0
ahci 36864 2
ohci_hcd 49152 1 ohci_pci
ehci_pci 16384 0
libahci 32768 1 ahci
ehci_hcd 77824 1 ehci_pci
libata 233472 2 ahci,libahci
aesni_intel 167936 0
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
e1000 135168 0
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
usbcore 233472 7 rt2x00usb,ohci_hcd,ohci_pci,rt2800usb,ehci_hcd,ehci_pci,usbhid
cryptd 20480 2 aesni_intel,ablk_helper
usb_common 16384 1 usbcore
scsi_mod 229376 4 sg,libata,sd_mod,sr_mod
root@kali-vm:~# dmesg
[ 143.007621] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 143.331824] usb 1-1: New USB device found, idVendor=148f, idProduct=3572
[ 143.331827] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 143.331828] usb 1-1: Product: 802.11 n WLAN
[ 143.331829] usb 1-1: Manufacturer: Ralink
[ 143.331830] usb 1-1: SerialNumber: 1.0
[ 144.373418] cfg80211: World regulatory domain updated:
[ 144.373421] cfg80211: DFS Master region: unset
[ 144.373422] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 144.373423] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373425] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373426] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373427] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 144.373428] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 144.373429] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 144.373430] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373432] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 144.643531] usb 1-1: reset high-speed USB device number 2 using ehci-pci
[ 144.957320] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 145.480754] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0009 detected
[ 145.490478] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 145.490720] usbcore: registered new interface driver rt2800usb
[ 145.503167] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 145.503229] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 145.509389] rt2800usb 1-1:1.0: firmware: direct-loading firmware rt2870.bin
[ 145.509396] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 156.991560] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 220.352288] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[ 220.499789] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -110
[ 220.642397] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[ 220.789761] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[ 442.287762] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 443.174398] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[ 459.260893] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[ 459.368293] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 461.490124] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[ 462.527507] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 482.917882] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 1133.667431] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
Any help is greatly appreciated, thank you.
SOLVED
Don't use USB 2.0 (EHCI) in VirtualBox. Use USB 3.0 (xHCI).
That was an upsettingly simple solution.
not completely solved but this should
Quote:
Originally Posted by
Huskehn
EDIT: Updated this post with more information.
Please note that my adapter has the Ralink RT3572 chipset.
I currently have Kali Linux 2016.1 64-bit installed in VirtualBox 5.0.14r105127. Whenever I connect my Alfa AWUS051NH v2 (RT3572), it is recognized and rt2800usb is loaded, however I am unable to see any wireless networks, and I have to unload/reload rt2800usb/rt2x00usb in order to even get that and monitor mode to work, however they work sporadically. Packet injection does not work at all.
I have tried using
modified vendor STA drivers but monitor mode does not work with these.
lsusb, lsmod, and dmesg output (duplicate lines removed):
Code:
root@kali-vm:~# lsusb
Bus 001 Device 002: ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter
root@kali-vm:~# lsmod
Module Size Used by
arc4 16384 2
rt2800usb 28672 0
rt2x00usb 24576 1 rt2800usb
rt2800lib 94208 1 rt2800usb
rt2x00lib 53248 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 626688 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 540672 2 mac80211,rt2x00lib
crc_ccitt 16384 1 rt2800lib
fuse 94208 3
bnep 20480 2
nfnetlink_queue 20480 0
nfnetlink_log 20480 0
nfnetlink 16384 2 nfnetlink_log,nfnetlink_queue
bluetooth 512000 5 bnep
rfkill 24576 5 cfg80211,bluetooth
vboxsf 45056 0
binfmt_misc 20480 1
ppdev 20480 0
snd_intel8x0 40960 4
snd_ac97_codec 126976 1 snd_intel8x0
iosf_mbi 16384 0
evdev 20480 18
joydev 20480 0
psmouse 126976 0
sg 32768 0
pcspkr 16384 0
snd_pcm 102400 2 snd_ac97_codec,snd_intel8x0
serio_raw 16384 0
snd_timer 32768 1 snd_pcm
snd 81920 12 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm
vboxvideo 16384 2
vboxguest 278528 8 vboxsf
parport_pc 28672 0
i2c_piix4 24576 0
battery 16384 0
8250_fintek 16384 0
soundcore 16384 1 snd
ac97_bus 16384 1 snd_ac97_codec
button 16384 0
acpi_cpufreq 20480 0
parport 49152 2 ppdev,parport_pc
drm 348160 4 vboxvideo
video 36864 0
ac 16384 0
processor 36864 1 acpi_cpufreq
autofs4 40960 2
ext4 577536 1
crc16 16384 2 ext4,bluetooth
mbcache 20480 1 ext4
jbd2 106496 1 ext4
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 57344 1 sr_mod
sd_mod 40960 3
ohci_pci 16384 0
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
jitterentropy_rng 16384 0
sha256_ssse3 28672 1
sha256_generic 24576 1 sha256_ssse3
hmac 16384 1
drbg 24576 1
ansi_cprng 16384 0
ahci 36864 2
ohci_hcd 49152 1 ohci_pci
ehci_pci 16384 0
libahci 32768 1 ahci
ehci_hcd 77824 1 ehci_pci
libata 233472 2 ahci,libahci
aesni_intel 167936 0
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
e1000 135168 0
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
usbcore 233472 7 rt2x00usb,ohci_hcd,ohci_pci,rt2800usb,ehci_hcd,ehci_pci,usbhid
cryptd 20480 2 aesni_intel,ablk_helper
usb_common 16384 1 usbcore
scsi_mod 229376 4 sg,libata,sd_mod,sr_mod
root@kali-vm:~# dmesg
[ 143.007621] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 143.331824] usb 1-1: New USB device found, idVendor=148f, idProduct=3572
[ 143.331827] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 143.331828] usb 1-1: Product: 802.11 n WLAN
[ 143.331829] usb 1-1: Manufacturer: Ralink
[ 143.331830] usb 1-1: SerialNumber: 1.0
[ 144.373418] cfg80211: World regulatory domain updated:
[ 144.373421] cfg80211: DFS Master region: unset
[ 144.373422] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 144.373423] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373425] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373426] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373427] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 144.373428] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 144.373429] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 144.373430] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 144.373432] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 144.643531] usb 1-1: reset high-speed USB device number 2 using ehci-pci
[ 144.957320] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 145.480754] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0009 detected
[ 145.490478] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 145.490720] usbcore: registered new interface driver rt2800usb
[ 145.503167] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 145.503229] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 145.509389] rt2800usb 1-1:1.0: firmware: direct-loading firmware rt2870.bin
[ 145.509396] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 156.991560] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 220.352288] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[ 220.499789] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -110
[ 220.642397] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[ 220.789761] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[ 442.287762] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 443.174398] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[ 459.260893] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[ 459.368293] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 461.490124] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[ 462.527507] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 482.917882] ieee80211 phy0: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[ 1133.667431] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
Any help is greatly appreciated, thank you.
SOLVED
Don't use USB 2.0 (EHCI) in VirtualBox. Use USB 3.0 (xHCI).
That was an upsettingly simple solution.
Configuration:
WIN10 / VB 5.1.12 / Card awus051nh V2
Symptons :
Identical - airmon-ng start wlan0 check kill would create wlan0mon. airodump-ng wlan0mon would not pickup anything at all.
TroubleShooting steps:
Looked via WIN10 noticed it was not picking up 5g signals only 2.4g. Updated drivers from Alpha's website. This resolved the WIN10. Then would have sporadic results when checking Kali wireless connections whether or not it would pickup anything around me. Also Fluxion would not recognize and exit out stating wireless card not found.
Final Solution:
As stated the USB xHCI 3.0 needed to be set. I also downloaded drivers from Alpha for Linux. In firmware zip is rt2870.bin, renamed /lib/firmware/rt2870.bin (from instalation and updated via apt-get update && apt-get upgrade -y followed by apt-get distro-upgrade) to /lib/firmware/rt2870.bin.old I then copied the rt2870.bin from Alpha website to /var/firmware. Restarted box shutdown -r now.
Now everything works as intendted so far. I can create a monitor on the card using airmon-ng and pickup everything around me as well as fluxion. I have not tested further with de-auths and WPA2 cracking (working on that test next). I will update on those results, but it would seem for now that updating the WIN10 drivers for the card from alpha and inside of Kali is the solution.