Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!192.239.17.140!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!blue.news.pipex.net!pipex!stns.news.pipex.net!warm.news.pipex.net!pipex!hole.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ppp -background does not hangup Date: 30 Apr 1997 10:27:59 GMT Organization: Awfulhak Ltd. Lines: 34 Message-ID: <5k76rf$p26@ui-gate.utell.co.uk> References: <E9FL41.Jsr@nonexistent.com> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40008 In article <E9FL41.Jsr@nonexistent.com>, "Jim Carroll" <jim@carroll.com> writes: > > I have been working with the ij-ppp program for the better part of two > days, and cannot seem to get it to hangup. > > 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. > I am at a loss to track down the code any further. I have spent some time > in the serial device driver (sio.c), but haven't had the time to really > take it apart. Could someone point me in the right direction? > > I would very much appreciate it. > > Thanks I suspect it's a modem configuration problem. Have a look in your manual for those silly settings that are necessary to get broken software to work - and remove them. If you've got a USR for example, the default hardware handshake profile works fine. -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !