From owner-freebsd-questions@FreeBSD.ORG Sun May 2 04:41:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF1E516A4CE for ; Sun, 2 May 2004 04:41:59 -0700 (PDT) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 654FA43D2D for ; Sun, 2 May 2004 04:41:58 -0700 (PDT) (envelope-from root@pukruppa.de) Received: (qmail 9903 invoked by uid 513); 2 May 2004 11:42:00 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.21 Clear:RC:1(213.146.114.24):SA:0(-4.9/5.0):. Processed in 0.79306 secs); 02 May 2004 11:42:00 -0000 X-Spam-Status: No, hits=-4.9 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 2 May 2004 11:41:59 -0000 Date: Sun, 2 May 2004 13:53:43 +0200 (CEST) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: Cordula's Web In-Reply-To: <20040501152925.8991340811@fw.farid-hajji.net> Message-ID: <20040502135110.B851@pukruppa.net> References: <20040501165712.U851@pukruppa.net> <20040501152925.8991340811@fw.farid-hajji.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: ppp instabilities? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 11:42:00 -0000 On Sat, 1 May 2004, Cordula's Web wrote: > > My system is > > FreeBSD pukruppa.net 5.2-CURRENT FreeBSD 5.2-CURRENT > > #0: Wed Apr 28 23:06:14 CEST 2004 . > > > > I am running userland ppp with -nat and -ddial options to connect > > to my DSL/Internet Service Providers (T-Kom and kamp-dsl in > > Germany, via PPPoE). > > > > During the last four or five weeks my connection went down very > > often and didn't start again - which should be granted by -ddial. > > My providers of course swear this isn't their fault and of course > > my DSL bridge or my NIC might be defect some way. > > Usually I can restart my connection by rebooting my machine. > > This typically happens when your ISP switches equipment (or > simply reloads your peer router. For a strange reason, > ppp doesn't notice that the PAD session is dead, and > therefore doesn't try to reconnect. > > You have two options here: > > 1. Log into ppp (pppctl /var/run/internet), and at the > PPP prompt, issue a close command. ppp will notice > and will shutdown the connection. If you used -ddial, > it will try to reestablish the connection by its own [*] Yes, indeed. It will try about 20 min, then the connection is reestablished. But how do I tell my providers about all this? Thanks so far, Uli. > > 2. Fix the code in ppp (or ng_pppoe?) so that it doesn't > depend only upon PADS keep-alives [**]. > > Notes: > > [*] Some routers need a lot of time to come back online. > You may need anytime from 1 minute to 30 minutes or so, > just tail -f /var/log/ppp.log in the meantime > > [**] Many ADSL ISPs peer with DSL providers. The DSL > provider's DSLAM equipment may be still okay > and send PADS confirmations when asked by ppp, > but the ISPs router may not be ready. When the > ISPs router comes back online, it will happily > disregard those dead ADSL sessions. Argh... > > BTW, I'm not speculating here. I've confirmed thrice with my > ISPs that they rebooted my peer router exactly when ppp > behaved as you've just described. > > > My ppp configs should be okay: I am using them for more than a > > year now without any problems. > > > > So here my two questions: > > 1) Does anyone else see this behavior on -CURRENT? > > 2) Are there any logs or tools I can use to analyze this > > behaviour? > > > > > > Thanks for all hints, > > > > Uli. > > > > +---------------------------+ > > | Peter Ulrich Kruppa | > > | Wuppertal | > > | Germany | > > +---------------------------+ > > Cheers, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+