Re: no carrier detection after resume from swsusp



Here is my /etc/acpi/actions/sleep.sh. Currently, it is necessary to send NetworkManager a dbus signal before and after.

#!/bin/sh

/usr/bin/dbus-send --system --print-reply --reply-timeout=2000 --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep >/dev/null 2>&1 0<&1

echo -n mem > /sys/power/state

/usr/bin/dbus-send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake >/dev/null 2>&1 0<&1


--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]