Skip to content

Fixing the madwifi driver on Ubuntu 9.04 (Jaunty) Netbook Remix

December 10, 2009

Earlier this year I bought my wife an Acer Aspire One AOA110 netbook. I installed UNR (Jaunty 9.04) which worked perfectly from the the Live USB image, but once installed It couldn’t see any wireless networks. In the end I blacklisted the madwifi drivers and switched to the ath5k atheros driver, and everything seemed to be ok. In the past few weeks we found that the wireless connection would regulary drop, and network manager would then take 30 seconds or so to connect to the router again. This was very annoying. It seemed to happen more often when transferring larger amounts of data, like uploading images to facebook. The message being written to /var/log/messages was:

ath5k phy0: unsupported jumbo

In the end I compiled the latest madwifi source code by hand, and re-enabled the driver. Here is what I had to do:

  1. Blacklist the ath5k driver. Add the following to /etc/modprobe.d/blacklist.conf:blacklist ath5k
    blacklist acer_wmi
  2. Add the following to the /etc/modules file to ensure the madwifi driver is loadedath_pci
  3. Install Subversion:sudo apt-get install subversion
  4. Extract the latest madwifi source code from the subversion server:svn co http://svn.madwifi-project.org/madwifi/trunk madwifi
  5. Build it:cd madwifi/scripts
    sudo ./find-madwifi-modules.sh -r
    cd ..
    make
    sudo make install
  6. Reboot.

If everything went well your wireless will work as usual, but will be running the madwifi drivers, and not the ath5k atheros driver. If you do experience any problems, change the entry in the blacklist to ath_pci, change the entry in /etc/modules to ath5k, restart networking (or reboot) and you should be back on the ath5k driver.

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: