Skip to content

Commit

Permalink
README.md: Update telnet config
Browse files Browse the repository at this point in the history
Signed-off-by: Dawid Lesiak <[email protected]>

README.md: update Telnet config

Signed-off-by: Dawid Lesiak <[email protected]>
  • Loading branch information
dawidlesiak committed Jan 31, 2025
1 parent ffda849 commit eaf72ba
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,17 @@ command:
Service configuration is placed here:

```sh
# cat /etc/ser2net.conf
13542:telnet:16000:/dev/ttyS1:115200 8DATABITS NONE 1STOPBIT
13541:telnet:16000:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT
# cat /etc/ser2net.yaml

# Connection to read from /dev/ttyS1
connection: &con1
accepter: telnet, tcp, 13541
connector: serialdev, /dev/ttyS1, 115200n81, local

# Connection to read from /dev/ttyUSB0
connection: &con2
accepter: telnet, tcp, 13542
connector: serialdev, /dev/ttyUSB0, 115200n81, local
```

The first value indicates the port for telnet communication, the path /dev/tty*
Expand Down

0 comments on commit eaf72ba

Please sign in to comment.