Re: run script after connection is established
- From: "Tambet Ingo" <tambet gmail com>
- To: "Dennis Kaarsemaker" <dennis kaarsemaker net>
- Cc: networkmanager-list gnome org
- Subject: Re: run script after connection is established
- Date: Tue, 27 Mar 2007 18:31:30 +0300
On 3/27/07,
Dennis Kaarsemaker <
dennis kaarsemaker net> wrote:
On di, 2007-03-27 at 18:02 +0300, Tambet Ingo wrote:
> Not exactly, but there's a DBUS signal on system bus when VPN state
> changes. Here's the info:
>
> path=/org/freedesktop/NetworkManager/VPNConnections
> interface=org.freedesktop.NetworkManager.VPNConnections
> member=VPNConnectionStateChange
>
> The signal has two arguments, vpn connection name (string) and
> connection state (uint32), state == 5 means connected, state == 1
> means disconnected. Shouldn't be longer than ~10 lines of python.
Interesting, that signal didn't show up in dbus-monitor...
Does for me when I run 'dbus-monitor --system'.
Tambet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]