Date: Sun, 2 May 2004 13:53:43 +0200 (CEST) From: Peter Ulrich Kruppa <root@pukruppa.de> To: Cordula's Web <cpghost@cordula.ws> Cc: freebsd-questions@freebsd.org Subject: Re: ppp instabilities? Message-ID: <20040502135110.B851@pukruppa.net> In-Reply-To: <20040501152925.8991340811@fw.farid-hajji.net> References: <20040501165712.U851@pukruppa.net> <20040501152925.8991340811@fw.farid-hajji.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 | +---------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040502135110.B851>