My *guess* would be that the problem is something to do with startup
timing. My experience with BBB is that it takes a *long* time to
get round to initialising networking and that sometimes confuses
things.
As a workaround I would simply suggest running a script from
/etc/rc.local which waits for a minute or so and then does the
'systemctl restart connman.service'. You need to background the
script as you can't put something with a long delay in /etc/rc.local.
E.g. add the following to rc.local:-
/home/axel/bin/enableWifi.sh &
... and the script in /home/axel/bin/enableWifi.sh is:-
#!/bin/bash
sleep 60
systemctl restart connman.service
(not tested so there may be typos and other silly errors, but you can
see the idea)
--
Chris Green
·