From owner-freebsd-questions Tue Apr 14 16:37:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16775 for freebsd-questions-outgoing; Tue, 14 Apr 1998 16:37:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16760 for ; Tue, 14 Apr 1998 23:36:43 GMT (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.7) with ESMTP id AAA22946; Wed, 15 Apr 1998 00:34:12 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199804142334.AAA22946@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: brian@litzinger.com cc: Capriotti , freebsd-questions@FreeBSD.ORG Subject: Re: PPP ADVANCED ISSUES In-reply-to: Your message of "Tue, 14 Apr 1998 14:05:29 PDT." <19980414140529.B12460@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 00:34:12 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On %M 0, Capriotti wrote: > > Hello, again. > > > > >From time to time, my connection with my ISP goes bad, lowering the > > response time and even the speed for the data flow. > > > > Is there a way to instruct PPP or PPPD to > > discnnect and reconnect in case of bad thruoghput ? > > I don't know about the implementation in FreeBSD, but PPP has a > protocol called LQR (link quality report). Some PPP implementations > can be configured to drop the connection and reconnect if the LQR > reports are below a certain threshold. However, they directly > address lost data rather than slow data. However, LQRs which > don't respond in time can count against a slow connection. User-ppp has only one LQM strategy - if we haven't had a reply to the last 5 LQRs (or ECHO LQRs), we drop the link instead of sending a 6th. I may implement more strategys in the multilink version. The problem is that it seems that a lot of ISPs will just REJ QUALPROTO LCP requests, so we're stuck using ECHO LQRs which are useless for determining a bad link :-( > I could also envision a script which pings the ISP side of the interface. > If the times come back too slow, you could kill off the PPP session > and spawn another. Once it's been determinted that the link needs to be recycled, a simple ``pppctl -p xxx myport down\; dial'' will do the trick. > -- > Brian Litzinger -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message