Page 1 of 5 123 ... LastLast
Results 1 to 10 of 190

Thread: ath9k

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    ath9k

    Newly release ath9k drivers for Atheros 802.11n cards.
    http://www.phoronix.com/scan.php?pag...item&px=NjYyMw

    Anyone with a MacBookPro2,1 or MacBookPro3,1 want to test?

  2. #2
    Join Date
    Apr 2007
    Beans
    23

    Re: ath9k

    I'm waiting for the Access Point support in the new ath9k drivers. I want to use my WMP300N (AR5416) in my Linux router.

  3. #3
    Join Date
    May 2006
    Location
    BH, Brazil
    Beans
    338

    Re: ath9k

    This is OLD and OBSOLETE. Please don't use it!

    Answering requests, I have created a shell script that will compile the ath9k wireless driver for your kernel. You might be using any official ubuntu kernel (including kubuntu, xubuntu and ubuntu-studio), or a kernel that you compiled from source. This script will generate a custom deb package just for you!

    To use it, just extract the script from the tar.gz attached.
    Then run:

    Code:
    $ bash compat-wireless-ath9k-20080916.sh
    If you have compiled your own kernel from source, just run it like this:

    Code:
    $ bash compat-wireless-ath9k-20080916.sh --custom
    The script will generate a shiny new deb package for you!
    Please, try it and report any bugs to me here!


    ----

    Warning 1: This is still an experimental driver and might have some problems.
    Warning 2: You don't need this if you are using Intrepid Ibex Alpha. It's already included there!

    ----

    Current Version:
    compat-wireless-ath9k-20080916.tar.gz (Hosted at Rapidshare)

    Old Versions:
    compat-wireless-ath9k-20080907.tar.gz (Hosted at Rapidshare)
    compat-wireless-ath9k-20080806.tar.gz (Hosted at Rapidshare)
    Last edited by volanin; April 28th, 2009 at 03:17 PM.

  4. #4
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: ath9k

    Quote Originally Posted by volanin View Post
    It is not so trivial to test this driver yet. The source code only applies
    against the wireless-testing kernel tree, and cannot be applied cleanly
    against any version of the vanilla kernel.

    Since it's too late to be part of 2.6.26, we will probably only see it on
    2.6.27 or even 2.6.28, which means that it will not be available for
    Intrepid as well...

    Unless the Ubuntu Kernel Team manages to backport it, of course!
    well darn. Maybe we will need to package the wireless-testing modules and the ath9k together...

  5. #5
    Join Date
    May 2006
    Location
    BH, Brazil
    Beans
    338

    Re: ath9k

    #####################################
    OUTDATED!!!
    Check the new instructions here!
    #####################################


    Quote Originally Posted by cyberdork33 View Post
    well darn. Maybe we will need to package the wireless-testing modules and the ath9k together...
    Well, I took your advice to heart and did just that!
    But I must say... it was hard, I mean... very damn HARD!
    Next time I shall think twice before following your suggestions!


    Well, here it is!
    This is the just released ath9k driver backported to the Ubuntu kernel.
    I have been using it for a few hours now, and it works pretty well!


    How to install:

    1. You can either download the correct package (i386 or amd64) linked at the end of this post and install it directly... or you can download it via the mactel PPA (for mac-users only), so it'll always be up-to-date!

    To download it via the mactel PPA, just add the following line to your file /etc/apt/sources.list:

    Code:
    deb http://ppa.launchpad.net/mactel-support/ubuntu hardy main
    And then execute this in the command line:

    Code:
    $ sudo aptitude update
    $ sudo aptitude install compat-wireless-ath9k-generic
    2. After installing it, add the following line to the end of your /etc/modules:
    This will automatically load the driver everytime you boot your computer!
    Code:
    ath9k
    3. Restart and enjoy your wireless connection!
    Remember to disable ndiswrapper temporarily if you use it.


    Caveats:

    A- Due to limitations in PPA, this driver could only be compiled to the kernel currently in the main repository (2.6.24-19-generic). If you enabled the proposed repository, you should be using kernel 2.6.24-21-generic, and this driver will not install. You may opt to downgrade your kernel though! (Updated! Read the end of the post.)

    B- Since the Ubuntu kernel 2.6.24-19-generic was not compiled with the CONFIG_NETDEVICES_MULTIQUEUE option, the 802.11n mode will not work. But you will have full 802.11g support. This has already been fixed in the kernel 2.6.24-21-generic, so it's just a matter of time until it hits the main repository. (Updated! Read the end of the post.)

    C- This driver will report a lower signal strength then the ndiswrapper driver. I believe this is purely cosmetic though, since I have no problems connecting to my network from afar.

    D- Since this is still an experimental driver, trying to unload it will panic your kernel and hardlock your computer. Normally, you don't have to worry about that since the driver is never unloaded in normal use.


    Final comments:

    This is it!
    A pure linux driver to all of us who have Macbooks with Atheros cards!
    If you find any problems with the installation of the driver, please report it to me here so that I can fix the packages.

    Also, I have included ONLY the ath9k driver. If there is any interest in extra drivers that could be provided by the compat-wireless source (eg. ath5k, iwl3945, iwl4965), just ask politely and I might add them as well!

    Enjoy!



    Direct Downloads:

    compat-wireless-ath9k-2.6.24-19-generic_20080806-mactel1_i386.deb
    compat-wireless-ath9k-2.6.24-19-generic_20080806-mactel1_amd64.deb


    ### Update ###

    Although I can't use the PPA auto-build system to create a driver for the kernel 2.6.24-21-generic, I managed to build it locally on my machine! It means that, if you use this newest kernel version, now you have full 802.11n support! (for i386 only)

    Since I cannot host it at the PPA repository, and since the file is larger than the allowed attachment size, you will have to download it from Rapidshare. I hope you don't mind!


    compat-wireless-ath9k-2.6.24-21-generic_20080806-mactel1_i386.deb
    (Hosted at Rapidshare)
    compat-wireless-ath9k-2.6.24-20-generic_20080806-mactel1_i386.deb
    (Hosted at Rapidshare)


    ### Update 2 ###

    Answering requests, I have created a shell script that will compile the ath9k wireless driver for the kernel you are using right now. It might be any of the Ubuntu kernels, or even a custom kernel: this script will generate a custom deb package for you.

    To use it, just extract the script from the tar.gz attached.
    If you have an Ubuntu kernel, just run:

    Code:
    $ bash compat-wireless-ath9k-20080806.sh
    If you have a custom kernel, you must edit the script before running it, to remove the Ubuntu-specific kernel dependencies. Just open the extracted script in any text editor and change both lines:

    Code:
    PACKAGE_DEPENDENCIES="linux-image-`uname -r`"
    
    BUILD_DEPENDENCIES=(build-essential module-init-tools linux-headers-`uname -r`)
    To:

    Code:
    PACKAGE_DEPENDENCIES=""
    
    BUILD_DEPENDENCIES=(build-essential module-init-tools)
    And then run it!
    The script will generate a shiny new deb package for you!
    Please, try it and report any bugs to me here!


    compat-wireless-ath9k-20080806.tar.gz (Hosted at Rapidshare)
    Last edited by volanin; September 7th, 2008 at 04:12 PM.

  6. #6
    Join Date
    May 2005
    Location
    Santa Marta Colombia
    Beans
    26

    Re: ath9k

    Works like a charm here! I downloaded wireless-testin earlier but you've saved a TON of hassle.

    Many, many thanks!

    But yes you are correct in that I can only see about half of the networks in the area so it may be a bit weaker than madwifi previously.

    ..Oh and it loaded automatically without needin to alter /etc/modules

    Now need to try with 80211n

    Cheers

    Mark

  7. #7
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: ath9k

    Quote Originally Posted by volanin View Post
    Well, I took your advice to heart and did just that!
    But I must say... it was hard, I mean... very damn HARD!
    Next time I shall think twice before following your suggestions!
    Wow, I was really making the suggestion kinda tongue-in-cheek since I figure that you would have to backport a large portion of the kernel code... This is really awesome though!

    I made a linking post in Networking & Wireless since I figured there might be some non Apple users that could enjoy this:
    http://ubuntuforums.org/showthread.php?t=883731

    P.S. Volanin, you might want to add a note to your post to reiterate that the PPA is only for Mac users.
    Last edited by cyberdork33; August 8th, 2008 at 01:41 PM.

  8. #8
    Join Date
    Aug 2008
    Location
    Northfield, IL
    Beans
    88
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: ath9k

    Quote Originally Posted by volanin View Post
    ### Update ###

    Although I can't use the PPA auto-build system to create a driver for the kernel 2.6.24-20-generic, I managed to build it locally on my machine! It means that, if you use this newest kernel version, now you have full 802.11n support! (for i386 only)

    Since I cannot host it at the PPA repository, and since the file is larger than the allowed attachment size, you will have to download it from Rapidshare. I hope you don't mind!



    compat-wireless-ath9k-2.6.24-20-generic_20080806-mactel1_i386.deb
    (Hosted at Rapidshare)
    I tried the latest version and it crashes my OS every time I load the driver (non-mac). Should I recompile it for my installation? If so, can someone walk me through it?
    Ubuntu: IntrepidIbex x32 v8.10-RC (v2.6.27-7 Kernel) / Gnome / C.Fusion / Emerald / Guake / wicd / etc...
    UbuntuUser#: 24216

  9. #9
    Join Date
    Feb 2008
    Beans
    1

    Smile Re: ath9k

    Hello Volanin,

    Thanks a lot for your work with compat-wireless-ath9k-20080806.sh
    You did a really great job.

    On my eeepc 1000, I replaced my wifi adapter for an ath9k one.
    I tried to use your script with Ubuntu Kernel 2.6.24-21-eeepc (from array.org) and I encountered problems compiling wme.c which is in mac80211 directory.
    It comes from the ifdef CONFIG_MAC80211_QOS which is not evaluated correctly with my kernel. I did not find exactly why but may there is a confusion with CONFIG_NET_SCHED which is used as comment behind the #endif at the end of wme.h
    I have compiled with no problem using kernel 2.6.24-22 but I needed 2.6.24-21-eeepc for other problems encountered in 2.6.24-22 on my eeepc

    I hope these informations will be usefull in order to correct the problem.

    If it is not clear enough don't hesitate to ask questions

    Thanks a lot for your help

    Regards

    Charles

  10. #10
    Join Date
    Sep 2008
    Beans
    3

    Re: ath9k

    Great work! I tried compat-wireless-ath9k-20080806.sh on Debian testing on Aug. 31, and (after one or two small fixes), it worked very well at the WPA2 protected network of my relatives.

    Today I tried compat-wireless-ath9k-20080806.sh with an unencrypted AP, but unfortunately that didn't seem to work. I noticed there was a new version, so I tried compat-wireless-ath9k-20080916.sh, and this time, it worked out of the box on Debian testing of Sept. 17. Unfortunately, I cannot join a secured AP at this moment since I don't know any passwords here, but I assume it still works. However, joining an unencrypted AP stil fails.

    Is this a known issue with the ath9k driver? Or is there something else wrong?

    Below is a portion of /var/log/syslog during the attempt to connect to the unsecured AP.

    Best regards and thanks for all the work!

    Admar

    A snippit from /var/log/syslog:
    Sep 17 22:11:59 pingguo NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
    Sep 17 22:11:59 pingguo NetworkManager: <info> Activation (wlan0/wireless): access point 'linksys' is unencrypted, no key needed.
    Sep 17 22:12:01 pingguo NetworkManager: <info> SUP: sending command 'INTERFACE_ADD wlan0^I^Iwext^I/var/run/wpa_supplicant^I'
    Sep 17 22:12:01 pingguo NetworkManager: <info> SUP: response was 'OK'

    ...(some more <info> SUP: messages)...

    Sep 17 22:12:01 pingguo NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Sep 17 22:12:04 pingguo NetworkManager: <info> Old device 'wlan0' activating, won't change.

    ...(some more messages about "Old device 'wlan0' activating, won't change")...

    Sep 17 22:14:01 pingguo NetworkManager: <info> Activation (wlan0/wireless): association took too long (>120s), failing activation.

Page 1 of 5 123 ... LastLast

Tags for this Thread

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
  •