Søren's Blog

Random Ramblings

Previous Entry Share Next Entry
How I got my wlan back after a Ubuntu upgrade from 8.04 to 8.10
Yesterday I upgraded the Ubuntu on my Thinkpad t41p. It was a "simple" upgrade from 8.04 to 8.10, which was fully automated. But when the upgrade was done, and I rebooted the machine, the wireless network was gone.

Did some google'ing, but didn't find a solution - although other people reported the problem as well. Today, after sleeping and clearing my head, I figured out how to solve this.

The wireless card is an Atheros AR5212, this can be verified by issuing:

lshw -class Network

Atheros is supported in Ubuntu (I guess Linux in general) by the ath_pci module, which is part of Madwifi. The module is restricted, as it is not completely free software.

For some reason the restricted modules wasn't updated by the upgrade. The kernel was updated. Kernel and module versions must match, which they now didn't, and thus the ath_pci module didn't work.

The solution is simple, as root issue:

apt-install linux-restricted-modules-`uname -r`


modprobe ath_pci

After that the Network Manager automatically took over and connected me to the network.

Just to be safe I did a reboot, and everything still worked.


Log in