Kel Modderman: > Good question. I guess it depends heavily on the dhcp-client used, and the > network it is connecting to. The .leases file should come into play, whether > or not the client is intelligent enough to know its been sleeping long past > its lease time is another question.
I'm using the dhcp-client package, which is the default DHCP client in Debian. > > It does a lot of ugly things, actually, and might be replaced by > > pm-utils anyway. > > > > Still, acpi-support is currently included in the laptop task, so it > > would be nice if it worked. > > You mentioned that you gave it a go, did you have any preliminary code? (I > don't care if its ugly/non-working, it may give a hint to what is required). I think something like this for the file /etc/acpi/suspend.d/55-down-interfaces.sh: --- 55-down-interfaces.sh~ 2006-10-08 20:27:04.000000000 +0200 +++ 55-down-interfaces.sh 2006-10-08 20:33:13.000000000 +0200 @@ -12,7 +12,11 @@ # And shut them down for x in $INTERFACES; do - ifdown $x; + if [ -e /var/run/wpa_supplicant/$x ]; then + wpa_action $x stop; + else + ifdown $x; + fi ifconfig $x down; done -- Pelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]