Re: How to detect that connectivity is lost

2007-04-05 Thread Patrik Flykt
Hi, On Thu, 2007-04-05 at 09:01 +0300, Kalle Valo wrote: > ext Tomàs Jiménez Lozano <[EMAIL PROTECTED]> writes: > > I hope you don't mind if I ask you one more question: Is there any other > > way to force disconnection appart form the shutdown ICd dbus method. It > > works fine but we wo

Re: How to detect that connectivity is lost

2007-04-04 Thread Kalle Valo
ext Tomàs Jiménez Lozano <[EMAIL PROTECTED]> writes: > To reproduce the situation you only need to move away from de access > point. I've tried what Frantisek suggested, and ping fails always > before the device notifying it has lost connection. Thanks, I think I managed to reproduce this now. Wo

Re: How to detect that connectivity is lost

2007-04-04 Thread Kalle Valo
"ext Frantisek Dufka" <[EMAIL PROTECTED]> writes: > What I suggested was a workaround not solution, that's true. By > pinging in regular intervals I mean using ping to send let's say 5 or > 10 packets (ping -c 10) and then sleep e.g. 15 seconds. I did not mean > pinging default gateway continuousl

Re: How to detect that connectivity is lost

2007-04-04 Thread Tomàs Jiménez Lozano
On Wed, 2007-04-04 at 08:44 +0300, Kalle Valo wrote: > "ext Tomas" <[EMAIL PROTECTED]> writes: > > > The problem is that the device does not recognize it has lost connectivity > > until it has lost WIFI signal completely. It does not launch any dbus signal > > to notify it has lost connection but

Re: How to detect that connectivity is lost

2007-04-03 Thread Frantisek Dufka
Kalle Valo wrote: "Frantisek Dufka" <[EMAIL PROTECTED]> writes: What about the connection strength from ConIc StatisticsEvent [1]? Maybe he can use it after some experimentation to find the lowest acceptable level. Or maybe simple shell script pinging your default gateway in regular intervals

Re: How to detect that connectivity is lost

2007-04-03 Thread Kalle Valo
"Frantisek Dufka" <[EMAIL PROTECTED]> writes: >> What about the connection strength from ConIc StatisticsEvent [1]? >> Maybe he can use it after some experimentation to find the lowest >> acceptable level. > > Or maybe simple shell script pinging your default gateway in regular > intervals could b

Re: How to detect that connectivity is lost

2007-04-03 Thread Kalle Valo
"ext Lauro" <[EMAIL PROTECTED]> writes: >> > corresponding dbus signal) from the current IAP when WIFI signal is so low >> > that data transmission becomes impossible? > > What about the connection strength from ConIc StatisticsEvent [1]? > Maybe he can use it after some experimentation to find th

Re: How to detect that connectivity is lost

2007-04-03 Thread Kalle Valo
"ext Tomas" <[EMAIL PROTECTED]> writes: > The problem is that the device does not recognize it has lost connectivity > until it has lost WIFI signal completely. It does not launch any dbus signal > to notify it has lost connection but the WIFI signal is so low that no data > transmission is possib

Re: How to detect that connectivity is lost

2007-04-01 Thread Tomas
The pinging shell script was a great idea, Frantisek. Now we know we have lost connectivity even if no DISCONNECTED dbus signal is raised. One problem is solved but another one appears... Does anyone know how to force disconnection? ICd exposes a "disconnect" method to be called via dbus but it on

Re: How to detect that connectivity is lost

2007-03-27 Thread Frantisek Dufka
Lauro wrote: On 3/28/07, Patrik Flykt <[EMAIL PROTECTED]> wrote: Hi, On Wed, 2007-03-28 at 00:39 +0200, ext Tomas wrote: > corresponding dbus signal) from the current IAP when WIFI signal is so low > that data transmission becomes impossible? What about the connection strength fro

Re: How to detect that connectivity is lost

2007-03-27 Thread Lauro
On 3/28/07, Patrik Flykt <[EMAIL PROTECTED]> wrote: Hi, On Wed, 2007-03-28 at 00:39 +0200, ext Tomas wrote: > corresponding dbus signal) from the current IAP when WIFI signal is so low > that data transmission becomes impossible? What about the connection strength from ConIc Statisti

Re: How to detect that connectivity is lost

2007-03-27 Thread Patrik Flykt
Hi, On Wed, 2007-03-28 at 00:39 +0200, ext Tomas wrote: > corresponding dbus signal) from the current IAP when WIFI signal is so low > that data transmission becomes impossible? Unfortunately not. Regards, PAtrik -- Patrik Flykt <[EMAIL PROTECTED]> __

How to detect that connectivity is lost

2007-03-27 Thread Tomas
We want our application to switch from IAP automatically when it looses connection. We have developed a daemon that waits for a DISCONNECTED dbus signal to automatically reconnect to any available IAP. It works fine when the device looses connectivity. In this case a dbus signal is launched and tr