From owner-freebsd-questions Wed Aug 9 10:25:50 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA20826 for questions-outgoing; Wed, 9 Aug 1995 10:25:50 -0700 Received: from lupine.nsi.nasa.gov (lupine.nsi.nasa.gov [198.116.2.100]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA20820 for ; Wed, 9 Aug 1995 10:25:48 -0700 Received: (from mnewell@localhost) by lupine.nsi.nasa.gov (8.6.12/8.6.12) id NAA17770; Wed, 9 Aug 1995 13:21:11 -0400 Date: Wed, 9 Aug 1995 13:21:08 -0400 (EDT) From: "Michael C. Newell" To: tony@rtd.com cc: questions@freebsd.org Subject: Re: pppd not dying In-Reply-To: <199508091648.JAA26148@seagull.rtd.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@freebsd.org Precedence: bulk On Wed, 9 Aug 1995, Tony Jones wrote: > Do you have carrier detect always asserted? This is bad. > You should have CD set to follow the remote, and also have the modem set to > drop DSR when CD drops. > When you have all of this set up, pppd will get a HUP when the modem carrier > drops. Yes, I have CD and DSR following carrier; carrier does drop when the line disconnects (I put a breakout box on it to make sure; also the same config worked fine on Linux...) I actually added code to pppd to see if the HUP is delivered. It isn't invoking the trap routine when the modem dies; I guess the HUP is somehow getting lost in the sio driver? > I don't need a detach since I don't specify a tty when I start pppd, > this forces no detach and just uses the controlling tty it inherits > from the getty. Yeah, I tried it with both detach and -detach; no effect. Serious bummer, that!! :-) Thanks, Mike +--------------------------------------+------------------------------------+ |Mike Newell | The opinions expressed herein are | |NASA Science Internet Network Systems | my own, and do not necessarily | |Sterling Software, Inc. | reflect those of the NSI program, | |MNewell@nsipo.nasa.gov | Sterling Software, NASA, or anyone | |+1-202-434-8954 | else. | +--------------------------------------+------------------------------------+ | work: http://www.eco.nsi.nasa.gov/~mnewell | | home: http://www.newell.arlington.va.us | +---------------------------------------------------------------------------+