Clicking the network manager applet in the panel I see the wireless listed as "Device not ready". This is tedious.
The solution to this issue is to remove the mainline ATK5K wireless driver from your Kernel and replace it with non-mainline MadWifi driver (source). MadWifi has superior support for the AR5212 card. This shouldn't take you more than about 20 minutes to sort out.
- Open a terminal: Aplications -> Accessories -> Terminal
- To check on your wireless card and make sure you have the AR5212:
trastle$ sudo lshw -c networkThe result will look similar to this:
*-network description: Wireless interface product: AR5212 802.11abg NIC vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:03:00.0 logical name: wifi0Now you know your sporting an Atheros AR5212.
- Install some software you'll need to build MadWifi:
trastle$ sudo apt-get install subversion linux-kernel-headers build-essential \ libssl-dev
- Now go to your desktop
trastle$ cd ~/Desktop
- Make a directory to put the MadWifi source in:
trastle$ mkdir madwifi-src
- Get the latest MadWifi source:
trastle$ svn checkout http://madwifi-project.org/svn/madwifi/trunk madwifi-src
- Change into your new source directory:
trastle$ cd madwifi-src
- Change to the root user:
trastle$ sudo -i
- Blacklist the non working ATH5K drivers:
root$ echo "# Block ATH5K" >> /etc/modprobe.d/blacklist root$ echo "blacklist ath9k" >> /etc/modprobe.d/blacklist root$ echo "blacklist ath5k" >> /etc/modprobe.d/blacklist
- Change to the MadWifi source directory
root$ cd /home/[your user]/Desktop/madwifi-src
- Build and install the MadWifi driver:
root$ make && make install -d
- Add the MadWifi driver to your Kernel
root$ echo ath_pci >> /etc/modules
Now save anything else you have been working on and reboot your laptop. After the reboot your wireless will be working nicely.
2010-06-20: Edit added step 10. Thanks Xi.