Hi,

I have looked at the online state and have some questions regarding its
purpose.

As I see it, this is just an intermediate state shortly after IP
configuration is finished. Then if the internet access is lost or gained
after that point is not reflected in the state.

For instance I see if I reboot my access point, the online check fails,
because the access point is not ready to forward data to the internet when
the local wifi is available. So the network will never be considered
online. I modified the code to retry the check once, the second check
succeeds and I'm online.

And the same goes if the uplink to the network disappears connman won't
detect that and consider still consider the service online.

So my conclusion is that the online state is not actually reflecting the
real state.

So what is the purpose of this check, more than wispr handling?

Would it be stupid the schedule the check like every 10 seconds or so to
really check the current state?

Thanks in advance,
Richard
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to