72
Appendix | Korenix
connections. It can be turned on later from the control port.
raw
enables the port and transfers
all data as-is between the port and the long.
rawlp
enables the port and transfers all input data
to device, device is open without any termios setting. It allow to use /dev/lpX devices and
printers connected to them.
telnet
enables the port and runs the telnet protocol on the port to
set up telnet parameters. This is most useful for using telnet.
timeout
The time (in seconds) before the port will be disconnected if there is no activity on it. A zero
value disables this funciton.
device
The name of the device to connect to. This must be in the form of
/dev/<device>
.
device
configuration
options
Sets operational parameters for the serial port. Values may be separated by spaces or commas.
Options
300,1200,
2400,
4800,
9600,
19200,
38400,
57600,
115200
set the various baud
rates.
EVEN,
ODD,
NONE
set the parity.
1STOPBIT,
2STOPBITS
set the number of stop
bits.
7DATABITS,
8DATABITS
set the number of data bits.
[-]XONXOFF
turns on (- off)
XON/XOFF support.
[-]RTSCTS
turns on (- off) hardware flow control.
[-]LOCAL
ignores (-
checks) the modem control lines (DCD, DTR, etc.)
[-]HANGUP
_
WHEN
_
DONE
lowers (- does not
lower) the modem control lines (DCD, DTR, etc.) when the connection
closes.
NOBREAK
Disables automatic clearing of the break setting of the port.
rem
_
c
tl
allows
remote control of the serial port parameters via RFC 2217. See the README for more
info.
<banner
name>
displays the given banner when a user connects to the port.
banner
name
A name for the banner; this may be used in the options of a port.
banner
text
The text to display as the banner. This may contain normal “C" escape strings, and it may also
contain, \d for the device name, \p for the TCP port number, and \s for the serial port
parameters (eg 9600N81) of the given connection.
Blank lines and lines starting with „#‟ are ignored.
Security
ser2net uses the tcp wrappers interface to implement host-based security.
See
hosts_access(5)
for a description of the file setup. Two daemons are used by ser2net,
“ser2net” is for the data ports and “ser2net-control” is for the control ports.
Signals
SIGHUP
If ser2net receives a SIGHUP, it will reread it configuration file and make the appropriate
changes. If an inuse port is changed or deleted, the actual change will not occur until the port