From owner-freebsd-questions Wed Feb 24 14:11:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by hub.freebsd.org (Postfix) with ESMTP id 4B0E2122EF for ; Wed, 24 Feb 1999 14:07:03 -0800 (PST) (envelope-from dan@jgl.reno.nv.us) Received: from pandora.home (jgl.reno.nv.us [207.228.2.142]) by mail.greatbasin.net (8.9.3/8.9.3) with ESMTP id VAA11423; Tue, 23 Feb 1999 21:42:30 -0800 (PST) Received: from danco (danco.home [10.0.0.2]) by pandora.home (8.9.2/8.9.2) with SMTP id VAA05665; Tue, 23 Feb 1999 21:42:26 -0800 (PST) (envelope-from dan@jgl.reno.nv.us) Message-ID: <00ed01be5fb8$7709ba60$0200000a@danco.home> From: "Dan O'Connor" To: , "George M. Ellenburg" Subject: Re: Dedicated PPP Date: Tue, 23 Feb 1999 21:42:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG George M. Ellenburg wrote: >Question: What is the correct procedure for having userland PPP, called >from rc.local, establish and maintain a persistent connection? > ppp -dedicated -alias or... > ppp -ddial -alias I start ppp not from rc.local, but from /etc/start_if.tun0: ppp -auto -alias demand This file gets executed after the tun0 device is brought up during boot. -dedicated for direct wiring, and doesn't execute any chat scripts, so login negiotiation isn't performed. Sound like -ddial is what you need, to automatically redial any time the connection gets broken. >The PPP process is dropping, sometimes after 13 hours, sometimes after as >little as 20 minutes. Even with a single ping running from cron every 5 >minutes the connection is dropping, and sometimes not redialing. Does >anyone have any ideas? You might try increasing the timeout value in /etc/ppp/ppp.conf: : set timeout The default is only 300 seconds (5 min). Hope this helps, --Dan ** The thing I like most about Windows 98 is... ** You can download FreeBSD with it! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message