I, too, have just spent many hours looking into this and wondering how it
could be so difficult. I didn't have any issues getting wifi connected, but
only if I unplugged the ethernet cable would it would come up on boot.
I finally came across this in the connman.conf(5) manual:
SingleConnectedTechnology=true | false
Keep only a single connected technology at any time. When a
new service is connected by the user
*or a better one is found according to PreferredTechnologies*,
the new service is kept connected
and all the other previously connected services are
disconnected. With this setting it does not
matter whether the previously connected services are in
'online' or 'ready' states, the newly
connected service is the only one that will be kept
connected. A service connected by the user
will be used until going out of network coverage. With this
setting enabled applications will no‐
tice more network breaks than normal. Default value is false.
I thought PreferredTechnologies was just to choose which connection got the
default route, but I read this to mean that if a preferred technology is
connected, it won't even try to connect something lower on the preference
list. The default order in /etc/connman/main.conf is ethernet,wifi, and
eth0 is found and configured well before my USB dongle is loaded. This
explains the problems with connecting both at once.
The man page also gives us:
AlwaysConnectedTechnologies=technology[,...]
List of technoolgies which are always connected regardless
of PreferredTechnologies setting (Au‐
toConnect = true). The default value is empty and this
feature is disabled unless explicitly en‐
abled in the config file.
So adding "AlwaysConnectedTechnologies=ethernet,wifi" to main.conf fixes
the issue without the need for delayed manual startup scripts. I just
tested it and it works for me.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/27887475-d025-46b8-93ff-779d1f79b0adn%40googlegroups.com.