Compile AR2427 Wireless Chip on Ubuntu 10.04, suitable for all ath_9K chip too.
UPDATE: Now there is a much easy way to solve this problem. A much GUI control way and suitable for all the Atheros 9K wireless chips: see post from vagrale13 --> http://ubuntuforums.org/showthread.php?t=1564278 .
this update is the final one, because more and more new distributions of Linux will default support this wireless chip. I will not update this post any more. Pardon me!!
Compile AR2427 Wireless Chip on Ubuntu 10.04 Original text
Recently, the Lucid Lynx Ubuntu 10.04 released. Many funs maybe can’t wait to install & use it on their
own PC just like me too. But my experience may not be very happy, thought the new version is very cool with its friendly user interface and faster staring up. Because my wireless care AR2427 [ 168c:002c ] on Asus EeePC 900HA doesn’t work. In some days google-ing and waiting the solution coming from Ubuntu Bug Team & the forum postings. Finally I now get out of my wifi trouble.
It seams that the kernel version( 188.8.131.52-generic ) now Ubuntu 10.04 used does not su- pport this maybe new-released wireless chip. I googled some news saying the AR2427
[ 168c:002c ] will be support in the 2.6.33+ kernel releasing. So it means Ubuntu maybe can autofixing AR2427-ath9k chip in the next coming( maybe the next next ) kernel update( there have been some relative Bug noticed in the Lunchpad. and you can wait for the update time coming but the waiting time is very boring or you can use the fellow solution to get a pre-wifi-working before the next( doesn’t be sure ) kernel update.
Maybe many guys may be likely to prefer using the Ndiswrapper to fixing the AR2427 in the linux OS due to the simple build directly using the wifi driver from windows. But a friend of mine told me it may not work perfectly since wifi speed may have a little crap. some others may choose the mdwifi to get AR2427 work, because I had try a time on Ubuntu 10.04 beta2 and failed due to my lacking skill. So I now use the Compat Wireless Drivers to solve my wifi trouble witch really runs perfectly on my EeePC 900HA. The step follow is How I Get my wifi work.
Out put of the comman ’ $ lspci ’ from my PC on Ubuntu 10.04.
01:00.0 Ethernet controller : Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller [1969:1026] (rev b0) （wire NIC）
02:00.0 Network controller : Atheros Communications Inc. Device [168c:002c] (rev 01)
…… ！more detail
In order to compile the driver you’ll need at least a C compiler and the make utility, so you firstly make sure you have install them in your Ubuntu. If not you can get it with the apt-get to
install the package just as:
sudo apt-get install build-essential
You’ll also need your kernel headers installed, but they most is likely to be installed by default. Double check that the directory /lib/modules/`uname -r`/build exists. If not please get it
sudo apt-get install linux-headers-`uname -r`
#the mark ” ` ” is located on the top of Tab key on the keyboard
Download compat wireless drivers from here. I used the compat-wireless-2010-04-26.tar.bz2 , also you can choose it by yourself because it may update everyday and the latest version always is compat-wireless-2.6.tar.bz2.
Extract your Download file and cd into the resulting directory.
tar -xjvf name-download-filedestination-directory
The AR2427 chip is covered by the ath9k driver, so we firstly select the modules ath9k for this driver
then make and install
#make sure this step without notice errors, If error occur, you’d better copy it and google in the google to #get answer. or you can select another version compat wireless drivers.
sudo make install
#wait ... ...
sudo make unload
#this step maybe can cancel, when you cancel it and the next step printing error. then you can add this #step before sudo modprobe ath9k.
sudo modprobe ath9k
after the above step your wifi device may appear under iwconfig, you can check you have compile AR2427 in the right way, run modinfo:
#in the output, there must be a line RED word like the fellow post
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
vermagic: 2.6.32-18-generic SMP mod_unload modversions 586
parm: debugebugging mask (uint)
parm: nohwcryptisable hardware encryption (int)
If that occured, CONGRATULATIONS! then reboot you PC, sening it whether the wifi device appears in the iwconfig or in the NetworkManager( on the Top right of desk ).
If failed, you can uninstall it whetherever you like by
sudo make unload
sudo make uninstall
THANKS TO James LittleThe Asus Eee PC 1005PE & Ubuntu
Last edited by ekeyme; December 8th, 2011 at 05:36 PM.
Reason: let someone to get out of the wifi chip trouble like me
Tags for this Thread