Acer TravelMate 4310 WLAN and Ubuntu 8.04

The following works in Ubuntu 8.04

sudo apt-get update && sudo apt-get install build-essential

Get the  MadWifi driver on http://madwifi-project.org/ticket/1192

http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/

tar xvf madwifi-hal-xxxxxx.tar.gz
cd madwifi-hal-xxxxxx
sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta


sudo gedit /etc/modules

Insert the following lines:

ath_hal
ath_pci

save and exit

wpa_passphrase ssid

Type your password phrase

The  section network={….} will be calculated

sudo gedit /etc/wpa_supplicant.conf

paste the section network={….} into wpa_supplicant.conf

save and exit

sudo gedit /etc/network/interfaces

auto lo
iface lo inet loopback

auto ath0
iface ath0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
wpa-driver madwifi

auto wifi0
iface wifi0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
wpa-driver madwifi

save and exit

Create a file under /etc/pm/config.d/ and add the problematic module to it, e.g.

sudo gedit /etc/pm/config.d/acer
SUSPEND_MODULES=”psmouse”

save and exit

sudo gedit /etc/modprobe.d/options

Insert the following line:

options ath_pci rfkill=0

save and exit