tcpser(1) emulate a Hayes compatible modem


tcpser -d dev -s speed [-l log_level -t tracing_options] ...
tcpser -v port [-l log_level -t tracing_options] ...


This manual page documents briefly the tcpser command.

tcpser turns a PC serial port into an emulated Hayes compatible modem that uses TCP/IP for incoming and outgoing connections. It can be used to allow older applications and systems designed for modem use to operate on the Internet. tcpser supports all standard Hayes commands, and understands extended and vendor proprietary commands (though it does not implement many of them). tcpser can be used for both inbound and outbound connections.


A summary of options is included below.
Show summary of options.
Port to listen on (defaults to 6400).
Trace flags: (can be combined)
modem input
modem output
IP input
IP output
Log level: 0 (NONE), 1 (FATAL) - 7 (DEBUG_X) (defaults to 0).
Log file (defaults to stderr).
The following can be repeated for each modem desired (-s, -S, and -i will apply to any subsequent device if not set again):
Serial device (e.g. /dev/ttyS0). Cannot be used with -v
TCP port for VICE RS232 (e.g. 25232). Cannot be used with -d
Serial port speed (defaults to 38400).
Speed modem will report (defaults to -s value).
Invert DCD pin.
Add phone entry (number=replacement).
Filename to send to local side upon answer.
Filename to send to remote side upon answer.
Filename to send to local side upon connect.
Filename to send to remote side upon connect.
Filename to send when no answer.
Filename to send when modem(s) busy.
Filename to send upon inactivity timeout.
Modem init string (defaults to `', leave off `at' prefix when specifying).
Direct connection (follow with hostname:port for caller, : for receiver).


tcpser was written by Jim Brain <[email protected]>.

This manual page was written by Peter Collingbourne <[email protected]>, for the Debian project (but may be used by others).