Hello Marc and Corey, This really helped a lot! I have added to /lib/systemd/system/ser2net.service
After=network-online.target Wants=network-online.target ad below and rebooted the pi and upon restart ser2net started successfully! ``` [Unit] Description=Serial port to network proxy Documentation=man:ser2net(8) After=network-online.target Wants=network-online.target [Service] EnvironmentFile=-/etc/default/ser2net ExecStart=/usr/sbin/ser2net -n -c $CONFFILE -P /run/ser2net.pid Type=exec Restart=on-failure [Install] WantedBy=multi-user.target ``` Thank you a lot!!! Best Regards, Mario ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ Il sabato 27 novembre 2021 12:25 PM, Marc Haber <mh+debian-packa...@zugschlus.de> ha scritto: > Hi Mario, > > after Corey has given some input, we can try finding out what happens on > > your Pi. Does Raspbian use Network-Manager? systemd-networkd? ifupdown? > > You can try adding > > After=network-online.target > > Wants=network-online.target > > to the [Unit] stanza of ser2net.service. > > According to > > https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ you > > need to enable the correct wait-online.service matching your network > > management software (NetworkManager, systemd-networkd, ifupdown etc) for > > this to reliably work. > > Greetings > > Marc