Korenix | Appendix
69
7-7
Ser2net Manual
Name
ser2net - Serial to network proxy
Synopsis
ser2net
[-c configfile] [-C configline] [-p controlport] [-n] [-d] [-b] [-v] [-P pidfile]
Description
The
ser2net
daemon allows telnet and tcp sessions to be established with a unit‟s serial
ports.
The program comes up normally as a daemon, opens the TCP ports specified in the
configuration file, and waits for connections. Once a connection occurs, the program attempts
to set up the connection and open the serial port. If another user is already using the
connection or serial port, the connection is refused with an error message.
Options
-c
config-file
Set the configuration file to one other than the default of
/etc/ser2net.conf
-C
config-line
Handle a single configuration line. This may be specified multiple times for multiple
lines. This is just like a line in the config file. This disables the default config file, you
must specify a -c after the last -C to have it read a config file, too.
-n
Stops the daemon from forking and detaching from the controlling terminal. This is
useful for running from init.
-d
Like -n, but also sends the system logs to standard output. This is most useful for
debugging purposes.
-P
pidfile
If specified, put the process id (pid) of ser2net in the pidfile, replacing whatever was in
that file previously. A pidfile is not created by default, you must specify this to create
one. Note also that this filename must be specific wi th the full path, as ser2net will
change directory to “/” when it becomes a daemon. when it
-u
If UUCP locking is enabled, this will disable the use of UUCP locks.
Содержание JetBox5400 series
Страница 1: ...JetOS95 User Manual www korenix com...
Страница 5: ...Korenix Overview 5...
Страница 68: ...68 Appendix Korenix http www busybox net downloads BusyBox html...