Invalid port name/number Issue on Boot With Raspberry Pi
menschel opened this issue · comments
menschel commented
The Issue itself is described in various Threads like #60
already but I found another caveat that I want to share.
The first requirement are the lines Wants=
, After=
in /lib/systemd/system/ser2net.service
in section [Unit]
[Unit]
...
Wants=network-online.target
After=network-online.target
The caveat is that the static unit network-online.target
must exist for this to work.
This option must be explicitely set on Raspberry Pi
sudo raspi-config
--> System Options
--> Network At Boot
--> YES
It took me hours of try and error to figure out that this setting is related to the existence of network-online.target
.