home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 10982 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.7 KB

  1. Path: sparky!uunet!wupost!uwm.edu!biosci!joes!kumr!pozar
  2. From: pozar@kumr.lns.com (Tim Pozar)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: modem-support
  5. Message-ID: <1993Jan7.013608.2241@kumr.lns.com>
  6. Date: 7 Jan 93 01:36:08 GMT
  7. References: <C0FzKB.D59@hermes.hrz.uni-bielefeld.de>
  8. Organization: Late Night Software (San Francisco)
  9. Lines: 29
  10.  
  11. thumser@Techfak.Uni-Bielefeld.de (Wolfgang Thumser) writes:
  12. >
  13. >Whenever I connect the internal modem to the com1 port getty
  14. >starts login immediately without waiting for somebody dialing in
  15. >first. Is there any solutionto this problem?
  16. >                      Thanks in advance
  17. >                        Wolfgang Thumser
  18.  
  19.     Tell your modem to answer on the first ring and not echo commands and
  20. not give result codes.  To do this do not run a getty on the com port when
  21. you boot, stty the line for the b/s rate you want.  stty doesn't seem to
  22. work with just the command "stty 19200 < /dev/com1" (a bug?). You need to
  23. add something like "cs8" to the command like: "stty cs8 19200 < /dev/com1".
  24. At this point run the tip that came with the boot diskette with the
  25. command: "tip /dev/com1", and tell the modem to not speak.  My commands
  26. for my MultiTech were "ATE0Q0M0" and "AT&W" to store them.
  27.     Go back and edit the /etc/ttys file and stick this line in:
  28. com1    "/usr/libexec/getty t19200"    dialup    on
  29. save the file and do a "kill -HUP 1" to restart init.
  30.  
  31.     Remember to also set the com port to the highest rate the modem can 
  32. handle.  If you can lock it down at that, the better.
  33.  
  34.           Tim
  35.  
  36. -- 
  37.     Internet: pozar@kumr.lns.com     FidoNet: Tim Pozar @ 1:125/555
  38. Snail: Tim Pozar / KKSF / 77 Maiden Lane / San Francisco CA 94108 / USA
  39.                         Voice: +1 415 788 2022
  40.