ser2net service fails after reboot #222
-
I've had to use ser2net under version 7, and though it works, I've always had to manually restart the service after a reboot. Maybe /dev/ttyUSB0 isn't ready when the service trys to start. I don't know. If you have any thoughts about how I can fix this, I would appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Hi @fabnavigator, Hope you're well. If you can find the it may be here :
This will restart the After making this change, you will need to update systemd
|
Beta Was this translation helpful? Give feedback.
-
It may Evan be worth just running it may not be enabled to auto start 😅 |
Beta Was this translation helpful? Give feedback.
-
Hi @marcus-j-davies, I'm doing well. I hope you are too. I've been quiet becasue I've recently moved from an apartment to a house. I'm poised to finally reinstall all of my 30 or so z-wave devices. Lots of fun in the near future. The service is enabled and the service starts on boot. I see this below after a reboot.
The service starts, so the restart on failure isn't doing anything. The configuration file contains:
I think that at the time the service starts the USB port is not active yet. If I then do this:
Everything works. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I saw that, and tried some stuff, with no success. |
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
I added
@reboot sleep 15 && systemctl restart ser2net
to sudo crontab, and things work after a reboot.