Network-manager with madwifi cards

Instructions how to configure Ubuntu Dapper to use network-manager with the madwifi drivers

First download the following files:
madwifi-ng-r1531-20060427.tar.bz2
dhcdbd_1.10-0ubuntu12_i386.deb
wpasupplicant-madwifi-hack.deb

Unpack the madwifi source:
# tar xjf madwifi-ng-r1531-20060427.tar.bz2
Compile and install the drivers:
# cd madwifi-ng-r1531-20060427
# make
# sudo make install
It will prompt you to remove the old drivers from the ubuntu packages. You should answer “r”. Make sure that the script installed the files to the right directory (should be something like /lib/modules/2.6.15-22-386, depending on the output of “uname -r”). Also make sure that there is only one version of ath_pci.ko (“find /lib/modules/2.6.15-22-386 -iname ath_pci*”, or similar should tell you that).

Then install the provided debs:
# sudo dpkg -i dhcdbd_1.10-0ubuntu12_i386.deb
# sudo dpkg -i wpasupplicant-madwifi-hack.deb
Uninstall the old supplicant
# sudo apt-get remove wpasupplicant

Install network-manager and network-manager-gnome if you haven’t already:
# sudo apt-get install network-manager network-manager-gnome
Reboot once (or replug your network card) and you should be up and running networkmanager (start nm-applet if the tray icon is missing)

Have fun!

Leave a Reply

Your email address will not be published. Required fields are marked *