From owner-freebsd-questions@FreeBSD.ORG Thu May 18 14:08:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3FF1D16A409 for ; Thu, 18 May 2006 14:08:16 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6770A43D45 for ; Thu, 18 May 2006 14:08:15 +0000 (GMT) (envelope-from msoulier@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so493176uge for ; Thu, 18 May 2006 07:08:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=LPhDZppNIQLoMRapSLCaBDCnAxLj0Na2KbALT+9YyuG+QCu6a3VueHMhED1W9aLEJb+f4N1EH56x/204kA82gKd1aL7ltLBcew/T0MKG7wvBL8qiZoKH+WFM4yJnm0pdVLDGNxr9DuUZF8BzmyDjQGIce0OOk4JYxUvZDmjEfaw= Received: by 10.78.58.11 with SMTP id g11mr349871hua; Thu, 18 May 2006 07:01:45 -0700 (PDT) Received: by 10.78.53.2 with HTTP; Thu, 18 May 2006 07:01:45 -0700 (PDT) Message-ID: Date: Thu, 18 May 2006 10:01:45 -0400 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "Nikos Vassiliadis" In-Reply-To: <200605181119.58110.nvass@teledomenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200605181119.58110.nvass@teledomenet.gr> X-Google-Sender-Auth: ae85b711e969bc7c Cc: freebsd-questions@freebsd.org Subject: Re: pppoe reliability X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 14:08:16 -0000 On 5/18/06, Nikos Vassiliadis wrote: > Enable echo so ppp will know when the other peer is down, and then will act > as you tell it to. I think enabling echo and -ddial mode will be fine, no need of > scripting, but anyways the recommended way of interacting with ppp(8) is > pppctl(8). > > from ppp man: > > -ddial > This mode is equivalent to -auto mode except that ppp will bring > the link back up any time it is dropped for any reason. > > echo > Default: Disabled. When this option is enabled, ppp will send > LCP ECHO requests to the peer at the frequency defined by > echoperiod''. Note, LQR requests will supersede LCP ECHO > requests if enabled and negotiated. See set lqrperiod'' below > for details. > > Prior to ppp version 3.4.2, echo'' was considered enabled if > lqr was enabled and negotiated, otherwise it was considered dis- > abled. For the same behaviour, it is now necessary to enable > lqr echo'' rather than just enable lqr''. I'll try this, thanks. I've noticed that when I drop ppp, the tun0 seems to hang on a bit. If I restart too quickly, I get a tun1. The ifconfig command will not permit me to destroy tun0 either, so I wait for a little while before bringing it back up again. Any idea why? Thanks, Mike P.S. The help from this list makes all of the difference when deciding which OS to use. -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein