This is the old SliTaz forum - Please use the main forum.slitaz.org

[SOLVED] Wireless Atheros usb doesn't work
  • TitouTitou May 2010
    I have SLitaz installed on an old laptop.
    I have a TP-link Wireless usb adapter, I followed the installation instruction for finding and installing the corresponding module which is the Atheros 9240.
    When I type lsmod, the module seems loaded but when I do iwconfig there is no wireless interface.
    Someone could tell me how what can I do it worked?

    Titou
  • mojomojo May 2010
    Install usbutils+libusb+libusb-compat+linux-wireless tazpkgs
    Open terminal and post output from
    root@slitaz: lsusb
  • TitouTitou May 2010
    All the recquired packages are already installed, 
    Here the result of the lsusb command:

     Bus 001 Device 001: ID ld6b:0001 Linux Foundation 1.1 root hub
     Bus 001 Device 002: ID 0cf3:1002 Atheros Communications, inc.

    And here the result of lsmod command:
    Module                  Size  Used by    Not tainted
    ar9170usb              36264  0
    mac80211              138268  1 ar9170usb
    cfg80211               52872  1 mac80211
    led_class               3436  1 ar9170usb
    yenta_socket           20988  0
    rsrc_nonstatic          9136  1 yenta_socket
    pcmcia_core            27628  2 yenta_socket,rsrc_nonstatic
    snd_ali5451            16108  1
    snd_ac97_codec         88736  1 snd_ali5451
    ac97_bus                1308  1 snd_ac97_codec
    snd_pcm                51780  2 snd_ali5451,snd_ac97_codec
    snd_timer              16344  1 snd_pcm
    snd                    43584  6 snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
    soundcore               5180  1 snd
    snd_page_alloc          7256  1 snd_pcm

    When I do iwconfig, no wireless interface is detected....

  • mojomojo May 2010

    Have you installed the ar9170usb firmware in /lib/firmware ?

    I see no get-ar9170 script in slitaz to autoinstall from wifibox

    The links to the firmware are here:

    http://wireless.kernel.org/en/users/Drivers/ar9170

    http://www.linuxwireless.org/en/users/Drivers/ar9170

    Try the official device firmware One Stage first,then Two Stage if necessary.

    The open firmware requires compiling which I have no clue how to do.

    Download the file,open terminal 

    md5sum ar9170.fw

    verify it match's the md5sum given by the download link

    Copy or move the firmware to /lib/firmware

    as root user

    modprobe -r ar9170usb  

    then

    modprobe ar9170usb 

    ifconfig wlan0 up

    ifconfig

    If you still have no wireless adapter showing try the other firmware

    If you've done all the steps and still need help post output from

    dmesg | grep -i firmware

    dmesg | grep -i ar9170usb

  • TitouTitou May 2010
    I tried with both firmware but no wireless adapter is available,
    Here is the result of dmesg:
    dmesg | grep -i firmware
    [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
    pci 0000:00:0a.0: Firmware left e100 interrupts enabled; disabling

    dmesg | grep -i ar9170usb
    usbcore: deregistering interface driver ar9170usb
    usbcore: registered new interface driver ar9170usb


    I've got a usb 1.0 port, but the wireless dongle is 2.0 usb, can't be the problem?

    Thanks for your help,

    Titou
  • mojomojo May 2010
    The kernel version in slitaz-3.0 stable is 2.6.30-6 according to
    http://linuxwireless.org/en/users/Drivers/ar9170#ar9170 device driver
    the driver requires kernel 2.6.31
    Found this out from http://forums.gentoo.org/viewtopic-t-787133-start-0.html
    Slitaz made the same mistake as this gentoo user and compiled a module on a kernel version it won't work on.

    The driver should work in the current version of cooking which is kernel 2.6.33.4
    I verified that cooking linux-wireless tazpkg has the ar9170usb module
    WARNING
    Don't upgrade from stable to cooking with tazpkg it's broken.
    Download cooking.iso and give it a try.
  • TitouTitou May 2010
    I tried to download the cooking version on the official website but this is the 14 march 2010 version, and this is the kernel 2.6.30.
    Where could I find the cooking version with kernel 2.6.33?
    Sorry, I'm new to Slitaz and linux!

  • mojomojo May 2010
    Sorry, my bad.
    Go figure, another assumption gone wrong.
    Not your fault, hang in there,your doing great.
    I have not tested this,your system could break and not boot.
    When you boot into the newer kernel your old modules will no longer load.
    They can be updated from cooking later.

    If you've installed nvidia or ati non-free video drivers which use kernel module, edit /etc/x11/xorg.conf so your xserver use driver vesa before you do this or you'll boot to text mode. Reboot or kill and restart the xserver to verify the vesa driver works if you had to edit xorg.conf
    Make a backup copy of /boot/grub/menu.lst

    Download:
    http://mirror.slitaz.org/packages/cooking/linux-2.6.33.4.tazpkg
    http://mirror.slitaz.org/packages/cooking/linux-wireless-2.6.33.4.tazpkg
    Open xterm,become root,go to downloaded tazpkg folder
    root@slitaz: tazpkg install linux-2.6.33.4.tazpkg

    Xterm should display this info at the end of the install:
    GRUB is installed, these tree lines must be in your /boot/grub/menu.lst:
    Add this as a second entry below the one pointing to your existing kernel
    root@slitaz: tazpkg install linux-wireless-2.6.33.4.tazpkg

    Reboot,when you see the grub menu highlight your new kernel entry,hit enter, and keep your fingers crossed.

    If the new kernel won't boot use the old kernel and try to figure what is wrong.
    Likely it has to do with /boot/grub/menu.lst
    This is the best grub site out there:
    http://members.iinet.net.au/~herman546/index.html

    Once you get into the new kernel follow all the previous steps to bring up the wireless adapter.



  • TitouTitou May 2010
    I could instaled the new kernel but I've got a new error when I tried to load the ar9170 module, here the message from console:

    modprobe ar9170usb
    insmod: cannot insert
    '/lib/modules/2.6.33.4-slitaz/kernel/net/wireless/cfg80211.ko.gz':
    unknown symbol in module
    insmod: cannot insert
    '/lib/modules/2.6.33.4-slitaz/kernel/drivers/net/wireless/ath/ath.ko.gz':
    unknown symbol in module
    insmod: cannot insert
    '/lib/modules/2.6.33.4-slitaz/kernel/net/mac80211/mac80211.ko.gz':
    unknown symbol in module
    insmod: cannot insert
    '/lib/modules/2.6.33.4-slitaz/kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko.gz':
    unknown symbol in module
    modprobe: failed to load module ar9170usb: No such file or directory

  • mojomojo May 2010
    Open terminal as root
    root@slitaz: depmod -a 

  • TitouTitou May 2010
    I launched depmod, but when I tried to reload the ar9170usb module nothing changed I've got the same errors.
  • TitouTitou June 2010
    Good news, I tried with the last new kernel 2.6.34 and this time, the wireless adapter is detected, all seems worked!
    Thanks a lot for your help Mojo!

    Titou
This discussion has been closed.
← All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social