home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9907 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  2.4 KB

  1. Path: sparky!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!matrox!altitude!Nyongwa.CAM.ORG!steve
  2. From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problems with gettyps203 (uugetty) answering phone
  5. Message-ID: <Bu2wI7.1ux@Nyongwa.CAM.ORG>
  6. Date: 5 Sep 92 00:10:55 GMT
  7. References: <1992Sep4.014521.4187@magnus.acs.ohio-state.edu>
  8. Organization: Chiral Symmetry Breaking, Inc.
  9. Lines: 47
  10.  
  11. In article <1992Sep4.014521.4187@magnus.acs.ohio-state.edu> bjones@magnus.acs.ohio-state.edu (William A Jones) writes:
  12. >I just downloaded gettyps203 from sunsite.unc.edu but everything has also
  13. >been true for gettyps202 and the getty on the 0.97 rootimage.
  14. >
  15. >Try as I might, I cannot get any of these to answer the phone when it
  16. >rings the modem.  I have tried the stock configuration files provided
  17. [ ... ]
  18. >My current inittab has the following
  19. >
  20. >ttys2:vt100:/bin/uugetty ttys2 9600
  21. >
  22. >to set getty on the serial port.  This, according ps, is there.  It is owned
  23. >by root and the PID seems to increment about once each minute (is this
  24. >supposed to happen?).
  25.  
  26. No.  This indicates that something very bad is happening.  
  27.  
  28. First thing to try is enable debugging, by putting -Dn (n = 350 is a nice 
  29. value) on the command line (i.e. in inittab).  This may not be extremely
  30. informative, but you should at least be able to see if the chat scripts are
  31. working.  Debug output is in /tmp directory.
  32.  
  33. Actually, I hope this points out the trouble, because the rest of your
  34. setup looks okay to me.
  35.  
  36. >Bill
  37.  
  38. Although neither of these appears to apply to you, I'll mention two things as 
  39. a postscript, to spare others the grief they caused me.
  40.  
  41. 1.  I used to have 'ATZ' in my INIT chat to reset the modem.  But when I
  42. borrowed my friend's modem, resetting the modem caused something funny to
  43. happen, which ended up killing the getty process.  My theory is that on his
  44. modem, reset pulls DSR low and getty gets a signal (SIGHUP maybe?) and dies.
  45. This theory is unverified, but the end result was that getty was continually
  46. respawing: the debug output showed new a new getty in the middle of the
  47. INIT chat.
  48.  
  49. 2.  For some reason, I thought putting SANE in the second field of gettydefs
  50. (the initial tty settings) would be a good idea.  It isn't.  SANE includes 
  51. ECHO among other things, so anything my modem sent would be echoed back to
  52. it, causing great confusion, and continual respawning of getty.
  53.  
  54. Steve
  55. -- 
  56. Steve Robbins  --  steve@nyongwa.cam.org
  57. Be surreal.  Like an eel.  Thats how I feel.
  58.