A Blog about technology, linux, peer2peer, cool new downloads and software development.
Showing posts with label ath9k. Show all posts
Showing posts with label ath9k. Show all posts

Thursday, December 24, 2009

how to install ndis atheros wifi driver on lenovo T60 ubuntu


download the windows xp driver from : http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-70480

install with the 1st stage with wine to extract the driver files

copy the extracted driver from : ~/.wine/drive_c/DRIVERS/WIN/WLLANATH/WinXP_2K
to ~/lenovo

isntall :
sudo apt-get install ndisgtk

disable the ath9k driver :
sudo modprobe -vr ath9k

activate the ndis driver :
Go to System>Administration>Windows Wirless Drivers, (NDISWRAPPER will open now, (after password is given)).
Choose Install Driver.
Goto location line, click on the right folder tab and browse to:
~/lenovo/WLLANATH/WinXP_2K
Choose to install.

to stop ath9k loading at boot
sudo vim /etc/modprobe.d/blacklist.conf
blacklist ath9k

reboot

reference :
http://ubuntuforums.org/showthread.php?t=739998

Saturday, September 12, 2009

how to update atheros ath9k.ko driver to the latest on ubuntu linux


Download the latest compat-wireless-2.6.tar.bz2 from :
http://linuxwireless.org/en/users/Download
open it and :

find . -name "*" -exec touch {} \;
make
sudo -s
make install

modinfo ath9k
filename: /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko
...
mv /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko.bak

make unload

cat > ~/wifi_reset.sh
#!/bin/bash -x
sudo modprobe -vr ath9k
sudo modprobe -vr ath5k
sleep 1
sudo modprobe -v ath9k
#sudo modprobe -v ath9k btcoex_enable=1
#sudo modprobe -v ath5k
sudo iwconfig wlan0 power off

#sudo iwconfig wlan0 rate 48M auto
#sudo iwconfig wlan0 txpower off
#sudo iwconfig wlan0 txpower auto
#sudo iwconfig wlan0 txpower 20dBm
sudo iwconfig wlan0 txpower 19dBm
<ctrl>-d

chmod +x ./wifi_reset.sh
./wifi_reset.sh