SHA256
1
0
forked from pool/ser2net
ser2net/ser2net-config.patch
OBS User mrdocs e50cbbbbfb Accepting request 226902 from home:elvigia:branches:network:utilities
- version 2.9.1
* drop tcpwrappers support
* Fix a bug in format strings where hex element (\x)
  would have the wrong values for a-f.
* Make RFC2217 signature configurable:
* The baudrate, that will be sent to the client,
    was converted twice.

OBS-URL: https://build.opensuse.org/request/show/226902
OBS-URL: https://build.opensuse.org/package/show/network:utilities/ser2net?expand=0&rev=7
2014-03-21 05:02:02 +00:00

45 lines
1.6 KiB
Diff

--- ser2net-2.9.1.orig/ser2net.conf
+++ ser2net-2.9.1/ser2net.conf
@@ -108,23 +108,26 @@ OPENSTR:open1:Open str\r\n
CLOSESTR:close1:close str\r\n
+#example for modern USB<->serial adapters, telnet to port 6969
+#6969:telnet:0:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS
+
# Don't do this by default
#CONTROLPORT:2000
-2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS
+#2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS
#2002:raw:600:/dev/ttyS1:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS
-2003:raw:5:/dev/ttyS2:9600
-2004:raw:5:/dev/ttyS3:115200
-2005:raw:5:/dev/ttyS4:9600
-2006:raw:5:/dev/ttyS5:9600
-2007:raw:5:/dev/ttyS6:9600 tw=tw1 tr=tr1
-3001:telnet:0:/dev/ttyS0:19200 remctl banner1
-3011:telnet:3:/dev/ttyS0:19200 banner2
+#2003:raw:5:/dev/ttyS2:9600
+#2004:raw:5:/dev/ttyS3:115200
+#2005:raw:5:/dev/ttyS4:9600
+#2006:raw:5:/dev/ttyS5:9600
+#2007:raw:5:/dev/ttyS6:9600 tw=tw1 tr=tr1
+#3001:telnet:0:/dev/ttyS0:19200 remctl banner1
+#3011:telnet:3:/dev/ttyS0:19200 banner2
#3002:telnet:0:/dev/ttyS1:9600
-3003:telnet:0:/dev/ttyS2:9600 banner3
-3003:telnet:0:/dev/ttyS2:9600 signature1
-3004:telnet:0:/dev/ttyS3:115200
-3005:telnet:0:/dev/ttyS4:9600
-3006:telnet:0:/dev/ttyS5:9600 open1
-3007:telnet:0:/dev/ttyS6:9600 close1
-5001:rawlp:10:/dev/lp0
+#3003:telnet:0:/dev/ttyS2:9600 banner3
+#3003:telnet:0:/dev/ttyS2:9600 signature1
+#3004:telnet:0:/dev/ttyS3:115200
+#3005:telnet:0:/dev/ttyS4:9600
+#3006:telnet:0:/dev/ttyS5:9600 open1
+#3007:telnet:0:/dev/ttyS6:9600 close1
+#5001:rawlp:10:/dev/lp0