home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- 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
- From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
- Subject: Re: Dialups: Locking DTE speed and Carrier Loss ???
- Message-ID: <arumble.715478540@extro.ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: Sydney University Computing Service, Sydney, NSW, Australia
- References: <c+hn00f.james@netcom.com> <1992Sep1.212840.21152@cs.mcgill.ca>
- Date: Thu, 3 Sep 1992 00:02:20 GMT
- Lines: 45
-
- guest@chopin.Physics.McGill.CA (Muhep Guest account) writes:
-
- >James L. Paul writes
- >> I'm using 0.97.1 and GCC 2.2.2 with uugetty from the getty_ps package.
- >>
- >[ ... ]
- >> Now on to more Linux-specific... With the original getty (from the root
- >> image) a carrier loss situation gets handled properly. I.E., the
- >> processes
- >> get killed and getty is respawned. This getty does not handle multiple
- >> connect speeds as well, and does not have a uugetty option, so I'm no
- >> longer using it, in favor of uugetty as I said above. BUT...
- >>
- >> Now when carrier is lost without logging out, the processes no longer
- >> get killed. Yes, I have the -HUPCL in all the /etc/gettydefs entries.
- > ^^^^^^
-
- >If this is not a typo, that's your problem. Using -HUPCL turns *OFF*
- >sending SIGHUP on close. Take out the minus sign. (Or use SANE, which
- >includes HUPCL).
-
- I am running my own Modem Server (Very similar to uugetty)..
-
- ANd I have been having a range of problems..
- One being that people calling with MNP modems (I don't have a MNP modem)
- when the MNP modem sends its MNP init sequence it locks up the port
- and the Modem Server Exits... Does anyone have the exact string..
- Or an idea of what is sent from the Originating modem in the MNP
- init sequence?? There might be something like a Ctl-D.. Altho
- this should not affect the server..
-
- More of a concern, is the fact that sometimes when people drop carrier
- it exits, and sometimes it doesn't.. (Yes HUPCL is set) I cannot
- work out why it doesn't..
-
- What I have decided to do, is make the modem server fork to the login
- and check the line CD every minute or something and send a SIGTERM or
- SIGHUP to the forked process if CD is lost..
-
- (Could also implement time limits this way..)
-
- --
- Anthony Rumble
- aka SmilieZ
- "Anything is possible.. If there is enuf money in it"
-