From owner-freebsd-questions Fri Mar 17 7:54:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from a99201.mony.com (mail-ext.mony.com [206.67.239.66]) by hub.freebsd.org (Postfix) with ESMTP id D022037BBEB for ; Fri, 17 Mar 2000 07:54:20 -0800 (PST) (envelope-from Tom_Parquette@myrealbox.com) Received: from myrealbox.com (ds214030.soc.mony.com [141.191.214.40]) by a99201.mony.com (8.9.1/8.9.1) with ESMTP id KAA27355; Fri, 17 Mar 2000 10:53:21 -0500 (EST) Message-ID: <38D25401.5860DDDD@myrealbox.com> Date: Fri, 17 Mar 2000 10:49:22 -0500 From: Tom Parquette X-Mailer: Mozilla 4.61 [en] (OS/2; U) X-Accept-Language: en MIME-Version: 1.0 To: R Joseph Wright Cc: Scott Johnson , freebsd-questions@FreeBSD.ORG Subject: Re: dhcp configuration References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG R Joseph Wright wrote: > On Thu, 16 Mar 2000, Scott Johnson wrote: > > > On Wed, Mar 15, 2000 at 11:57:02PM -0800, R Joseph Wright wrote: > > > When connecting via ethernet to an ISP using dhcp with the > > > /stand/sysinstall menu, what IP address do I give to ed0? Or do I just > > > leave that blank since I will have an IP address dynamically assigned? > > > > > > > Try just putting "DCHP" there. Sysinstall puts your non-default config > > data in /etc/rc.conf. The ifconfig_{interface} line is used by rc.network > > to set up the interface. It checks for that string, and if it's present > > sets up the dhcp client. > > > This doesn't work. It won't let me leave the menu without first entering > an IP address. > So, I read the man page on dhclient. This is what happens when I run > dhclient: > > Script started on Thu Mar 16 13:11:17 2000 > Listening on BPF/ed0/00:00:c0:cd:f0:c8 > Sending on BPF/ed0/00:00:c0:cd:f0:c8 > Sending on Socket/fallback/fallback-net > DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 12 > DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 20 > DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 21 > DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 3 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > Here's what ifconfig -a shows for ed0: > > ed0: flags=8843 mtu 1500 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ether 00:00:c0:cd:f0:c8 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message I don't know if this helps or not... I was working on 4.0-RELEASE last night. At boot time I got the same messages about DHCP. The difference is, I had the ethernet cable unplugged because I didn't want to talk to the network while I was working on the kernel configuration (new install). Once I plugged the cable modem back in, the messages disappeared and the interface configured as I expected. Cheers... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message