Re: nm-applet should track dbus setWirelessEnabled
- From: Tim Niemueller <tim niemueller de>
- To: Karl Hegbloom <hegbloom pdx edu>
- Cc: NetworkManager-list gnome org
- Subject: Re: nm-applet should track dbus setWirelessEnabled
- Date: Wed, 16 Nov 2005 02:05:36 +0100
Karl Hegbloom wrote:
> ... so that the wireless link is brought down when I hibernate my
> laptop. What I've noticed is that even though the wireless network is
I'm doing the following:
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
I think I found it in FC5 pm-utils and pulled it into my custom
sleep-script. This will disable all networking including VPN.
When the machine wakes up again do a
dbus-send --system \
--dest=org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager.wake >/dev/null 2>&1 0<&1
to get it scanning again. Is that what you intended to do?
Tim
--
Tim Niemueller <tim niemueller de> www.niemueller.de
=================================================================
Imagination is more important than knowledge. (Albert Einstein)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]