Hello,

I was trying to understand the state change of services from READY to
ONLINE state.
>From what i can gather a service state will change from READY to ONLINE
once connman is able to fetch
Hidden=true<http://ipv4.connman.net/online/status.html>(for ipv4).

In my system i have a wired service and a wireless service configured, and
in the main.conf i have the config line
Preferred = ethernet

In the test setup i have configured that wired and wireless networks such
that the wired network has not internet connection available so it will not
be able to reach http://ipv4.connman.net/online/status.html. While the
wireless network as full internet access.

Now when i start connman, it connects to the wired network and stays in the
ready state forever. It does not try to connect to the wireless network to
see if it can go online and set it up as the default service.

On the other hand if i unplug the lan cable from the device, connman
connects to the wireless service and goes in the online state. After that
if i plug in the lan cable, connman connects to the wired service, see's
that it cannot go online and so keeps the wireless service as the default
service and hence connman stays in the online state.

I guess this is the expected behaviour.

I would like to know if it is possible to instruct connman to connect all
available technologies, so that at startup it connects to the wired as well
as the wireless services and then decides which one to setup as the default
route.

Lastly, i would also like to know if connman performs periodic checks to
see if the service can go in the online state. i.e. when the state of the
manager is in the "ready", does connman periodically check if it can go
online?

Looking forward to your reply.

Thanks and Regards
~Sameer
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to