This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: systemd-networkd-wait-online.service times out when starting up no network

Part Number: SK-AM62

Hi everyone,

I have seen in several hardware using Yocto for iMx8, RPI3-64 and now TI-AM62x where the service systemd-networkd-wait-online.service always timeout (2 minutes) when the hardware is offline (no network connectivity) or even when only 1 port is connected (e.g. SMARC iMx8).

The workaround that use is to add --any --timeout=10 in the ExecStart of the service systemd-networkd-wait-online.service. However, the workaround feels dirty and uncomfortable as the system seems to work ok after the timeout... so does anyone know or understand the reason of this service? Is it just a service where other services can depend on it to indicate whether there is connectivity in the system? is the right solution to add the timeout?

Thanks.

Oscar E.L.