home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume15 / ultrix-modem / README < prev    next >
Text File  |  1988-05-24  |  2KB  |  71 lines

  1. Modem: A bi-directional uugetty replacement.
  2.  
  3. "Modem" works just like "uugetty", and allows incoming and outgoing calls 
  4. through the same port.
  5.  
  6. In addition, it allows provides additional facilities:
  7.  
  8. 1/.    Option to insert a uucp-style send-expect conversation to
  9. initialise the modem.
  10.  
  11. 2/.    Code to spawn getty at the correct speed, if you have a modem that
  12. can sense the speed of incoming calls.
  13.  
  14. 3/.    Autologout facility, if there is no activity on the modem for
  15. a specified period of time.
  16.  
  17. 4/.    Log of all connected calls.
  18.  
  19. 5/.    Option to run "who" and "ps" on the port, when connected,
  20. if you're really security-concious.
  21.  
  22. 6/.    Correct handling of DCD (carrier detect) signals from the modem.
  23.  
  24. 7/.    Works happily with "uucp", "cu", and "kermit", which are not aware
  25. that "modem" is running. [NB Slight change necessary to uucp dialer script
  26. required]
  27.  
  28. 8/.    State-changing code, which allows you to set the modem in a state
  29. related to the time of day. Useful if you want it only to auto-answer
  30. when you're not there, and want to use it as a telephone otherwise.
  31. [Thanks to jack@swlabs.uucp for this code.]
  32.  
  33.  
  34. It works fine on my modem, which talks too much for uugetty to be able to
  35. handle it!
  36.  
  37.  
  38. For your local site, you have to do the following:
  39.  
  40. Put this line in /etc/inittab
  41. XX:2:respawn:/usr/lib/modem ttyXX        where ttyXX is your modem line
  42.  
  43. Make sure that your dialer script is prepared to:
  44.  
  45.     a) sleep for > 1 sec BEFORE reading the first reply from the modem
  46.     b) accept that the first character sent by the modem will NOT get there
  47.  
  48. e.g. My Hayes dialer script is NORMALLY
  49.  
  50.     ... AT OK ATDP\T CONNECT
  51.  
  52. but MUST be modified to
  53.  
  54.     ... AT\r\D OK ATDP\T CONNECT          #( \D is a 2-sec pause )
  55.  
  56.  
  57. Modify the included dialer script to talk to YOUR modem, if you have a non-
  58. supported modem type. Please let me have your scripts, so that I can include
  59. them in future releases.
  60.  
  61. Modify the speed-detection routine, if your modem is not a hayes-compatible
  62.  
  63. Modify "locked()" to read YOUR lock directory - but see the makefile options
  64. for various lockfile protocols.
  65.  
  66. If necessary, modify the wiring to the modem so that DCD is asserted
  67. when the modem is online, but not asserted at other times.  This is
  68. necessary for the modem to generate a hangup signal when a remote site
  69. disconnects. 
  70.  
  71.