Here we find everything we need to know: wrote:04:01.0 Ethernet controller [0200]: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter [168c:0013] (rev 01)
Subsystem: Atheros Communications Inc. Device [168c:2051]
[...]
Kernel driver in use: ath_pci
Kernel modules: ath_pci
Is this computer an Acer Aspire One? This is a common problem with this Atheros chipset, and the best how-to walkthrough to fix it relates to this card in an Acer Aspire One. Basic problem: the installer uses the ath_pci kernel module instead of the ath5k kernel module. Read on for the fix:
Wireless module (
https://help.ubuntu.com/community/Aspir ... pire%20One)
There has been some confusion as to which wireless driver provides the best performance and reliability. I have found the following:
o madwifi from kernel (ath_pci) - does not attach to hardware.
o ath5k from intrepid backports (ath5k) - connects to hardware, but experiences disconnects on medium to heavy wireless activity, and can not communicate with some AP's using WPA2 PSK.
o madwifi-hal from
http://snapshots.madwifi-project.org/ (ath_pci) - Everything works.
I recommend using the most recent snapshot of madwifi-hal from
http://snapshots.madwifi-project.org/
Code: Select all
wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz
sudo apt-get install build-essential linux-headers-$(uname -r)
tar -xzf madwifi-hal-0.10.5.6-current.tar.gz
cd madwifi-hal-0.10.5.6*/
make
sudo make install
sudo modprobe ath_pci
You may have to append ath_pci to /etc/modules:
Code: Select all
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
ath_pci
This driver should work under all conditions. I have tested the driver under heavy load (3MB/s sustained for 2 hours, no hangup), tested for correct suspend/resume functionality, and verified it communicates correctly with WEP, WPA, WPA2, against recent Linksys, Dlink, and Cisco hardware.
Now you should create a script to restart the interface on awake from suspend mode, as it will otherwise hang. As root, create /etc/pm/sleep.d/00wireless:
Code: Select all
#
# Restart WiFi interface after suspension
#
case "$1" in
resume|thaw)
/sbin/ifconfig wifi0 down
/sbin/ifconfig wifi0 up
;;
*)
;;
esac
exit $?
Don't forget to make it executable:
Code: Select all
sudo chmod u+x /etc/pm/sleep.d/00wireless
Wireless LEDs
* the wireless leds need an entry in /proc
* with wireless on/off works, but there is no notification in Gui
"To get your wireless led to blink for you based on traffic, put these lines at the end of /etc/sysctl.conf."
Code: Select all
dev.wifi0.ledpin=3
dev.wifi0.softled=1
Then either reboot or do sysctl -p
The led on the front will now do the association blink, as well as blink based on wireless traffic.
All thanks to here:
https://help.ubuntu.com/community/AspireOne