Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Aug 1999 16:08:08 +0100
From:      Brian Somers <brian@FreeBSD.org.uk>
To:        Rowan Crowe <rowan@sensation.net.au>
Cc:        Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject:   Re: problem with user level ppp, using multilink functionality 
Message-ID:  <199908091508.QAA49466@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Mon, 09 Aug 1999 22:34:30 %2B1000." <Pine.BSF.4.01.9908092230460.9432-100000@velvet.sensation.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908091508.QAA49466>