Jump to content

AWUS036NEH - Monitor and managed mode problem


Dwarfdard

Recommended Posts

Hello,

I have a problem with my USB Key alfa on kali linux.

At the start of kali, she detect network, after i put in monitor mode with :

airmon-ng check kill
airmon-ng start wlan0

After i use, but i don't detect any network :

airodump-ng wlan0mon

After i put it in managed  mode :

airmon-ng start wlan0
service NetworkManager restart

But she not detect network, i have juste the wifi icon.

If you have any idea, tell me please.

Good day.

Link to comment
Share on other sites

Ok, thanks you for answer.

 

root@Bonjour:~# lsusb
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

root@Bonjour:~# dmesg
[   30.475642] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   30.485515] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[   30.523750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.523940] usbcore: registered new interface driver rt2800usb
[   30.565971] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   30.576212] rt2800usb 1-8:1.0: firmware: direct-loading firmware rt2870.bin
[   30.576216] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[   30.868343] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0404 with error -71
[   32.115190] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
[   32.115196] ieee80211 phy0: rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)
[   35.666467] fuse: init (API version 7.31)
[   42.807478] rfkill: input handler disabled

root@Bonjour:~# dmesg | tail
[   30.523750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.523940] usbcore: registered new interface driver rt2800usb
[   30.565971] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   30.576212] rt2800usb 1-8:1.0: firmware: direct-loading firmware rt2870.bin
[   30.576216] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[   30.868343] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0404 with error -71
[   32.115190] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
[   32.115196] ieee80211 phy0: rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)
[   35.666467] fuse: init (API version 7.31)
[   42.807478] rfkill: input handler disabled

root@Bonjour:~# airmon-ng start wlan0

Found 2 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

  PID Name
  628 NetworkManager
  790 wpa_supplicant

PHY	Interface	Driver		Chipset

phy0	wlan0		rt2800usb	Ralink Technology, Corp. RT2870/RT3070

		(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
		(mac80211 station mode vif disabled for [phy0]wlan0)

root@Bonjour:~# aireplay-ng wlan0mon -9
14:06:10  Trying broadcast probe requests...
14:06:12  No Answer...
14:06:12  Found 0 APs

root@Bonjour:~# rfkill
ID TYPE DEVICE      SOFT      HARD
 0 wlan phy0   unblocked unblocked

Thanks for help.

Link to comment
Share on other sites

What are you running Kali on? Live ISO, VM, HDD install ? 

If VM, what software?

2 hours ago, Dwarfdard said:

[ 30.868343] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0404 with error -71

[ 32.115190] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware

[ 32.115196] ieee80211 phy0: rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)

Seen this before with VirtualBox

Link to comment
Share on other sites

42 minutes ago, Dwarfdard said:

Yet on windows it works perfectly.

I guess to rule out power issue is that on the same system that Kali is on, dual boot?

Did you buy a genuine Alfa adapter?  Some of the knock offs cause issues in Kali.  The RT3070 chipset should be plug and play as long as you didn't load any other drivers manually into Kali.

 

Link to comment
Share on other sites

  • 3 months later...

Has anyone found a fix to this? I'm having the same issues.

I'm running dual-boot Kali Linux with MacOS.

Help would be really appreciated!

 

uname -r:

Quote

5.3.0-kali3-amd64

 

dmesg:

Quote

[    7.241168] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[    7.242712] rt2800usb 1-8:1.0: firmware: direct-loading firmware rt2870.bin
[    7.244206] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[    7.978399] broken atomic modeset userspace detected, disabling atomic
[    9.866205] ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0404 with error -71
[   10.483024] rfkill: input handler disabled
[   11.129655] ieee80211 phy1: rt2800_wait_csr_ready: Error - Unstable hardware
[   11.129660] ieee80211 phy1: rt2800usb_set_device_state: Error - Device failed to enter state 4 (-5)
[   16.724466] rfkill: input handler enabled
[   16.750072] broken atomic modeset userspace detected, disabling atomic
[   18.659124] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   19.014032] traps: light-locker[1233] trap int3 ip:7fbac9856e25 sp:7ffce5f3cb60 error:0 in libglib-2.0.so.0.6200.4[7fbac981d000+80000]
[   20.890655] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52

lsusb:

Quote

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 003: ID 05ac:8600 Apple, Inc. iBridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

iwconfig:

Quote

wlan1     IEEE 802.11  ESSID:"XXXXXX"  
          Mode:Managed  Frequency:5.26 GHz  Access Point: XXXXXX
          Bit Rate=108 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=33/70  Signal level=-77 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short  long limit:2   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

 

Link to comment
Share on other sites

  • 4 months later...

I do have the exact same problem. Same WiFi stick on Kali 2020.

I cant solve it..

My stick does work on Windows perfectly. But not in a Kali 2020 VM and not on a installation on hdd.

It does work on the Kali Live CD (WHY EVER??). I installed it with that live cd and it doesnt work again.

wlan1 -> device not ready

"error - unstable hardware"

"device failed to enter state 4 (-5)

Link to comment
Share on other sites

So in vmware it seems that I can get the AWUS036NEH to work on Kali 2019.2 and before but NOT Kali 2019.3 and forward.  Using uname -r I get:

Kali 2019.2 => 4.19.0-kali4-amd64

Kali 2019.3 => 5.2.0-kali2-amd64

So I guess when the kernel went from 4 to 5 we lost support for the AWUS036NEH.  I also have an AWUS051NH and so far it works on everything up to 2019.4.  I haven't tried the 2020's yet as I have to modify my VMs and I haven't done that yet.  I'm also downloading the ISOs as I want to see if the AWUS036NEH's work in those as Mauley stated.  I'm curious why it would work in an ISO and not on an installed OS or VM.  I'll update when I have more info.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...