GNOME Bugzilla – Bug 686951
NetworkManager vs Sleep Mode
Last modified: 2013-05-11 09:00:15 UTC
When i'm going to sleep mode NetworkManager takes the eth0 device down. Result: WakeOnLan won't work Workaround: disable NetworkManager, manually edit /etc/network/interfaces, ifup eth0, WOL works. log: *sleepbutton* Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> sleep requested (sleeping: no enabled: yes) Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> sleeping or disabling... Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> (eth0): now unmanaged Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> (eth0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37] Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> (eth0): deactivating device (reason 'sleeping') [37] Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> (eth0): cleaning up... Oct 26 15:54:05 ubuntu NetworkManager[2554]: <info> (eth0): taking down device.
I think this has been fixed in master: commit ce4f2a4bd6270400e9d32c98ceaf8fa8f0b5df8c Author: Dan Winship <danw@gnome.org> Date: Wed Apr 17 10:41:15 2013 -0400 core, libnm-glib: add NMDeviceGeneric Add NMDeviceGeneric, to provide generic support for unknown device types, and create NMDeviceGenerics for those devices that NM previously was ignoring. Allow NMSettingGeneric connections to be activated on (managed) NMDeviceGenerics. Assigning to Dan Winship and closing.
(In reply to comment #1) > I think this has been fixed in master: > > commit ce4f2a4bd6270400e9d32c98ceaf8fa8f0b5df8c > Author: Dan Winship <danw@gnome.org> > Date: Wed Apr 17 10:41:15 2013 -0400 > > core, libnm-glib: add NMDeviceGeneric > > Add NMDeviceGeneric, to provide generic support for unknown device > types, and create NMDeviceGenerics for those devices that NM > previously was ignoring. Allow NMSettingGeneric connections to be > activated on (managed) NMDeviceGenerics. > > Assigning to Dan Winship and closing. Wrong bug, please ignore.
(In reply to comment #0) > Workaround: disable NetworkManager, manually edit /etc/network/interfaces, ifup > eth0, WOL works. A better workaround might be upping the interface via dispatcher.d scripts.
Marking as duplicate as this bug report just describes a reason to avoid taking devices down. The discussion can be just as well done in the remaining bug report. *** This bug has been marked as a duplicate of bug 683206 ***