home *** CD-ROM | disk | FTP | other *** search
- Modem: A bi-directional uugetty replacement.
-
- "Modem" works just like "uugetty", and allows incoming and outgoing calls
- through the same port.
-
- In addition, it allows provides additional facilities:
-
- 1/. Option to insert a uucp-style send-expect conversation to
- initialise the modem.
-
- 2/. Code to spawn getty at the correct speed, if you have a modem that
- can sense the speed of incoming calls.
-
- 3/. Autologout facility, if there is no activity on the modem for
- a specified period of time.
-
- 4/. Log of all connected calls.
-
- 5/. Option to run "who" and "ps" on the port, when connected,
- if you're really security-concious.
-
- 6/. Correct handling of DCD (carrier detect) signals from the modem.
-
- 7/. Works happily with "uucp", "cu", and "kermit", which are not aware
- that "modem" is running. [NB Slight change necessary to uucp dialer script
- required]
-
- 8/. State-changing code, which allows you to set the modem in a state
- related to the time of day. Useful if you want it only to auto-answer
- when you're not there, and want to use it as a telephone otherwise.
- [Thanks to jack@swlabs.uucp for this code.]
-
-
- It works fine on my modem, which talks too much for uugetty to be able to
- handle it!
-
-
- For your local site, you have to do the following:
-
- Put this line in /etc/inittab
- XX:2:respawn:/usr/lib/modem ttyXX where ttyXX is your modem line
-
- Make sure that your dialer script is prepared to:
-
- a) sleep for > 1 sec BEFORE reading the first reply from the modem
- b) accept that the first character sent by the modem will NOT get there
-
- e.g. My Hayes dialer script is NORMALLY
-
- ... AT OK ATDP\T CONNECT
-
- but MUST be modified to
-
- ... AT\r\D OK ATDP\T CONNECT #( \D is a 2-sec pause )
-
-
- Modify the included dialer script to talk to YOUR modem, if you have a non-
- supported modem type. Please let me have your scripts, so that I can include
- them in future releases.
-
- Modify the speed-detection routine, if your modem is not a hayes-compatible
-
- Modify "locked()" to read YOUR lock directory - but see the makefile options
- for various lockfile protocols.
-
- If necessary, modify the wiring to the modem so that DCD is asserted
- when the modem is online, but not asserted at other times. This is
- necessary for the modem to generate a hangup signal when a remote site
- disconnects.
-
-