Date: Fri, 17 Mar 2000 10:49:22 -0500 From: Tom Parquette <Tom_Parquette@myrealbox.com> To: R Joseph Wright <rjoseph@nwlink.com> Cc: Scott Johnson <tmtowtdi@mailandnews.com>, freebsd-questions@FreeBSD.ORG Subject: Re: dhcp configuration Message-ID: <38D25401.5860DDDD@myrealbox.com> References: <Pine.BSF.4.21.0003161318530.539-100000@mammalia.sea>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D25401.5860DDDD>
