Vinod Kurup

Hospitalist/programmer in search of the meaning of life

Sep 8, 2011 - 2 minute read - Comments - linux sysadmin

Fixing wireless on eeePC

I have an ASUS eeePC 1000, running Ubuntu 10.10. Wireless worked flawlessly at home, which is where I use it 99% of the time. On our most recent trip, however, it wasn’t working. It couldn’t connect to a WPA-secured network. Here are the relevant error messages:

NetworkManager[770]: <warn> Activation (wlan0/wireless): association took too long.
NetworkManager[770]: <warn> (wlan0): link timed out.
NetworkManager[770]: <warn> Activation (wlan0) failed for access point (linksys)
NetworkManager[770]: <warn> Activation (wlan0) failed.
NetworkManager[770]: <info> (wlan0): deactivating device (reason: 0).

After a little googling on my phone, I found out that others had this problem with the rt2860sta wireless driver. Fortunately, there is a solution, which involved downloading the source code for the latest driver, modifying it a bit and rebuilding the driver. Here are the instructions:

Step 1: Download the driver

Download the latest rt2860sta driver.

Step 2: Rename and extract the downloaded file

Mine was named download.php, but it’s really a tar file:

[email protected]:~ $ mkdir test
[email protected]:~ $ mv download.php test/driver.tar
[email protected]:~ $ cd test/
[email protected]:~/test $ tar xf driver.tar 
[email protected]:~/test $ mv 2010_07_16_RT2860_Linux_STA_v2.4.0.0 driver
[email protected]:~/test $ cd driver

Step 3: Apply patch

Step 4: Backup old driver

[email protected]~/test/driver/ $ sudo ifconfig wlan0 down
[email protected]~/test/driver/ $ sudo rmmod rt2860sta
[email protected]~/test/driver/ $ mkdir backup
[email protected]~/test/driver/ $ sudo mv /etc/Wireless/RT2860STA backup/
[email protected]~/test/driver/ $ sudo mv /lib/modules/2.6.35-30-generic/kernel/drivers/staging/rt2860/rt2860sta.ko backup/

Step 5: Install and activate new driver

`sh [email protected]:~/test/driver $ sudo make install [email protected]:~/test/driver $ sudo depmod -a [email protected]:~/test/driver $ sudo modprobe rt2860sta

Step 6: Fix problems with hibernation

A separate problem is that wireless has been flaky when the computer wakes from hibernation, but it’s also fixable.

Add the following lines to /etc/modprobe.d/blacklist.conf:

blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00usb
blacklist rt2x00pci
blacklist rt2x00lib

Create a new file called /etc/pm/config.d/unload_wireless with the following line:


Reboot and you should have WPA-compatible, hibernatable wireless.


  1. rt2860sta driver installation
  2. Proper hibernation
  3. Ubuntu Forums thread

Surprise, I'm 40! ClojureScript and PhoneGap

comments powered by Disqus