Subject: Re: No DHCPOFFERS received
To: None <netbsd-help@netbsd.org>
From: None <othyro@freeshell.org>
List: netbsd-help
Date: 05/28/2004 21:19:44
On Fri, May 28, 2004 at 11:03:23AM -0700, Conrad T. Pino wrote:
> I'm using "NetBSD 1.6ZG (GENERIC.MP)" which
> is a stale version of -current.
I'm using 1.6.1/i386 (1) booted of a CD and (2) booted off a hard drive.
> My DHCP server is Windows 2000 server.
My DHCP server is the Linksys router.
> My "/etc/rc.conf" contains:
>
> dhclient=YES
> dhclient_flags="fxp0"
Mine looks like that, but with dhclient_flags="-q ep0"
> My "/etc/ifconfig.fxp0" contains 1 line:
>
> /etc:$ cat ifconfig.fxp0
> up
> /etc:$
As does mine.
> and I've never had a problem:
You are more fortunate than I, it appears.
> /etc:$ ifconfig -a
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> address: 00:d0:b7:a7:34:6d
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet 192.168.41.22 netmask 0xffffff00 broadcast 192.168.41.255
> inet6 fe80::2d0:b7ff:fea7:346d%fxp0 prefixlen 64 scopeid 0x1
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33196
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>
> Did you try a tcpdump on the interface while dhclient is running ?
> tcpdump -s 1500 -i <iface>
I did, and I have them available to view.
> Did you have to do some special setup on windows ?
Nope.
> Maybe it needs some
> option set to a magic string ...
I thought so as well, because this setup should work.
At: othyro.freeshell.org/dhcp/
there is the files:
dhclient.conf, dhclient-script, ifconfig.ep0, netstart.local, rc.conf, tcpd, tcpd2, tcpd3.
I let the machine boot to the hard drive with those files in /etc.
Then after getting NODHCPOFFERS, I killed dhclient and ran tcpdump -s 1500 -w tcpd -ep0 &.
No dice. Moved dhclient.conf and dhclient-script to .old files and reran tcpdump to get tcpd2 and tcpd3.
I tried many configurations with ifconfig. Tried to give it 192.168.1.100, which is what the machines gets under Win2k (I had to install something to get online).
I also tried to 'route add 192.168.1.1 default' and that didn't work either.
Maybe the files I've uploaded will give someone more of a clue than me. =|
Thanks to Mr. Boyer and Mr. Pino for responding.
--
--tr
--
Timothy Lee Roden
Applied Sciences Division
Physics Engineering
Yellow Springs OH
45387 USA
--
Director and Systems Administrator
Nixsys Public Access UNIX System, Inc.
diro -at- nixsys -dot- bz
http://nixsys.bz