Subject: Re: connecting to an ISP using ppp on boot
To: Jon <jons@dotnet.com>
From: Chris Pinnock <cjep@fawlty.net>
List: netbsd-help
Date: 11/21/2001 19:55:06
On Wed, Nov 21, 2001 at 10:48:20AM -0600, Jon wrote:
> I am connecting to my ISP just fine, no problems.
> 
> I use a ppp-up script and everything is cool.
> 
> How do I do this at boot time, obviously I could simply do it in rc.local but is there a better way?
> 
> at boot time I want to start things such as a ntpd server, how do I make sure the ppp connection goes up before these things.

I used to have 

ppp_peers="provider" 

in my /etc/rc.conf. Then pppd uses the configuration in
/etc/ppp/peers/provider on boot. (It does the equivalent of 
"pppd call provider").

I think section 9 of the NetBSD guide 
	http://www.mclink.it/personal/MG2508/nbsdeng/netbsd.html
goes into more details.

best wishes,
-- 
Chris