From owner-freebsd-current Tue Feb 9 03:22:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03396 for freebsd-current-outgoing; Tue, 9 Feb 1999 03:22:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from relay.nuxi.com (nuxi.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA03353 for ; Tue, 9 Feb 1999 03:22:27 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.1/8.9.1) id AAA19435; Tue, 9 Feb 1999 00:44:44 -0800 (PST) (envelope-from obrien) Date: Tue, 9 Feb 1999 00:44:44 -0800 From: "David O'Brien" To: Dom Mitchell Cc: current@FreeBSD.ORG Subject: Re: adding DHCP client to src/contrib/ Message-ID: <19990209004444.D19070@relay.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <19990208142820.A9457@relay.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Dom Mitchell on Tue, Feb 09, 1999 at 08:00:38AM +0000 X-Operating-System: FreeBSD 3.0-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What impact will this have on the rc files? How will it affect > rc.conf, seeing as it overrides several values therein? Most basic, you would have ``network_interfaces="lo0 fxp0"'' as usual, but no "ifconfig_fxp0="inet ...." line. Rather you would have a ``/etc/start_if.fxp0'' file with: /sbin/dhcpc fxp0 sleep 10 in it. If you want to assign your own hostname, you may continue to do so in the normal manner. If you use ``dhcpc -n fxp0'', dhcpc will do ``hostname <...>'' with the hostname returned by the DHCP server. If you want to specify your /etc/resolv.conf file, you may do so. Or use ``dhcp -r fxp0'' to create one for you. > What happens if your lease expires and doesn't get renewed, or gets > renewed with a different IP address? You will get "no route to host" type messages. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message