Handling of network interfaces is sub-optimal

Bug #20769 reported by Daniel Robitaille
20
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

On a Dell Latitude 110l, after going into sleep mode and then returning,
everything works fine except the wired NIC. According to the network monitor
applet, the ethernet connection is disconnected. It can be turned on again if I
go into the network configuration and activate it manually.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Which version of acpi-support do you have installed?

Revision history for this message
Daniel Robitaille (robitaille) wrote :

ii acpi-support 0.29 acpi-support is a collection of useful event

Revision history for this message
Matt Zimmerman (mdz) wrote :

# Bring up the interfaces (this should probably be left up to some policy
# manager, but at the moment we just bring back whatever we ifdowned)
#for x in $INTERFACES; do
# ifup $x;
#done

# Actually, we don't for the moment - we end up waiting for things to time out
# because multiple ifups want to write to the state file and it's locked. We
# need a better way of doing this - for now just bring back up whatever is
# flagged as auto

ifup -a &

------

Wouldn't a better solution be:

ifup $INTERFACES &

Revision history for this message
Daniel Robitaille (robitaille) wrote :

After a fresh install of Colony 4 on this laptop, the ethernet card now
"survives" a suspended session. So this problem is now gone on this laptop.

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 21337 has been marked as a duplicate of this bug. ***

Revision history for this message
Martin Pitt (pitti) wrote :

Related to this: After a mere "echo disk | sudo tail /sys/power/state" (i. e.
without all the pmi magic), resuming works perfectly on my system. However, when
using the powermanagement-interface way (which is also used by gdm, etc.), i. e.
doing "sudo pmi action hibernate" my ethernet cards are unconfigured after resume.

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #6)
> Related to this: After a mere "echo disk | sudo tail /sys/power/state" (i. e.

Sorry, it is

  echo disk | sudo tee /sys/power/state

of course.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Ought to be fixed with the new initramfs-tools

Revision history for this message
Daniel Robitaille (robitaille) wrote :

I have tried the new initramfs-tools, and the suspend works normally on my
laptop, with the wired nic network working properly after the suspend session.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Cool.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.