Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.telstra.net!act.news.telstra.net!vic.news.telstra.net!sleipnir.iaccess.com.au!news.unimelb.edu.au!munnari.OZ.AU!uunet!in1.uu.net!165.254.2.53!nonexistent.com!not-for-mail From: "Jim Carroll" <jim@carroll.com> Subject: Re: ppp -background does not hangup X-Newsreader: Microsoft Internet News 4.70.1160 X-Complaints-To: Email abuse@news2.new-york.net if this posting is inappropriate Cache-Post-Path: hercules.carroll.com!unknown@jc.carroll.com Organization: Carroll-Net Message-ID: <E9Gwy6.LoM@nonexistent.com> References: <E9FL41.Jsr@nonexistent.com> <5k76rf$p26@ui-gate.utell.co.uk> X-Trace: 862432205 24709 (None) [199.224.10.73] X-Nntp-Posting-Host: hercules.carroll.com Date: Wed, 30 Apr 1997 20:30:06 GMT Lines: 25 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40095 > > I have tracked my problem down to the module modem.c, the function > > ModemTimeout(). It appears that the mbits returned from the function call > > > > ioctl(modem, TIOCMGET, &mbits) > > > > always returns with the bit TIOCM_CD bit set indicating we are still > > online. I have forcibly dropped the line (from the other side of the > > connection), but the ioctl call continues to report we are online. > > So your modem isn't reporting CD properly. You were absolutely correct. The ridiculous modem uses &C0 by default (this asserts DCD constantly). Servers me right for cutting corners on the modem. BTW: I wrote a quick little utility to extract the modem state, and display it symbolically to the console. If anyone would be interested, I would be happy to provide them with a copy. Ok, I am still having a problem with ij-ppp hanging up, but I believe this is a separate problem. I am therefore going to start a new thread. (Thanks Brian).