Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 10:01:45 -0400
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        "Nikos Vassiliadis" <nvass@teledomenet.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pppoe reliability
Message-ID:  <fb6605670605180701r2506f0e8n343f0886ffed0c01@mail.gmail.com>
In-Reply-To: <200605181119.58110.nvass@teledomenet.gr>
References:  <fb6605670605171607v3d643617g8a2ee918078db944@mail.gmail.com> <200605181119.58110.nvass@teledomenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/18/06, Nikos Vassiliadis <nvass@teledomenet.gr> 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 <msoulier@digitaltorque.ca>
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb6605670605180701r2506f0e8n343f0886ffed0c01>