HOME ESR EXPERIMENTS LABS etc
NucAR lab laser_lab Fritz-Bosch-Lab X-Ray Lab target Beavertail
  NucAR lab  Not logged in ELOG logo
Message ID: 13     Entry time: Tue Apr 27 14:57:58 2021
Author: Jan 
Category: SlowControl 
Subject: ser2net 
ser2net can be used to forward /dev/ttyUSBx or /dev/ttySx to a tcp port.
One can then use telnet for connecting.

The config has to be done in /etc/ser2net.conf

This is an example:
3333:telnet:0:/dev/ttyUSB1:9600 8DATABITS NONE 1STOPBIT

Here ttyUSB1 with the named options is forwarded to telnet port 3333 on the local machine.

You then need to start "/sbin/ser2net"
You can stop it by "sudo service ser2net stop"

This is realized on atpnuc006 now.
ELOG V3.1.5-fc6679b