Comment 48 for bug 274405

Revision history for this message
Mikael Honkala (mikael-honkala) wrote : Re: network manager slow to reconnect after suspend/resume

Workaround tested on HP tx2020eo:

Step 1: Unchecking and checking the "Enable wireless" setting in the NM taskbar icon (right click) immediately starts the scan and connection.

Step 2: Requesting the same via the command line through the following works as well:

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:org.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:false
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:org.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:true

Step 3: Putting the above two lines in /etc/acpi/resume.d/92-kick-network-manager.sh with appropriate permissions works, starting the wireless connection on resume.