From d237129c991fd0c563c4942f05d178745a85c367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Wed, 15 Jan 2025 18:32:23 +0100 Subject: [PATCH] Update README.md --- connector/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/README.md b/connector/README.md index 9200a8d..a7b8ad8 100644 --- a/connector/README.md +++ b/connector/README.md @@ -1,6 +1,6 @@ # Use a container to implement a serial to net bridge -This uses `ncat` from [nmap](https://nmap.org/ncat/) to bridge a serial port to a network port. The serial port is passed to the Podman command (eg. `/dev/ttyUSB0`) and the network port is `2560`. +This uses `ncat` from [nmap](https://nmap.org/ncat/) to bridge a serial port to a network port. The serial port is passed to the Podman command (eg. `/dev/ttyACM0`) and the network port is `2560`. > [!IMPORTANT] > Other variants of `nc` or `ncat` may not work as expected. @@ -9,7 +9,7 @@ This uses `ncat` from [nmap](https://nmap.org/ncat/) to bridge a serial port to ```bash $ podman buil -t dcc/bridge . -$ podman run -d --device=/dev/ttyUSB0:/dev/arduino -p 2560:2560 --name dcc-bridge dcc/bridge +$ podman run -d --group-add keep-groups --device=/dev/ttyACM0:/dev/arduino -p 2560:2560 --name dcc-bridge dcc/bridge ``` It can be tested with `telnet`: