At SUSE, this call is performed by /usr/lib/pm-utils/sleep.d/55NetworkManager
and can be overwritten by /etc/pm/sleep.d/55NetworkManager
Disabling this call, results into a working suspend mechanism for KDE and a NFS Home directory.
However, xfce additional calls org.freedesktop.NetworkManager.Sleep boolean:true directly.
However, modifying this file to always wake-up NetworkManager results into a working (but clumsy solution), because,
xfce calls NetworkManager sleep
NetworkManager shuts down all network interfaces
[...]
modified /etc/pm/sleep.d/55NetworkManager wakes up NetworkManager again
Network connections are reestablished again
[...]
system is going into suspend.
I don't have a Ubuntu at hand, but I expect, that this workaround can be adapted for Ubuntu and Gnome.
I've experienced the same problem with openSUSE 12.1 and KDE or xfce. I've found a clumsy workaround, that might also help here:
When the system should be suspended, the NetworkManager gets notified by a dbus call. You can generate this call manually by
qdbus --system org.freedesktop .NetworkManager /org/freedeskto p/NetworkManage r org.freedesktop .NetworkManager .Sleep boolean:true
This results, that NetworkManager shuts down all its network interfaces.
To wake him up again, following call can be used:
qdbus --system org.freedesktop .NetworkManager /org/freedeskto p/NetworkManage r org.freedesktop .NetworkManager .Sleep boolean:false
At SUSE, this call is performed by /usr/lib/ pm-utils/ sleep.d/ 55NetworkManage r sleep.d/ 55NetworkManage r
and can be overwritten by /etc/pm/
Disabling this call, results into a working suspend mechanism for KDE and a NFS Home directory. .NetworkManager .Sleep boolean:true directly.
However, xfce additional calls org.freedesktop
However, modifying this file to always wake-up NetworkManager results into a working (but clumsy solution), because,
xfce calls NetworkManager sleep sleep.d/ 55NetworkManage r wakes up NetworkManager again
NetworkManager shuts down all network interfaces
[...]
modified /etc/pm/
Network connections are reestablished again
[...]
system is going into suspend.
I don't have a Ubuntu at hand, but I expect, that this workaround can be adapted for Ubuntu and Gnome.