Subject: Re: modems and dhclient question
To: Jon <firstname.lastname@example.org>
From: Rick Byers <rb-netbsd@BigScaryChildren.net>
Date: 11/02/2001 16:32:30
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.
On Fri, 2 Nov 2001, Jon wrote:
> Date: Fri, 2 Nov 2001 11:28:34 -0600
> From: Jon <email@example.com>
> To: firstname.lastname@example.org
> Subject: modems and dhclient question
> Set up in a nutshell
> Running NetBSD 1.5.2 as a gateway and dns to my local network. Working just fine.
> Now I wish to use a modem to connect to my isp.
> This (right now anyway) I do not want to connect at boot time.
> I can connect, I am still having one or two problems but I am working on it.
> My question is this, I need to use dhclient so that I can connect to my isp and get the dns etc. On boot time it fails and I have to press control-C to move on.
> I want to start the ppp connection when I am ready. How do I get it to still request the dhcp info? also how do I stop it from looking for it at boot time?