Subject: Re: help with running dhcp client
To: Frank Mattes <f.mattes@ucl.ac.uk>
From: =?ISO-8859-1?Q?Andr=E9?= FAURE <netbsd-ml@bikochan.net>
List: port-cobalt
Date: 07/07/2003 14:50:41
On Mon, 7 Jul 2003 13:34:57 +0100, Frank Mattes <f.mattes@ucl.ac.uk>
wrote:

> Dear Cobalt cube reader,
> 
> I had to install my cube again with the excellent install netBSD CD. 
> Because I have no reccord from the last install I'm lost how / what 
> to change that the cube is picking up all the network parameter from 
> a dhcp server. In addition, I think, our dhcp server is running under 
> windows 2000 which might makes the live more complicated.
> 
> If anyone could send me advise how to set up the client, this would be
> great.

hi

I just put thi in /etc/dhclient.conf
interface "tlp1" {
   script "/sbin/dhclient-script";
}
(dhcp is connected to the second interface)

and added to /etc/rc.conf
dhclient=YES

Yet this won't set the resolv.conf, so you have to edit it.
But DNSs don't change everyday. 8)

regards.