Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-29 Thread Marc Haber
tags #1000622 confirmed pending thanks On Mon, Nov 29, 2021 at 08:17:29AM +, Mario Volterra wrote: > 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 successfull

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-29 Thread Mario Volterra
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 Documentatio

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-28 Thread Marc Haber
On Sat, Nov 27, 2021 at 05:29:23PM -0600, Corey Minyard wrote: > On Sat, Nov 27, 2021 at 09:29:24AM +0100, Marc Haber wrote: > > ser2net[625]: Invalid port name/number: Invalid data to parameter on > > line 30 column 0 > > > > since it might refer to a serial port as well as to a TCP port. I guess

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-27 Thread Corey Minyard
On Sat, Nov 27, 2021 at 09:29:24AM +0100, Marc Haber wrote: > On Fri, Nov 26, 2021 at 07:57:37PM -0600, Corey Minyard wrote: > > If this is what I think it is, this is a common issue on systems at > > boot; ser2net is started before networking is enabled. Some sort of > > dependencies need to be a

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-27 Thread Marc Haber
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://ww

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-27 Thread Marc Haber
On Fri, Nov 26, 2021 at 07:57:37PM -0600, Corey Minyard wrote: > If this is what I think it is, this is a common issue on systems at > boot; ser2net is started before networking is enabled. Some sort of > dependencies need to be added to the ser2net systemd code, though I'm > not sure what. I am

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-26 Thread Corey Minyard
On Fri, Nov 26, 2021 at 12:25:24AM +0100, Mario V wrote: > Package: ser2net > Version: 4.3.3-1 > Severity: important > X-Debbugs-Cc: mario@volterra.cloud > > Dear Maintainer, > > *** Reporter, please consider answering these questions, where appropriate *** > >* What led up to the situation?

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-25 Thread Marc Haber
severity #1000622 minor thanks On Fri, Nov 26, 2021 at 12:25:24AM +0100, Mario V wrote: > Distributor ID: Raspbian > Description: Raspbian GNU/Linux 11 (bullseye) Please try to reproduce the issue on Debian proper. Greetings Marc -- --

Bug#1000622: ser2net: Fails to start on boot since the serial port is not ready

2021-11-25 Thread Mario V
Package: ser2net Version: 4.3.3-1 Severity: important X-Debbugs-Cc: mario@volterra.cloud Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Installed, before upgrade to Debian Bullseye it worked fine on buster (rasp