💾 Archived View for republic.circumlunar.space › users › johngodlee › posts › 2019-04-10-network-tim… captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Ubuntu network timeout

DATE: 2019-04-10

AUTHOR: John L. Godlee

I installed a minimal Ubuntu server image on a little Toshiba NB100 netbook I was given as a present and there was an annoying side effect whereby if a wireless network wasn't detected on boot the bootup process would wait for about 5 minutes looking for a network before moving on. This happened every single time I booted up because I preferred to only search for wireless networks manually. The answer was to edit the networking.service config file:

sudo systemctl edit networking.service

Then enter into the file:

Service
TimeoutStartSec=20sec

to set the timeout period when looking for wireless networks to be 20 seconds.

Check the file has the correct information:

systemctl cat networking.service