>If you always want to prefer ethernet over WiFi or everything else, you
>can set PreferredTechnologies=ethernet in /etc/connman/main.conf.
>PreferredTechnologies=ethernet,wifi will prefer WiFi after ethernet, but
>before the rest (bluetooth, cellular). 

I tested this, and now after restart I only have an Ethernet connection, the 
wifi - connection has to be established manually.
What I was looking for was, that after restart the wifi-connection gets to the 
"online" state and the Ethernet connection gets to the "ready" state. 
But thanks for the information anyway.
 
>Do notice that even though
>ethernet is now preferred over any other technology, it does not take
>the connection from a WiFi in state online (i.e. connectivity to
>external Internet checked) if ethernet ends up only in state ready (IP
>address acquired). I'm not sure if this was what you were after, though.

-----Ursprüngliche Nachricht-----
Von: connman [mailto:[email protected]] Im Auftrag von Jörg Hunsche
Gesendet: Mittwoch, 18. Dezember 2013 17:33
An: [email protected]
Betreff: intended behaviour of connman after restart

Hello,
I have an active Ethernet connection and then I connect to a wifi and in this 
state I shut down the system.

When I restart the system the wifi-connection is re-established and the 
Ethernet connection does not get an IP-address.
When I disconnect the wifi-connection the Ethernet connection gets an 
IP-address and is running.
When I again connect the wifi-connection, the wifi-connection is set up and the 
Ethernet connection is still available.

My expectation when restarting the system would be, that the wifi-connection is 
setup and has the default route, but that the Ethernet connection should be 
connected too.

Here an extract from the documentation why I think that this should be the 
behavior :

http://git.kernel.org/cgit/network/connman/connman.git/tree/doc/overview-api.txt?id=HEAD



"The Ethernet devices are always sorted first since they are physically built 
into the system and will be always present. In cases they are switched off 
manually they will not be showing in this list. ... For Ethernet the plugging 
of a cable makes it a favorite."

Is the current behavior I am seeing correct, or my expectation?

I am using a rather current version of connman.

Best regards
Jörg Hunsche
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to