Subject: Re: modems and dhclient question
To: Rick Byers <rb-netbsd@BigScaryChildren.net>
From: Andrew Gillham <email@example.com>
Date: 11/02/2001 13:46:52
On Fri, Nov 02, 2001 at 04:32:30PM -0500, Rick Byers wrote:
> You probably want to run dhclient only after your ppp session has been
> established. To prevent dhclient from running at boot time, remove
> "dhclient=YES" from your /etc/rc.conf.
> pppd has some facilities for running a program when the link comes up, so
> you probably want to start dhclient that way. I'm not sure exactly how to
> do it though - check the pppd manpage.
I think you just want to add "usepeerdns" to /etc/ppp/options.
Then "ln -s /etc/ppp/resolv.conf /etc/resolv.conf" will point to the ppp