Ready means that your connection has received full IP configuration (most likely from
Online is (by default) achieved by ConnMan making an http get request to:
#define STATUS_URL_IPV4 "http://ipv4.connman.net/online/status.html"
#define STATUS_URL_IPV6 "http://ipv6.connman.net/online/status.html"
Depending on your network speed, and distance to connman.net
, this can take a short
In fact, if you are unlucky with the state of the internet it might even fail completely.
This would happen as well if your firewall is blocking outgoing port 80 connections to the
internet (I had that rule with a corporate firewall in one company).
A service is usable in the Ready state. Although if the online check fails, the
top/default service might get "downgraded" and default routes might get deleted.
Especially if you have more than one connection available (e.g. ConnMan might fall back to
Ethernet). In that case you may end up with just a local subnet route.
On 21/03/17 17:33, Fred Ollinger wrote:
From the documentation there's a "ready" state and an
While connecting to wifi using conmann, I noticed that "ready" is much faster
My question is what's the difference b/w "ready" and "online"?
If a wifi connection is "ready" can I connect to the Internet?
I'm trying to determine whether I should use "ready" or "online"
to determine whether a connection is successful.
"ready" would be better because it's faster.
connman mailing list