I've fixed it simply by moving the discovery of the IFs prior to pcmcia-
eject.

I hope that now this bug gets accepted and fixed ;)

Here is my '/etc/acpi/suspend.d/55-down-interfaces.sh' file:

#!/bin/sh

# Find the currently running network interfaces...
INTERFACES=`/sbin/ifconfig | awk '/^[^ ]+/ {print $1}'`

pccardctl eject

# Get rid of any currently running dhclients
killall dhclient dhclient3 2>/dev/null
rm /var/pid/dhclient.*.pid

# And shut them down
for x in $INTERFACES; do
    ifdown $x;
    ifconfig $x down;
done



Regards,
  Kostis

** Attachment added: "Patched /etc/acpi/suspend.d/55-down-interfaces.sh file to 
discover net-IFs prior to pcmcia-eject"
   http://launchpadlibrarian.net/8091887/55-down-interfaces.sh

-- 
pccard network interface is lost on resume (+ fix)
https://bugs.launchpad.net/bugs/113755
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to