Search code examples
beagleboneblackangstrom-linuxsystemdconnman

Wait for connman to finish configuring the network in a sytemd system


Is there any way to configure a systemd service (e.g. serviceX) to wait for the connmand service to finish configuring network interfaces prior to serviceX running ? From what I understand of systemd, using or relying on the network.target is pointless because that functionality is horribly broken. The system I'm using (BeagleBone Black with Angstrom Linux) uses connman rather than NetworkManager.


Solution

  • Wants=network.target network-online.target and After=network.target network-online.target seem to be insufficient for Angstrom on the BeagleBone Black at the time of this writing. I also had to add connman.service to Wants= in order to get everything to work correctly.