A start job is running for wait for network to be configured. Ubuntu server 17.10
i just installed ubuntu server on my laptop and everything works fine except for the fact that at boot if the laptop is not connected to ethernet or in range of my wi-fi i get this message "A start job is running for wait for network to be configured" that stays for about 2 minutes. I looked up online for solutions and i tried to:
- Disable network manager
- Edit timeout settings in /etc/systemd/system.conf
- Disable systemd.networkd-wait-online.service
None of these solutions worked for me. Any possible fixes?
Don't mask or disable the systemd service.
Edit /etc/netplan/01-netcfg.yaml
and add optional: true
to any devices that may not always be available.
sudo netplan apply
Use
systemctl disable systemd-networkd-wait-online.service
to disable the wait-online service to prevent the system from waiting on a network connection, and use
systemctl mask systemd-networkd-wait-online.service
to prevent the service from starting if requested by another service (the service is symlinked to /dev/null
).