Find the answer to your Linux question:
Results 1 to 4 of 4
I have just installed Kubuntu 12.04 on a new white-box computer. I have connected the USB wifi dongle from my previous computer to the new one, but wlan is not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Location
    Israel
    Posts
    11

    Atheros USB dongle works on one computer, not on another


    I have just installed Kubuntu 12.04 on a new white-box computer. I have connected the USB wifi dongle from my previous computer to the new one, but wlan is not coming up:

    Code:
    $ ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 40:16:7e:64:24:a7  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:43 Base address:0x6000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:1296 (1.2 KB)  TX bytes:1296 (1.2 KB)
    
    $ lsmod | grep ath
    ath9k_htc              92738  0 
    mac80211              506862  1 ath9k_htc
    ath9k_common           14053  1 ath9k_htc
    ath9k_hw              411239  2 ath9k_htc,ath9k_common
    ath                    24067  3 ath9k_htc,ath9k_common,ath9k_hw
    cfg80211              205774  3 ath9k_htc,mac80211,ath
    
    $ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 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 001 Device 002: ID 8087:8008 Intel Corp. 
    Bus 002 Device 002: ID 8087:8000 Intel Corp. 
    Bus 003 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
    Bus 003 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    Bus 003 Device 004: ID 04d9:3015 Holtek Semiconductor, Inc. 
    Bus 003 Device 005: ID 046d:c068 Logitech, Inc. G500 Laser Mouse
    
    $ dmesg | grep -i ath
    [    7.673032] usb 3-6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [    7.675913] usb 3-6: ath9k_htc: Unable to allocate URBs
    [    7.675926] ath9k_htc: probe of 3-6:1.0 failed with error -22
    [    7.675943] usbcore: registered new interface driver ath9k_htc
    
    $ ls /lib/firmware | grep ath
    ath3k-1.fw
    ath6k
    
    $ uname -a
    Linux trepidation 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    
    $ cat /etc/issue
    Ubuntu 12.04.4 LTS \n \l
    I stress that the wireless device worked fine on my previous machine, also running Kubuntu 12.04 (installed from the same disk in fact). Since the module is loaded and the device recognized, why doesn't wlan come up?

    Additionally, I tested with a Kubuntu 14.04 LiveCD and got the exact same result: the modules are loaded but wlan won't come up.
    Last edited by dotancohen; 08-09-2014 at 09:59 AM. Reason: Update cli output

  2. #2
    Linux User nihili's Avatar
    Join Date
    Dec 2013
    Posts
    347
    Quote Originally Posted by dotancohen View Post
    Since the module is loaded and the device recognized, why doesn't wlan come up?
    the output you posted shows the opposite:

    - lsmod shows that no module called *ath* is loaded
    - lsusb shows nothing about atheros or anykind of wifi device

    before we can assess your problem we must clarify this contradiction.

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Location
    Israel
    Posts
    11
    Thank you, I have edited the OP with the correct information, i.e. with the wifi dongle actually connected!

    I have also uploaded the entire dmesg output here:
    pastebin.com/eYH8UQEs

    (I don't have enough posts to paste real links, sorry!)

    I have googled the errors in dmesg and I see reports that newer kernels do not suffer from this issue. However, I have the same issue even when I try a Kubuntu 14.04 (latest stable version) LiveCD, even though the issue was supposedly resolved in version 12.10. Also, I stress that this wifi dongle worked with 12.04 on another computer running 12.04.

    What else might I do to troubleshoot, given that I still have the issue in Kubuntu 14.04? I will fire up the LiveCD and grab the output of the above commands there as well.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2004
    Location
    Israel
    Posts
    11
    Kubuntu 14.04 was an interesting case. This is the initial output:
    Code:
    $ ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 40:16:7e:64:24:a7  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:287 errors:0 dropped:0 overruns:0 frame:0
              TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:20929 (20.9 KB)  TX bytes:20929 (20.9 KB)
    
    $ dmesg | grep -i ath
    [    0.770851] Loaded X.509 cert 'Magrathea: Glacier signing key: 5e3c0f9ca6e36543535fa2bb5b709e84f16da7c7'
    [    1.815707] usb 3-6: Manufacturer: ATHEROS
    [    6.110915] usb 3-6: ath9k_htc: Firmware htc_9271.fw requested
    [    6.110950] usbcore: registered new interface driver ath9k_htc
    [    6.462270] usb 3-6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [    7.459248] ath9k_htc 3-6:1.0: ath9k_htc: Target is unresponsive
    [    7.459257] ath9k_htc: Failed to initialize the device
    [    7.462171] usb 3-6: ath9k_htc: USB layer deinitialized
    The "Target is unresponsive" looked suspect, so I simply unplugged and reinserted the USB dongle. Now this:

    Code:
    $ dmesg | grep -i ath
    [    0.770851] Loaded X.509 cert 'Magrathea: Glacier signing key: 5e3c0f9ca6e36543535fa2bb5b709e84f16da7c7'
    [    1.815707] usb 3-6: Manufacturer: ATHEROS
    [    6.110915] usb 3-6: ath9k_htc: Firmware htc_9271.fw requested
    [    6.110950] usbcore: registered new interface driver ath9k_htc
    [    6.462270] usb 3-6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [    7.459248] ath9k_htc 3-6:1.0: ath9k_htc: Target is unresponsive
    [    7.459257] ath9k_htc: Failed to initialize the device
    [    7.462171] usb 3-6: ath9k_htc: USB layer deinitialized
    [  107.783619] usb 3-6: Manufacturer: ATHEROS
    [  107.784011] usb 3-6: ath9k_htc: Firmware htc_9271.fw requested
    [  108.065313] usb 3-6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [  108.302664] ath9k_htc 3-6:1.0: ath9k_htc: HTC initialized with 33 credits
    [  108.568163] ath9k_htc 3-6:1.0: ath9k_htc: FW Version: 1.3
    [  108.568166] ath: EEPROM regdomain: 0x809c
    [  108.568167] ath: EEPROM indicates we should expect a country code
    [  108.568167] ath: doing EEPROM country->regdmn map search
    [  108.568168] ath: country maps to regdmn code: 0x52
    [  108.568169] ath: Country alpha2 being used: CN
    [  108.568169] ath: Regpair used: 0x52
    [  108.682467] ieee80211 phy1: Atheros AR9271 Rev:1
    
    $ ifconfig -a        
    eth0      Link encap:Ethernet  HWaddr 40:16:7e:64:24:a7  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:287 errors:0 dropped:0 overruns:0 frame:0
              TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:20929 (20.9 KB)  TX bytes:20929 (20.9 KB)
    
    wlan0     Link encap:Ethernet  HWaddr d8:5d:4c:93:a4:7f  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    Yay! The wireless works in 14.04. However, due to an accessibility issue in 14.04 I cannot use that version. I will bring the machine to another location where there exists an ethernet cable to connect to the internet, upgrade the 12.04 kernel, and hope that resolves the issue. In the mean time I will close this thread. Thank you very much.

Posting Permissions

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