Greetings,
I am trying to prioritize Ethernet over WiFi connectivity using connman on
an embedded Linux device. If no Ethernet cable is plugged in connman
attempts to connect with WiFi. However, if an Ethernet cable is plugged in
to a link-local network with no internet access connman does not fall back
to WiFi. I read some documentation that lead me to believe that it would.
"Services of the listed technology type will be tried one by one in the
order given, until one of them gets connected or they are all tried. A
service of a preferred technology type in state 'ready' will get the
default route when compared to another preferred type further down the list
with state 'ready' or with a non-preferred type; a service of a preferred
technology type in state 'online' will get the default route when compared
to either a non-preferred type or a preferred type further down in the
list."
I consider a link-local IP address to be 'ready' not 'online' so why does
connman stay connected to Ethernet in this case? I have the following
lines in my device's /etc/connman/main.conf.
PreferredTechnologies = ethernet,wifi,cellular
SingleConnectedTechnology = true
Cheers,
Frank
Show replies by thread