home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9756 < prev    next >
Encoding:
Text File  |  1992-12-28  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!nih-csl.dcrt.nih.gov!yog-sothoth.dcrt.nih.gov!jwa
  3. From: jwa@yog-sothoth.dcrt.nih.gov (James W. Adams)
  4. Subject: Re: dial-in modem setup
  5. Message-ID: <1992Dec28.182240.28392@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Organization: National Institutes of Health, Bethesda, MD
  8. References: <1992Dec10.083915.27482@cucs5.cs.cuhk.hk> <28115@dog.ee.lbl.gov> <1992Dec23.161954.15618@w8hd.org>
  9. Distribution: na
  10. Date: Mon, 28 Dec 1992 18:22:40 GMT
  11. Lines: 33
  12.  
  13. In article <1992Dec23.161954.15618@w8hd.org> kimc@w8hd.org (Kim Culhan) writes:
  14. >>My Sparc ELC's also don't have /etc/gettydefs and it is not in the man pages.
  15. >>What is the format for this file and who (which program) uses it?
  16. >I didn't do anything with gettydefs (doesn't exist on my 4.1.2 system.) 
  17. >If you set the modem to 'always return carrier high' then
  18. >there is, of courese, no way for the machine to get the message that
  19. >a connection has been made. I found I needed it to be high in order to 
  20. >communicate with it on outbound calls, however.
  21. >If CD is not asserted, you can't see any data coming from it (try it..)
  22. >I found the ideal solution to this problem to be this:
  23. >[...]
  24.  
  25. Read the zs man page.  It tells you how to configure the port to dial
  26. out without CD asserted using a device with minor number 128 greater
  27. than the corresponding /dev/tty*
  28.  
  29. This, combined with disabling echo and result codes and using the &D3
  30. mode to reset the modem, will work for outgoing and incoming calls.
  31. You can then set the modem so CD follows carrier.  The built-in locking
  32. will prevent getty from opening the corresponding /dev/tty* device when
  33. CD goes high on outgoing data calls.
  34.  
  35. You can put an initialization string in applications such as Kermit that
  36. use result codes in order to reset echo and result codes if needed.  The
  37. /etc/ttytab should not say "local" for the modem port. There should be
  38. no /etc/ttytab entry for the outgoing line (/dev/cua*).
  39.  
  40. --
  41.         James W. Adams   --   NIH Scientific Computing Resource Center
  42.         Building 12A, Room 1050              phone: (301) 402-4154
  43.         National Institutes of Health        uucp: uunet!nih-csl!jwa
  44.         Bethesda, MD 20892                   Internet: jwa@alw.nih.gov
  45.