From owner-freebsd-questions@FreeBSD.ORG Mon May 21 07:25:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B95BA16A468 for ; Mon, 21 May 2007 07:25:50 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-5.eunet.yu (smtpclu-5.eunet.yu [194.247.192.230]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED6C13C46C for ; Mon, 21 May 2007 07:25:49 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-229-48.eunet.yu [213.198.229.48]) by smtpclu-5.eunet.yu (8.13.6/8.13.6) with ESMTP id l4L7PhOV009988; Mon, 21 May 2007 09:25:43 +0200 Message-Id: <200705210725.l4L7PhOV009988@smtpclu-5.eunet.yu> Date: Mon, 21 May 2007 09:25:40 +0200 From: Nikola Lecic To: "Brian Walker" 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> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_20,TW_LQ,UNPARSEABLE_RELAY X-AVAS-Spam-Score: -0.7 Cc: freebsd-questions@freebsd.org Subject: Re: PPPoE equivalent? 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: Mon, 21 May 2007 07:25:50 -0000 On Mon, 21 May 2007 14:39:06 +0800 "Brian Walker" 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