Ubuntu Server 24.04.2 LTS persistent error systemd-networkd-wait-online.service [Solved]

I’d say to resolve that dull issue of “Permanent error from systemd-networkd-wait-online.service”, there is a 100% solution to the issue:

  1. Create directory:
sudo mkdir /etc/systemd/system/systemd-networkd-wait-online.service.d/
  1. Create a file called waitany.conf (new) and open with any text editor:
sudo nano /etc/systemd/system/systemd-networkd-wait-online.service.d/waitany.conf
  1. Fill waitany.conf with the following content:
[Service]​
​ExecStart=​
​ExecStart=/lib/systemd/systemd-networkd-wait-online --any -i lo:missing -i eth0:missing -i wlan0:missing --timeout=10 -q​

  1. Save & Reboot