Comment 43 for bug 40125

Revision history for this message
mlaverdiere (mlaverdiere) wrote : Re: Doesn't bring the network back online when resuming from suspend / hibernate

I've found a solution that seems to be quite similar to the one submitted by John Cooper but which relies on other commands to stop network-manager at suspend (hibernate) time and to start it at resume time in order to have the connection reactivated.

Anyway, it works well for me under Kubuntu Dapper, freshly dist-upgraded.

Here it is if you want to try it in case the other one doesn't work:

Just create these 2 files and be sure to make theme executable (chmod +x):

/etc/acpi/suspend.d/07-network-manager.sh
#!/bin/sh
/etc/dbus-1/event.d/25NetworkManager stop

and

/etc/acpi/resume.d/99-network-manager.sh
#!/bin/sh
/etc/dbus-1/event.d/25NetworkManager start

Good luck!