I am having a strange problem trying to get network working on Linux using systemd.

My network eth0 is connected to a corporate network with a DHCP servier:

# more /etc/systemd/network/main.network


#Main connection to the outside world







# networkctl status eth0:

 2: eth0

 Link File: n/a

 Network File: /etc/systemd/network/main.network

        Type: ether

        State: routable (configured)

   HW Address: 00:03:2d:32:85:3a (IBASE Technology, Inc.)

          MTU: 1500





However, wait-online service fail:

/lib/systemd/systemd-networkd-wait-online --interface eth0 --timeout=10**
 ignoring: sit0

Event loop failed: Connection timed out

The system had acquired a valid IP address on eth0 so I don't understand why it would not be online.

I have another interface in the system, eth1, that is not plugged in.

  • Have you tried a higher timeout value? In fact, the default is 120 seconds – Yun-Chih Chen Nov 1 '16 at 15:21
  • I have the same problem. It is not due to timeout: after a few seconds eth0 is perfectly configured. Did you manage to find a solution? – Fabio Jul 24 '17 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.