Re: signal for (De)ActivateConnection?

2018-12-25 Thread Michael Hirmke
Hi Thomas, obviously you wrote an answer to my latest mail, but it never got into my inbox. I only saw it on nabbles.com 8-/ Nevertheless thx for it. > On Sun, 2018-12-23 at 23:41 +0100, Michael Hirmke wrote: > > > Hi, > > > > after a long time I found some time to start the rewrite of my > >

Re: signal for (De)ActivateConnection?

2018-12-24 Thread Thomas Haller via networkmanager-list
On Sun, 2018-12-23 at 23:41 +0100, Michael Hirmke wrote: > Hi, > > after a long time I found some time to start the rewrite of my > script. > There are a few questions remaining, though. > > If I understood correctly, for a generic script I have to iterate > over > all existing connections

Re: signal for (De)ActivateConnection?

2018-12-23 Thread Michael Hirmke
Hi, after a long time I found some time to start the rewrite of my script. There are a few questions remaining, though. If I understood correctly, for a generic script I have to iterate over all existing connections (ListConnections). What I don't understand actually is how to get a relation

Re: signal for (De)ActivateConnection?

2017-12-08 Thread Michael Hirmke
Hi, [...] >Hi, >sounds a bit like you want to perform some action when a particular >connection profile activates/deactivates. jepp. >First, you need to know which a connection profile you care about, that >is, you need its /org/freedesktop/NetworkManager/Settings/* path. >You need to call

Re: signal for (De)ActivateConnection?

2017-12-07 Thread Thomas Haller
On Thu, 2017-12-07 at 22:44 +0100, Michael Hirmke wrote: > Hi Thomas, > > thx for your answer. > > [...] > > > And update of NM shouldn't change behavior for you. Can you detail > > what > > causes the breaking? > > I'm not sure, I just noticed a few days ago, that my script doesn't > work >

Re: signal for (De)ActivateConnection?

2017-12-07 Thread Michael Hirmke
Hi Thomas, thx for your answer. [...] >And update of NM shouldn't change behavior for you. Can you detail what >causes the breaking? I'm not sure, I just noticed a few days ago, that my script doesn't work any more and that I don't get a DeviceAdd signal any more. To answer your last question

Re: signal for (De)ActivateConnection?

2017-12-06 Thread Thomas Haller
On Tue, 2017-12-05 at 18:53 +0100, Michael Hirmke wrote: > Hi *, Hi, > after one of the latest NetworkManager upgrades one of my perl > scripts > stopped working, obviously because listening to dbus' NetworkManager > DeviceAdded/DeviceRemoved signals no longer covers my strongswan vpn >

signal for (De)ActivateConnection?

2017-12-05 Thread Michael Hirmke
Hi *, after one of the latest NetworkManager upgrades one of my perl scripts stopped working, obviously because listening to dbus' NetworkManager DeviceAdded/DeviceRemoved signals no longer covers my strongswan vpn connections. Using dbus-monitor --system