From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 16:08:09 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9BA5106566C for ; Fri, 30 Jan 2009 16:08:09 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id A1FCF8FC1D for ; Fri, 30 Jan 2009 16:08:09 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1LSvua-0002bJ-4i; Fri, 30 Jan 2009 11:08:08 -0500 Date: Fri, 30 Jan 2009 11:08:08 -0500 From: Gary Palmer To: Franco Vitali Message-ID: <20090130160808.GG81380@in-addr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-net@freebsd.org Subject: Re: PPP won t reconnect X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 16:08:10 -0000 On Fri, Jan 30, 2009 at 09:16:17AM -0300, Franco Vitali wrote: > I search the web for an answer, but i can?t find it. There are only > unanswered posts, and some of them tell that there is a bug in PPP. > > I have a production machine with a RELENG_7 and a connection with the cable > provider via PPP. > > The problem is that, when the connection drops, PPP remains like nothing > happens, not even a log (even if i plug the ethernet cable). And, ovbiously, > doesn't reconnect. In theory, the daemon must reconnect in "ddial" mode. > What I am missing ? try adding accept lqr enable lqr enable echo set echoperiod 15 to either the default or provider-specific section of ppp.conf to enable ppp to check the link is alive. After so many failed echo or lqr packets it'll drop the connection and redial. The above is copied&pasted from my PPPoE config which definitely does detect the remote end going away and redialing. Regards, Gary