Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 09:25:40 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        "Brian Walker" <bfwalker@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPPoE equivalent?
Message-ID:  <200705210725.l4L7PhOV009988@smtpclu-5.eunet.yu>
In-Reply-To: <54f1b6eb0705202339o6c4ca5acp31e87efa93bcfbdd@mail.gmail.com>
References:  <54f1b6eb0705201954r5d66a8b6y5871492a31c2a2ee@mail.gmail.com> <200705210407.l4L47alU000752@smtpclu-4.eunet.yu> <3a386af20705202251v10636696hfc75f17f17f13c42@mail.gmail.com> <70f41ba20705202320r58e3e7a7j95d3136c16bbc7df@mail.gmail.com> <54f1b6eb0705202339o6c4ca5acp31e87efa93bcfbdd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 May 2007 14:39:06 +0800
"Brian Walker" <bfwalker@gmail.com> wrote:

> Here is my /etc/ppp/ppp.conf .... it has been "worked on" but so far
> seems to have been OK. As for regularly: it basically means several
> times a day for no reason that is apparent to me.
>=20
> default:
>         set timeout 180
>         enable dns
>         set log Phase Chat IPCP tun command
>         set redial 15 0
>         set reconnect 15 10
>=20
> internet:
>         set device PPPoE:rl0
>         set authname xxx@yyy
>         set authkey **********
>         set ifaddr 0 0
>         add default HISADDR
>         disable acfcomp protocomp
>         deny acfcomp
>         set speed sync
> #       set mtu max 1476
> #       set mru max 1430
>         enable lqr
>         set lqrperiod 5

I'd try to disable this:

  disable lqr

(with lqrperiod commented out, of course).

>         set cd 5
>         set dial
>         set login
>         set timeout 0
>=20
> /etc/rc.conf looks like this:
>=20
> keymap=3D"us.iso"
> linux_enable=3D"YES"
> sshd_enable=3D"YES"
> usbd_enable=3D"YES"
> sendmail_enable=3D"YES"
> pf_enable=3D"YES"
> pf_rules=3D"/etc/pf.conf"
> pf_flags=3D""
> pflog_enable=3D"YES"
> pflog_logfile=3D"/var/log/pflog"
> pflog_flags=3D""
> ntpdate_enable=3D"YES"
> ntpdate_flags=3D"hk.pool.ntp.org"
> ntpd_enable=3D"YES"
> devd_enable=3D"YES"

You might consider adding these lines here:

  ppp_enable=3D"YES"
  ppp_mode=3D"ddial"
  ppp_profile=3D"internet"
=20
> Yes, it puzzles me why it happens in the first place, but as it hits
> the XP, linux and BSD connections equally frequenly, I am assuming it
> is a function of hardware or IP provider.

The Handbook explains what parameters can be tuned with the help of
your ISP. AFAIK tuning mru/mtu parametres can help.

Nikola Le=C4=8Di=C4=87



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