Subject: Re: dhclient configuration
To: Marc Sernatinger <msernatinger@hotmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/04/2001 10:41:15
On Tue, 4 Sep 2001, Marc Sernatinger wrote:

> to my /etc/rc.conf file, and tried to configure the /etc/dhclient.conf file 
> as explained on the netbsd.org HOWTO. However, this did not yield any 
> results, I encountered a number of errors. I tried many edits to 
> /etc/dhclient.conf without knowing entirely what I was doing, and I 
> frequently got errors of the type "Expected command at line x" or "expected 
> semicolon" (on lines ending with semicolons). I could not figure out exactly 
> what problem the script had with my placement of semi-colons. From what I 
> could tell, they were correct. After a point, I simply deleted the entire 

If you still have the dhclient.conf around, maybe send it to the list. We
may be able to spot the problem(s).

> Now, upon boot, I find myself able at least to ping other machines in the 
> apartment, though attempts to ping www.yahoo.com were unsuccessful, meaning 
> either that I cannot ping the outside world (no gateway), or I cannot 
> resolve domain names (no DNS). So I was wondering if anyone had some advice 
> on how to edit this file to get functional internet. Thanks.

The dhclient-script helps setup the interface, default gateway and
resolv.conf (for DNS) (as well as other things).

   Jeremy C. Reed
   http://www.reedmedia.net/