From owner-freebsd-isp Mon Aug 9 8:10: 5 1999 Delivered-To: freebsd-isp@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 8C826150D1 for ; Mon, 9 Aug 1999 08:10:02 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA94831; Mon, 9 Aug 1999 16:06:23 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA49466; Mon, 9 Aug 1999 16:08:09 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908091508.QAA49466@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Rowan Crowe Cc: Brian Somers , freebsd-isp@FreeBSD.ORG Subject: Re: problem with user level ppp, using multilink functionality In-reply-to: Your message of "Mon, 09 Aug 1999 22:34:30 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Aug 1999 16:08:08 +0100 From: Brian Somers Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, 9 Aug 1999, Brian Somers wrote: > > > > Anyway, the problem is that when running as a server (started with > > > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when > > > carrier is lost. There's nothing suggesting it actually detects the loss > > > of CD when I pull the (line) plug on the modem, and about 3 minutes later > > > it complains about the lack of response to LQR packets and declares the > > > bundle dead. However, the ppp task associated with that serial line > > > doesn't exit! It's still sitting there 20 minutes later, with 'who' still > > > showing up the login as if the modem was still connected. Meanwhile the > > > dialin line is just ringing out as obviously mgetty isn't running. To > > > regain control I have to log in via shell and kill off the ppp process. > > [.....] > > > > If you ``set log +debug'', ppp reports what it thinks about the state > > of carrier every second. If your wiring is dodgy and carrier is > > not available, ppp will behave like this. > > That still doesn't explain why ppp sticks around after it declares the > bundle closed due to lack of LQR replies... surely that's basically > equivalent to detecting carrier loss? :) And what does ``show links'' say ? Ppp will only delete -direct and -background links when they close. It won't delete other link types. > I'll increase the debug level and perhaps try an earlier version too, to > see if that changes anything. [.....] If you fire a log file with ``set log lcp ipcp command phase'' this way, I can have a look and see if there's anything odd there. > Cheers. > > > -- > Rowan Crowe http://www.rowan.sensation.net.au/ > Sensation Internet Services http://www.sensation.net.au/ > Melbourne, Australia Phone: +61-3-9388-9260 -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message