home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / sysadmin / 5046 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.9 KB  |  66 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!clem!news
  3. From: jmd@cube.handheld.com (Jim De Arras)
  4. Subject: Re: getty vs tip on ttyda -- an old story
  5. Message-ID: <1992Sep7.022750.2858@cube.handheld.com>
  6. Sender: news@cube.handheld.com
  7. Nntp-Posting-Host: dale
  8. Organization: Hand Held Products, Inc.
  9. References: <1992Sep7.003326.1873@proforma.com>
  10. Date: Mon, 7 Sep 1992 02:27:50 GMT
  11. Lines: 53
  12.  
  13. In article <1992Sep7.003326.1873@proforma.com> jgg@proforma.com (J. G. Gregory)  
  14. writes:
  15. > I trying to set up a NeXT for dialin on ttyda, via a Hayes 2400 modem.  This  
  16. is  
  17. > for UUCP, but that is irrelevant, I believe.
  18. > Two years ago, when I tried to do this, I ran into the problem whereby when  
  19. the  
  20. > getty was turned "on" for ttyda, it would not "block waiting for DCD to be  
  21. > asserted", and would spit the login: prompt out immediately upon being reset.   
  22. > This was on a 68030, and I proved that EVEN WITH NOTHING CONNECTED, this  
  23. > behavior would occur.  i.e., it was not the cable or the modem.  Despite my  
  24. > hopes, it was not solved with the 68040 upgrade or any of the software  
  25. > releases.
  26. > Since that time, a message appeared on the net regarding this problem, and I  
  27. > snarfed off, knowing I would come by this path again.  Here is the relevant  
  28. > part of that post:
  29. > > open(2) does indeed block as advertised, but only if you have a
  30. > > device connected to the port which ties the DCD pin LOW (ground
  31. > > state).  By default, the port will float DCD HIGH (asserted or
  32. > > "true")... To simulate this, connect the DCD pin to ground via
  33. > > a dropping resistor (say 1k ohm).  voila! open blocks. Disconnect
  34. > > the resistor and voila! the open goes through. Check what your
  35. > > attached device does. You may be surprised.
  36. > Now, how do I get everything to work as advertised?  Can the modem be set to  
  37. > hold the DCD low (it is set per the docs, &C1)?  Will the resistor trick work  
  38. > other than for just a test?  While I have real problems understanding why a  
  39. > dropping resistor is necessary on a NeXT with a Hayes modem (spent extra to  
  40. get  
  41. > modem NeXT mentioned), I can put it on if I have to.  But there has got to be  
  42. a  
  43. > better way.  Does any know what it is?
  44. As I read it, the advice above is demonstrating how to prove DCD control does  
  45. work.  It is not meant to be used in an actual installation.  What he's saying  
  46. is that with nothing connected to the DCD line, it will float in the direction  
  47. that does not block the open.  You need to check you modem's DCD line control,  
  48. most modems default to always asserting that line true.  Read through the AT  
  49. command set, or on older modems, check the dip switches!
  50.  
  51. > I would also like to hear from people who are successfully using a NeXT with  
  52. > both dialin and dialout working (without editing /etc/ttys in between).
  53. I'm using yrrid's ttydsp on an '030 at 57.6kbs with a v.32bis/v.42bis modem  
  54. with no problems. ;-)
  55.  
  56. > Thanks in advance.
  57. > --J Gregory
  58.  
  59. Jim
  60.