From owner-freebsd-stable@FreeBSD.ORG Wed Oct 4 19:37:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 646FC16A47B for ; Wed, 4 Oct 2006 19:37:54 +0000 (UTC) (envelope-from tychl@mail.txf.com) Received: from atlas.summitpolymers.com (24-176-11-122.static.klmz.mi.charter.com [24.176.11.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id F238443D91 for ; Wed, 4 Oct 2006 19:37:38 +0000 (GMT) (envelope-from tychl@mail.txf.com) Received: from [172.16.157.26] (atlas.summitpolymers.com [172.16.157.26]) by atlas.summitpolymers.com (Postfix) with ESMTP id 2A88E1535B0; Wed, 4 Oct 2006 15:38:34 -0400 (EDT) Message-ID: <45240D81.2080506@mail.txf.com> Date: Wed, 04 Oct 2006 15:37:37 -0400 From: Nick Gustas User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Ulrich Spoerlein References: <20061004185148.GA1848@roadrunner.q.local> <20061004185911.GA94703@epia2.farid-hajji.net> <20061004190611.GB1848@roadrunner.q.local> In-Reply-To: <20061004190611.GB1848@roadrunner.q.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: ppp redial unsuccessful X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 19:37:54 -0000 Ulrich Spoerlein wrote: > cpghost wrote: > >> On Wed, Oct 04, 2006 at 08:51:48PM +0200, Ulrich Spoerlein wrote: >> >>> Hello all, >>> >>> with my ADSL provider (a reseller of the german Telekom), I'm unable to >>> make ppp redial after the link has been lost. With Telekom, you usually >>> get disconnected every 24h hours, but you can simply reconnect .... if >>> our ppp would support it. >>> >> Have you added this to /etc/rc.conf? >> >> ppp_mode="ddial" >> > > Yes of course, as you can see, ppp(8) is not exiting, but entering an > redial endless loop ... > > Ulrich Spoerlein > Not that it helps you much, but I do see working pppoe redial behavior with Yahoo/AT&T dsl at a client site in the US. I can unhook the dsl line and it will autoreconnect as soon as it's plugged in again. In the event of a provider outage it comes back up on its own. The current ppp session has been running for 59 days, longest session was 353 days, but the server had to be moved for remodeling. ppp.conf : ------- default: ident user-ppp VERSION (built COMPILATIONDATE) set device PPPoE:dc0 set log Phase Chat LCP IPCP CCP tun command set dial set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR # Add a (sticky) default route set login enable dns # request DNS info (for resolv.conf) papchap: set authname xxxxxxxxx set authkey xxxxxxxx ------- ppp commandline: /usr/sbin/ppp -quiet -ddial -nat papchap uname -a: FreeBSD xxxxxxxx.lan 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue Apr 26 13:45:16 EDT 2005 root@xxxxxxx.lan:/usr/obj/usr/src/sys/XXXXXXXX i386 current trimmed px axu: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 55 0.0 1.5 2840 896 ?? Ss 5Aug06 32:10.11 /usr/sbin/ppp -quiet -ddial -nat papchap