Network doesn't come online...

…when the ethernet cable is disconnected during boot or, in my case, the Raspberry Pi is connected via USB to the router and powered up simultaneously, even if the ethernet cable is cycled.

Steps to reproduce:

  1. Disconnect ethernet cable
  2. Power on Raspberry Pi
  3. Wait for boot to be completed
  4. Insert ethernet cable

Expected results:
eth0 should go up and an IP address should be fetched via dhcp

Actual results:

Dirty fix:

# systemctl restart networking
  • or in my case -
ExecStartPost=systemctl restart networking

under [Service] to /lib/systemd/system/mpd.service as the router is ready by then.

Yes it’s a known bug and it will be solved