#####################################
OUTDATED!!!
Check the new instructions here!
#####################################
Originally Posted by
cyberdork33
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!
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)
Bookmarks