On Wed, Apr 27, 2016 at 11:55 PM, Florent Le Saout <f.lesaout-externe@kerlink.fr> wrote:
Hi,

I'm looking for a network manager.

I would like to use ConnMan in an embedded system. It seems that it provides most of the features I'm looking for, including 3G and VPN management.

But after some research it seems that there is maybe one missing point in it. Let say I have the following setup :

  • Ethernet connection as preferred connection
  • 3/4G connection as backup/failover connection

My Ethernet is always on and dhcp server is properly providing IP, cable is still plugged in, and power on the line is still there, but sometimes the internet connectivity is lost. So in that case it ll switch to the 3G/4G connection. But then as soon as possible, when connectivity is back online via the ethernet, I want to switch back to it for performance and cost reason.

Is this supported by default, or is there a way to configure it that way ?

I found this post(http://comments.gmane.org/gmane.linux.network.connman/10238) which seems to say that it was not supported at that time, since there is no periodic check (February 2013).
And also from the documentation :

Autoconnecting

Favorite (saved) networks that have autoconnect enabled are considered when autoconnecting services. These services are marked with '*' and 'A' in connmanctl, respectively. By default ConnMan autoconnects these in the order they are shown in the list of services until one of them gets connected. After that the autoconnected service is in use and ConnMan won't select a new one until the network goes out of range. When the service goes out of range or gets disconnected from the network infrastructure side, autoconnect is re-run and another favorite autoconnectable service is selected.

So I want to make sure I got the correct understanding on that ?

Feel free to ask for more informations if this is unclear.

Thanks for your support,
Florent.

--
Florent LE SAOUT
R&D department
Embedded Software Developer
KERLINK

Should not this be done by your application by having some sort of continuous check if your preferred technology is back? 

Regards
Naveen 

_______________________________________________
connman mailing list
connman@lists.01.org
https://lists.01.org/mailman/listinfo/connman