home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9722 < prev    next >
Encoding:
Text File  |  1992-09-02  |  2.4 KB  |  58 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!extro.ucc.su.OZ.AU!arumble
  3. From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
  4. Subject: Re: Dialups: Locking DTE speed and Carrier Loss ???
  5. Message-ID: <arumble.715478540@extro.ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: Sydney University Computing Service, Sydney, NSW, Australia
  9. References: <c+hn00f.james@netcom.com> <1992Sep1.212840.21152@cs.mcgill.ca>
  10. Date: Thu, 3 Sep 1992 00:02:20 GMT
  11. Lines: 45
  12.  
  13. guest@chopin.Physics.McGill.CA (Muhep Guest account) writes:
  14.  
  15. >James L. Paul writes
  16. >> I'm using 0.97.1 and GCC 2.2.2 with uugetty from the getty_ps package.
  17. >> 
  18. >[ ... ]
  19. >> Now on to more Linux-specific... With the original getty (from the root
  20. >> image) a carrier loss situation gets handled properly. I.E., the 
  21. >> processes
  22. >> get killed and getty is respawned. This getty does not handle multiple
  23. >> connect speeds as well, and does not have a uugetty option, so I'm no
  24. >> longer using it, in favor of uugetty as I said above. BUT...
  25. >> 
  26. >> Now when carrier is lost without logging out, the processes no longer
  27. >> get killed. Yes, I have the -HUPCL in all the /etc/gettydefs entries.
  28. >                              ^^^^^^
  29.  
  30. >If this is not a typo, that's your problem.  Using -HUPCL turns *OFF*  
  31. >sending SIGHUP on close.  Take out the minus sign.  (Or use SANE, which
  32. >includes HUPCL).
  33.  
  34. I am running my own Modem Server (Very similar to uugetty)..
  35.  
  36. ANd I have been having a range of problems.. 
  37. One being that people calling with MNP modems (I don't have a MNP modem)
  38. when the MNP modem sends its MNP init sequence it locks up the port
  39. and the Modem Server Exits... Does anyone have the exact string..
  40. Or an idea of what is sent from the Originating modem in the MNP
  41. init sequence?? There might be something like a Ctl-D.. Altho
  42. this should not affect the server..
  43.  
  44. More of a concern, is the fact that sometimes when people drop carrier
  45. it exits, and sometimes it doesn't.. (Yes HUPCL is set) I cannot
  46. work out why it doesn't..
  47.  
  48. What I have decided to do, is make the modem server fork to the login
  49. and check the line CD every minute or something and send a SIGTERM or
  50. SIGHUP to the forked process if CD is lost..
  51.  
  52. (Could also implement time limits this way..)
  53.  
  54. -- 
  55. Anthony Rumble
  56. aka SmilieZ
  57. "Anything is possible.. If there is enuf money in it"
  58.