Saturday, June 07, 2008
I got a used IBM X40 laptop - really nice buy for around €200.
I installed Debian lenny on it.
But, the network card won't work after suspend. I'm using the ath_pci madwifi driver. This is apparently bug #201 in their bug database, which no-one seems to be working on.
Now trying solution: added file /etc/pm/config.d/madwifi with contents:
SUSPEND_MODULES="ath_pci"
Did the above, but when the interface comes back, it's lost its iwconfig details (essid, enc). Executing ifup ath0 fixes that, but I don't know where to put a script that does that.
It seems that pm-utils calls NetworkManager using dbus in /usr/lib/pm-utils/sleep.d/10NetworkManager. So should we get Networkmanager to ifup/ifdown ath0 on suspend/resume?
Now tried adding the ifup and ifdown commands to the above script. Seems to work!
I installed Debian lenny on it.
But, the network card won't work after suspend. I'm using the ath_pci madwifi driver. This is apparently bug #201 in their bug database, which no-one seems to be working on.
Now trying solution: added file /etc/pm/config.d/madwifi with contents:
SUSPEND_MODULES="ath_pci"
Did the above, but when the interface comes back, it's lost its iwconfig details (essid, enc). Executing ifup ath0 fixes that, but I don't know where to put a script that does that.
It seems that pm-utils calls NetworkManager using dbus in /usr/lib/pm-utils/sleep.d/10NetworkManager. So should we get Networkmanager to ifup/ifdown ath0 on suspend/resume?
Now tried adding the ifup and ifdown commands to the above script. Seems to work!
Subscribe to:
Posts (Atom)