Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • Do you mean the autoconnect option by "wait until all connections configured to be started automatically succeed"? Can I leverage this when I set no-auto-default=* but I have autoconnect=yes on one of my connections? And last question - I don't understand --wait-for-startup option of the nm-online and manual page does not help much. Thanks for this writeup, highly appreciated! Commented Nov 11, 2015 at 12:33
  • As far as I know, nm-online doesn't care about no-auto-default, only auto. Do you have any specific question? In my opinion the nm-online manpage states clearly that with -s it waits for all auto connections to be attempted, i.e. connected or failed. Commented Nov 11, 2015 at 14:39
  • After messing with this crap for an hour, I found the solution: apt-get install sysv-init. :-) The complexity systemd adds as a replacement for a few shell scripts is mind boggling. Commented Mar 6, 2016 at 22:17
  • @Someone I'm afraid that initscripts are not an answer in this case. If you're using NetworkManager or any other dynamic configuration tool, initscripts can't order themselves after a fully configured network. You can get a limited dynamic configuration using /etc/init.d/network or similar but that doesn't work universally. Commented Mar 23, 2016 at 21:30
  • 1
    Wants=network-online.target specifies that the service unit "wants" the network-online.target, which means that it will be started after the network is online, but it does not necessarily depend on the network being online for its own operation. Requires=network-online.target specifies that the service unit "requires" the network-online.target, which means that it will not be started unless the network is online, and if the network goes offline, the service will be stopped or restarted. Commented Mar 25, 2023 at 2:51