@JamesCRocks posting web links limitation is due to the built-in Trust Level system. Read more about that here: Our Trust Level System
If you are on Ubuntu 24.04 LTS systemd-networkd-wait-online.service waits until network links are “online,” and by default it waits for all links known to systemd-networkd. If one NIC is unplugged or slow to get DHCP, boot stalls for up to 120 seconds.
You can see which “wait-online” unit exists with:
systemctl status systemd-networkd-wait-online.service || true
systemctl status NetworkManager-wait-online.service || true
The best approach is probably to make wait-online succeed faster. Create a drop-in that waits for any interface or a specific one, with a short timeout.
sudo systemctl edit systemd-networkd-wait-online.service
You should delete everything below ### Lines below this comment will be discarded and replace it with your custom override, something like this:
[Service]
ExecStart=
ExecStart=/lib/systemd/systemd-networkd-wait-online --any --timeout=5
Ssave and exit nano.
Then do:
sudo systemctl daemon-reload
sudo systemctl restart systemd-networkd-wait-online.service
Let us know if that works.
