From owner-freebsd-questions Mon Oct 30 11:31:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.inwind.it (relay2.inwind.it [212.141.53.73]) by hub.freebsd.org (Postfix) with ESMTP id CB9C537B4C5 for ; Mon, 30 Oct 2000 11:31:40 -0800 (PST) Received: from bartequi.ottodomain.org (62.98.163.106) by relay2.inwind.it (5.1.046) id 39CB097900A76A82; Mon, 30 Oct 2000 20:30:55 +0100 From: Salvo Bartolotta Date: Mon, 30 Oct 2000 19:31:16 GMT Message-ID: <20001030.19311600@bartequi.ottodomain.org> Subject: Re: Startup To: Christoph Sold Cc: "Gene Bomgardner" , freebsd-questions@FreeBSD.ORG References: <200010281720.NAA17818@smtp-out1.bellatlantic.net> <39FD21BA.D0722664@i-clue.de> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 10/30/00, 8:22:34 AM, Christoph Sold wrote regarding Re: Startup: > Gene Bomgardner schrieb: > > > > I'm trying to do a few other things as well. When the system boots, > > I'd like to get user ppp connected. I've got ppp_enable set in > > rc.conf. But no such luck. Is that for kernel ppp only? > AFAIR: yes. RTFM (R stands for Recall here :-)) From rc.conf(5):
ppp_enable (bool) If set to YES, run the ppp(8) daemon. ppp_mode (str) Mode in which to run the ppp(8) daemon. Accepted modes are auto, ddial, direct and dedicated. See the manual for a full description. ppp_nat (bool) If set to YES, enables packet aliasing. Used in conjunction with gateway_enable allows hosts on private network addresses access to the Internet using this host as a network address translating router. ppp_profile (str) The name of the profile to use from /etc/ppp/ppp.conf. ppp_user (str) The name of the user under which ppp should be started. By default, ppp is started as root.
You will get your ppp(8) going as desired if you specify eg the following in your /etc/rc.conf: ppp_enable=3D"YES" ppp_mode=3D"ddial" ppp_nat=3D"NO" ppp_profile=3D"my_isp_profile" Remark I You may wish to specify your preferred mode in ppp_mode (cf rc.conf(5), ppp(8)). Remark II Since I run natd(8), I explicitly set ppp_nat=3D"NO"; otherwise, ppp is invoked with -nat. Remark III Related information: vi /etc/rc.network # vi: little delightful editor /ppp # search for the string "ppp" Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message