pccard network interface is lost on resume (+ fix)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Invalid
|
Medium
|
Daniel Hahler |
Bug Description
Binary package hint: acpi-support
When I suspend then resume on an A31 Thinkpad with a Lucent Wavelan card, the Wavelan card's network interface is no longer configured.
The problem is in /etc/acpi/
#!/bin/sh
pccardctl eject
# Get rid of any currently running dhclients
killall dhclient dhclient3 2>/dev/null
# Find the currently running network interfaces...
INTERFACES=
# And shut them down
for x in $INTERFACES; do
ifdown $x;
ifconfig $x down;
done
This problem has unfortunately resulted in my kids thinking Linux is as junky as Windows.
The fix I gave may not be correct, and it may not work all the time.
I checked my Debian system which does not have this problem, and it has an "allow-hotplug eth1" line in /etc/network/ interfaces. Added this line to the Ubuntu system does not fix the problem. In any case, having resume bring up the same set of interfaces that were active on suspend seems most correct, so an allow-hotplug "fix" doesn't seem correct for any system.
My current fix is to add a resume.d script to do "ifdown eth1; ifup eth1".