Results 1 to 3 of 3

Thread: ALFA AWUS036NHA Disconnects after a while

  1. #1
    Join Date
    2017-Aug
    Posts
    2

    Exclamation ALFA AWUS036NHA Disconnects after a while

    Hello all.

    I've got a problem for a while with kali linux installed on my hdd, the adapter disconnects randomly. I've tried using it into a live usb and works properly.
    In windows 10 works great, no disconnections and zero problems.

    ALso, I've noticed that the disconnections are most likely to happen when downloading stuff (such as updating the drivers or downloading things).
    This problem has nothing to do with signal strength.
    Information:
    QUICK COMMANDS:
    airmon-ng --verbose
    Code:
    No LSB modules are available.
    Distributor ID:	Kali
    Description:	Kali GNU/Linux Rolling
    Release:	kali-rolling
    Codename:	kali-rolling
    
    Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux
    
    K indicates driver is from 4.9.0-kali4-amd64
    V indicates driver comes directly from the vendor, almost certainly a bad thing
    S indicates driver comes from the staging tree, these drivers are meant for reference not actual use, BEWARE
    ? indicates we do not know where the driver comes from... report this
    
    
    X[PHY]Interface		Driver[Stack]-FirmwareRev		Chipset										Extended Info
    
    K[phy26]wlan0		ath9k_htc[mac80211]-1.4			Atheros Communications, Inc. AR9271 802.11n
    lsusb; lspci
    Code:
    Bus 005 Device 030: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 275d:0ba6  
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
    00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
    00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
    00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
    00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
    00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
    00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
    00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
    00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
    01:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
    rfkill unblock wifi; rfkill list
    Code:
    26: phy26: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    iwconfig; airmon-ng
    Code:
    eth0      no wireless extensions.
    
    lo        no wireless extensions.
    
    wlan0     IEEE 802.11  ESSID:"myAP"  
              Mode:Managed  Frequency:2.452 GHz  Access Point: 10:FE:ED:XX:XX:XX  
              Bit Rate=5.5 Mb/s   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=21/70  Signal level=-89 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:221  Invalid misc:1184   Missed beacon:0
    
    
    PHY	Interface	Driver		Chipset
    
    phy26	wlan0		ath9k_htc	Atheros Communications, Inc. AR9271 802.11n
    lsb_release -a; uname -a
    Code:
    No LSB modules are available.
    Distributor ID:	Kali
    Description:	Kali GNU/Linux Rolling
    Release:	kali-rolling
    Codename:	kali-rolling
    Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux
    About the Device (Hardware)

    Chipset*? Atheros AR9271'
    Vendor/Make? Alfa network
    Model? WFUBALFA036NHA
    Revision/Version? 3015 (i think)

    About the software (Wi-Fi card)
    Stack? IEEE 802.11/b/g/n
    Driver? ath9k_htc


    About the software (OS)
    What version of Kali-Linux? kali-rolling
    What architecture is being used? 64 bits
    Is Kali-Linux being used in a Virtual Machine? NO

    Stages
    Whats happening?
    1.) Is the OS able to detect it?
    yes
    1.2) ...if not, is there any mention of it in kernel log?
    dmesg


    2.) Is there an interface?
    yes


    3.) Is anything using the interface?
    Code:
    27: phy27: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    Code:
    Found 3 processes that could cause trouble.
    If airodump-ng, aireplay-ng or airtun-ng stops working after
    a short period of time, you may want to run 'airmon-ng check kill'
    
      PID Name
      447 NetworkManager
      532 wpa_supplicant
    12236 dhclient
    4.) Are you able to connect to a Wi-Fi network?
    All types of networks (wpa2 the most)
    I've tried strong and low signals, it happens also with strong signals

    5.) Is monitor mode working?
    It works


    6.) Is injection working?
    Yes

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    That's an excellent post, you posted a lot of useful information that helps rule out a bunch of possibilities.

    Next time you boot, clear dmesg (dmesg -c) before plugging the card then post dmesg output right after disconnections happen? It might contain something useful.

  3. #3
    Join Date
    2017-Aug
    Posts
    2
    Quote Originally Posted by Mister_X View Post
    That's an excellent post, you posted a lot of useful information that helps rule out a bunch of possibilities.

    Next time you boot, clear dmesg (dmesg -c) before plugging the card then post dmesg output right after disconnections happen? It might contain something useful.
    Code:
    [  215.856018] usb 5-2: new high-speed USB device number 4 using ehci-pci
    [  216.020903] usb 5-2: New USB device found, idVendor=0cf3, idProduct=9271
    [  216.020906] usb 5-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
    [  216.020908] usb 5-2: Product: UB91C
    [  216.020911] usb 5-2: Manufacturer: ATHEROS
    [  216.020913] usb 5-2: SerialNumber: 12345
    [  216.440364] usb 5-2: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
    [  216.440506] usbcore: registered new interface driver ath9k_htc
    [  216.492266] usb 5-2: firmware: direct-loading firmware ath9k_htc/htc_9271-1.4.0.fw
    [  216.771039] usb 5-2: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
    [  217.023283] ath9k_htc 5-2:1.0: ath9k_htc: HTC initialized with 33 credits
    [  217.290281] ath9k_htc 5-2:1.0: ath9k_htc: FW Version: 1.4
    [  217.290283] ath9k_htc 5-2:1.0: FW RMW support: On
    [  217.290285] ath: EEPROM regdomain: 0x833a
    [  217.290286] ath: EEPROM indicates we should expect a country code
    [  217.290288] ath: doing EEPROM country->regdmn map search
    [  217.290289] ath: country maps to regdmn code: 0x37
    [  217.290291] ath: Country alpha2 being used: GB
    [  217.290292] ath: Regpair used: 0x37
    [  217.377970] ieee80211 phy0: Atheros AR9271 Rev:1
    [  217.438066] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  217.628950] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  217.876821] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  217.937134] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  219.740447] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  219.900486] wlan0: authenticate with 10:fe:ed:XX:XX:XX
    [  220.068678] wlan0: send auth to 10:fe:ed:XX:XX:XX (try 1/3)
    [  220.070795] wlan0: authenticated
    [  220.072038] wlan0: associate with 10:fe:ed:XX:XX:XX (try 1/3)
    [  220.077558] wlan0: RX AssocResp from 10:fe:ed:XX:XX:XX (capab=0x431 status=0 aid=6)
    [  220.086412] wlan0: associated
    [  220.086460] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [  230.088508] wlan0: deauthenticating from 10:fe:ed:XX:XX:XX by local choice (Reason: 3=DEAUTH_LEAVING)
    [  234.520651] wlan0: authenticate with 10:fe:ed:XX:XX:XX
    [  234.779313] wlan0: send auth to 10:fe:ed:XX:XX:XX (try 1/3)
    [  234.783315] wlan0: authenticated
    [  234.788035] wlan0: associate with 10:fe:ed:XX:XX:XX (try 1/3)
    [  234.793693] wlan0: RX AssocResp from 10:fe:ed:XX:XX:XX (capab=0x431 status=0 aid=6)
    [  234.802544] wlan0: associated
    [  460.317924] perf: interrupt took too long (2524 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
    [  642.045220] perf: interrupt took too long (3174 > 3155), lowering kernel.perf_event_max_sample_rate to 63000
    [  742.982701] usb 5-2: USB disconnect, device number 4
    [  743.000051] wlan0: deauthenticating from 10:fe:ed:XX:XX:XX by local choice (Reason: 3=DEAUTH_LEAVING)
    [  743.018036] ath: phy0: Failed to wakeup in 500us
    [  743.028602] ath: phy0: Failed to wakeup in 500us
    [  743.128956] ath: phy0: RX failed to go idle in 10 ms RXSM=0x205e2436
    [  743.138993] ath: phy0: Failed to wakeup in 500us
    [  743.184186] usb 5-2: ath9k_htc: USB layer deinitialized
    [  743.520034] usb 5-2: new high-speed USB device number 5 using ehci-pci
    [  743.684889] usb 5-2: New USB device found, idVendor=0cf3, idProduct=9271
    [  743.684893] usb 5-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
    [  743.684895] usb 5-2: Product: UB91C
    [  743.684898] usb 5-2: Manufacturer: ATHEROS
    [  743.684900] usb 5-2: SerialNumber: 12345
    [  743.685801] usb 5-2: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
    [  743.686175] usb 5-2: firmware: direct-loading firmware ath9k_htc/htc_9271-1.4.0.fw
    [  743.965027] usb 5-2: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
    [  744.217143] ath9k_htc 5-2:1.0: ath9k_htc: HTC initialized with 33 credits
    [  744.485272] ath9k_htc 5-2:1.0: ath9k_htc: FW Version: 1.4
    [  744.485275] ath9k_htc 5-2:1.0: FW RMW support: On
    [  744.485277] ath: EEPROM regdomain: 0x833a
    [  744.485278] ath: EEPROM indicates we should expect a country code
    [  744.485280] ath: doing EEPROM country->regdmn map search
    [  744.485281] ath: country maps to regdmn code: 0x37
    [  744.485282] ath: Country alpha2 being used: GB
    [  744.485283] ath: Regpair used: 0x37
    [  744.490087] ieee80211 phy1: Atheros AR9271 Rev:1
    [  744.549645] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  744.738334] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  744.989322] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  745.031780] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  746.897579] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  747.076879] wlan0: authenticate with 10:fe:ed:XX:XX:XX
    [  747.247294] wlan0: send auth to 10:fe:ed:XX:XX:XX (try 1/3)
    [  747.275293] wlan0: send auth to 10:fe:ed:XX:XX:XX (try 2/3)
    [  747.282428] wlan0: authenticated
    [  747.284050] wlan0: associate with 10:fe:ed:XX:XX:XX (try 1/3)
    [  747.428031] wlan0: associate with 10:fe:ed:XX:XX:XX (try 2/3)
    [  747.436565] wlan0: RX AssocResp from 10:fe:ed:XX:XX:XX (capab=0x431 status=0 aid=2)
    [  747.445398] wlan0: associated
    [  747.445446] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Similar Threads

  1. Alfa AWUS036NHA issues
    By Hillbilly123 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-02-03, 14:01
  2. Alfa AWUS036NHA NEED HELP!!
    By ea0977 in forum How-To Archive
    Replies: 1
    Last Post: 2015-11-12, 18:21
  3. Alfa awus036nha
    By johnsmith in forum General Archive
    Replies: 3
    Last Post: 2015-01-07, 18:35

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •