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?
> Installed, before upgrade to Debian Bullseye it worked fine on buster 
> (raspberry Pi0 W)
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> sudo apt install ser2net , edit /etc/ser2net/ser2net.conf, sudo systemctl 
> enable ser2net && sudo systemctl start ser2net
>    * What was the outcome of this action?
> the service started
>    * What outcome did you expect instead?
> When rebooting the Pi0 on sudo systemctl status ser2net I get
> ```
>  ser2net[625]: Invalid port name/number: Invalid data to parameter on line 30 
> column 0
> ```

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.

It's not important to get the serial ports ready before ser2net, ser2net
only opens the ports when a connection comes in.  Unless you are doing
connect backs, I guess, but even then ser2net should recover properly.

-corey

> 
> and it's not working until I run again `sudo systemctl restart ser2net` , in 
> buster it was working just fine.
> 
> 
> -- System Information:
> Distributor ID:       Raspbian
> Description:  Raspbian GNU/Linux 11 (bullseye)
> Release:      11
> Codename:     bullseye
> Architecture: armv6l
> 
> Kernel: Linux 5.10.63+
> Kernel taint flags: TAINT_CRAP
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages ser2net depends on:
> ii  init-system-helpers  1.60
> ii  libc6                2.31-13+rpt2+rpi1
> ii  libgensio0           2.2.4-1
> ii  libyaml-0-2          0.2.2-1
> ii  lsb-base             11.1.0+rpi1
> 
> ser2net recommends no packages.
> 
> Versions of packages ser2net suggests:
> pn  telnet  <none>
> 
> -- Configuration Files:
> /etc/ser2net.yaml changed:
> %YAML 1.1
> ---
> define: &banner \r\nser2net port \p device \d [\B] (Debian GNU/Linux)\r\n\r\n
> connection: &con01
>   accepter: tcp,20108
>   connector: serialdev,/dev/ttyAMA0,115200n81,local
>   options:
>     kickolduser: true
> 
> 
> -- no debconf information
> 

Reply via email to