Subject: Re: losing linux machine.
To: Bruce Ediger <eballen1@qwest.net>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-users
Date: 11/20/2001 16:25:10
On Tue, 20 Nov 2001, Bruce Ediger wrote:
> You edit the file "/etc/defaults/rc.conf".  The lines look a bit like this
> when you're finished:

Actually, the files in /etc/defaults are supposed to be defaults that
you never edit. Put your changes in /etc instead (e.g. /etc/rc.conf)

NetBSD 1.5.x's version of /etc/defaults/rc.conf doesn't make this clear,
but the next version (1.6?) will:

# DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING A SYSTEM UPGRADE.
# EDIT /etc/rc.conf INSTEAD.

So what you want is to put these lines in /etc/rc.conf:

dhclient=YES                    # behave as a DHCP client
dhclient_flags="le0"                # blank: config all interfaces