Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: ar9271 detected, but not used

  1. #1
    Join Date
    Oct 2013
    Beans
    13

    ar9271 detected, but not used

    So I recently bought an external wifi card for my ubuntu laptop, as I have one for my windows machine and it works great.
    The problem is that ubuntu will not use the wifi card over the internal. When I try to 'modprobe -r' my internal, the usb does not take over.

    Code:
    iwconfig
    mlan0     IEEE 802.11abgn  ESSID:"SKY***CB"  
              Mode:Managed  Frequency:2.437 GHz  Access Point: 7C:4C:A5:30:8A:2D   
              Bit Rate=78 Mb/s   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:on
              Link Quality=39/70  Signal level=-71 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    lo        no wireless extensions.
    Here is an lsusb:
    Code:
    Bus 001 Device 002: ID 0424:3503 Standard Microsystems Corp. 
    Bus 003 Device 002: ID 058f:b001 Alcor Micro Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 004: ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271]
    as you can see, it detects the AR9271.

    Ubuntu version is 3.4.0 armv7l

    Thank you ^-^
    Last edited by al3xmail; October 31st, 2013 at 04:07 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,789
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: ar9271 detected, but not used

    The driver for your device, ath9k_htc, requires firmware. In many cases, it is not installed and the wireless device won't start. You might check the message logs:
    Code:
    dmesg | grep ath9
    If the problem is firmware, install it with:
    Code:
    sudo apt-get install linux-firmware
    sudo modprobe -r ath9k_htc
    sudo modprobe ath9k_htc
    Then, I'd blacklist the internal, although all evidence suggests it's working quite well:
    Code:
    sudo -i
    echo "blacklist <internal_driver>"  >>  /etc/modprobe.d/blacklist.conf
    exit
    Of course, substitute the actual internal driver here. Now unload the internal:
    Code:
    sudo modprobe -r <internal_driver>
    Check to see if the USB has created an interface, probably wlan1:
    Code:
    iwconfig
    Does it scan?
    Code:
    sudo iwlist wlan1 scan
    If it scans, it will probably connect.

    I know almost nothing about 3.4.0 armv7l, except that it isn't Ubuntu. There is a chance that ath9k_htc isn't present in 3.4.0 armv7l which is a whole new, interesting problem!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Oct 2013
    Beans
    13

    Re: ar9271 detected, but not used

    Thanks for the tips, but alass, it seems to fail at step 1.
    I think the ath9k_htc drivers are not in armv7l & I can't compile compat-wireless(or drivers) for the ath9k_htc drivers either.

    Code:
    sudo modprobe -r ath9k_htc
    FATAL: Module ath9k_htc not found.

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,789
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: ar9271 detected, but not used

    I can't compile compat-wireless(or drivers) for the ath9k_htc drivers either.
    And why not? What have you tried so far?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Oct 2013
    Beans
    13

    Re: ar9271 detected, but not used

    I get build error's upon using 'make'.

    I have tried:
    Most recent version of compat-drivers.
    An older version of compat-drivers.
    I know it should be wlan0(and the internal is mlan0) so I changed Wcid to use wlan0. Nothing.
    I have build essential too.

    EDIT:
    Error
    Code:
    make -C /lib/modules/3.4.0/build M=/home/user/Downloads/compat-wireless-3.6.8-1 modules
    make: *** /lib/modules/3.4.0/build: No such file or directory.  Stop.
    make: *** [modules] Error 2
    Last edited by al3xmail; October 31st, 2013 at 06:14 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,789
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: ar9271 detected, but not used

    It appears that you do not have linux-headers, however. Please install and try again.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Oct 2013
    Beans
    13

    Re: ar9271 detected, but not used

    It seems their are many linux headers, what one do I choose?

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,789
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: ar9271 detected, but not used

    Quote Originally Posted by al3xmail View Post
    It seems their are many linux headers, what one do I choose?
    In Ubuntu, I'd select linux-headers-generic, which is a meta-package that installs whatever is needed automagically. As a temporary step, you could install linux-headers matching your running kernel version; i.e. linux-headers-3.4.0 armv7l. As I said, I know about nothing about 3.4.0 armv7l (Sabayon??), so I really can't help much.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #9
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    40,411
    Distro
    Ubuntu Development Release

    Re: ar9271 detected, but not used

    Quote Originally Posted by al3xmail View Post
    It seems their are many linux headers, what one do I choose?
    The one that matches your installed kernel.

    If you are using the terminal try...

    Code:
    sudo apt-get install linux-headers-$(uname -r)

  10. #10
    Join Date
    Oct 2013
    Beans
    13

    Re: ar9271 detected, but not used

    I tried
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    and it shouts at me about there not being linux headers for 3.4.0 >.>
    I have found arm headers for 3.4.0-5, on the ubuntu software center; even goes as far as to state my device name.
    After installing that and rebooting, doing uname -r tells me I'm on the 3.4.0-5 headers.
    I'm still getting build errors though. Its complaining about there being no 3.4.0/build folder.

    In my /lib/modules I have 3 folders, '3.4.0', '3.4.0-5' & '3.8.0-32-generic'
    3.4.0 does not contain a build, but yet 3.4.0-5 does...

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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