Linux Modem SERVER version 2.09

Please read COPYING for more details on the licence of this product.

**PLEASE** DON'T send this out with any changes, send me patch
files if you fix or modify anything, and I will release
it with your patches, and recognition of the patch.

It is designed to do what uugetty does not.

Compiling and Installation

I use GCC 2.4.3, with 0.99pl12 kernal.

Edit the Makefile to select what log file you want to use
and if you want device logging.

-DDEBUG will send a lot of information to the logfile and
the logging device, but is recommended until you are sure
everything is working.

just type 
make install

To make the program, and install the files.

There are a few config files that are used, the main GLOBAL
configuration fileis in /etc/default/modem.

It is used for all lines, unless a seperate config file is present
which will overide any options.
Have a look at this file for details of the options.

To make a seperate config for a different tty, just make a tty?? file
in the /etc/default directory with the overiding commands in it.

an example is in /etc/default/ttys1

Which is loaded for the modem server on ttys1

Command line parameters :-

/etc/modem tty speed login

eg:

/etc/modem ttys1 2400 bbs

This will Initialise the modem at 2400 baud. (Configuration files
can override this option). and will login as BBS when connected.
If you leave the login option blank, it will execute login
to allow the user to login as normal.

FEATURES:

*EASY* config files.
Specifically for HAYES compatable intelligent modems.
Fully UUCP aware, will allow UUCP or EMSI mailers to dial out
correctly, and also allows Termial Packages to use the line.
(Eg Xcomm).

If you have any probs, additions, fixes mail me
at  :-

root@lsupoz.apana.org.au


CONFIGURATION OPTIONS
---------------------

x = Number s = string

SPEED x
The com port speed you wish to initialise the modem at.

LOCKED
Set this if you want the port speed to not change after connection.
(This is normally used for Error Correcting modems)

INIT s
The Modem initialisation string.
A | is interpreted as a Carriage Return

INITSPEED x
The speed that you initialise the modem at.
This is here so that you can initialise the modem and use a command that
will lock the modem to a higher speed.
Eg, the Worldblazer can Autobaud up to 38400, but if you want to use
57600, you have to set an S register. You can set the INIT speed to
38400, and put the S register in the INIT string. After initialisation
the modem and modem server will switch to the higer speed.

ERRORCORRECT
Set this if you have an ERROR Correcting modem
(Ie with MNP and/or LAPM)

TIMEOUT
The Timeout value while waiting for a 'CR'
(This is only valid when ERRORCORRECT is not set).

CONNECT
The timeout value for waiting for the CONNECT message.
(If you have a modem that sends the connectmessage BEFORE
raising DCD, then set this to 0)
There are example setups for the NetComm M7F Series 4 and Avtek CD920/CD930
modems for this..

ISSUE
Set this if you want to send /etc/issue before displaying a login: prompt

ROWS
Set the default number of rows for the terminal to be set to.

COLS
Set the default number of cols for the terminal to be set to.
