From owner-freebsd-questions Mon Jul 30 6:38:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 39C8937B413 for ; Mon, 30 Jul 2001 06:38:18 -0700 (PDT) (envelope-from greid@FreeBSD.org) Received: from sobek.lan ([62.252.10.234]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010730133816.CNJO15984.mta01-svc.ntlworld.com@sobek.lan>; Mon, 30 Jul 2001 14:38:16 +0100 Date: Mon, 30 Jul 2001 14:38:12 +0100 (BST) From: George Reid X-X-Sender: To: jonathan michaels Cc: Subject: Re: where to put pppd startup script ???? rc.conf ??? In-Reply-To: <20010730225150.33089@caamora.com.au> Message-ID: <20010730143633.I13018-100000@sobek.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 30 Jul 2001, jonathan michaels wrote: > where, would the pppd startup segment be best put in rc.local ? There are hooks in rc.conf for this: # User ppp configuration. ppp_enable="NO" # Start user-ppp (or NO). ppp_mode="auto" # Choice of "auto", "ddial", "direct" or "dedicated". # For details see man page for ppp(8). Default is auto. ppp_nat="YES" # Use PPP's internal network address translation or NO. ppp_profile="papchap" # Which profile to use from /etc/ppp/ppp.conf. ppp_user="root" # Which user to run ppp as Set these accordingly instead of playing around with other files (but rc.local would be the "correctest" place). -- +-------------------+---------------------+ | George Reid | FreeBSD Committer | | +44 7740 197460 | greid@FreeBSD.org | +-------------------+---------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message