Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 14:38:12 +0100 (BST)
From:      George Reid <greid@FreeBSD.org>
To:        jonathan michaels <jon@caamora.com.au>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: where to put pppd startup script ???? rc.conf ???
Message-ID:  <20010730143633.I13018-100000@sobek.lan>
In-Reply-To: <20010730225150.33089@caamora.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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