Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 21:32:50 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        David Gerard <fun@thingy.apana.org.au>
Cc:        questions@freebsd.org
Subject:   Re: dhclient problems in 5.3-RELEASE
Message-ID:  <41F409F2.2090605@locolomo.org>
In-Reply-To: <20050123183343.GD21544@thingy.apana.org.au>
References:  <20050123183343.GD21544@thingy.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
David Gerard wrote:
> This afternoon, I set up a new machine with 5.3-RELEASE. Started with three
> 5.3-beta5 floppies, told it I wanted 5.3-RELEASE from a CD-R, installed
> minimal base, man pages and ports, created two users.
> 
> On reboot, I ran dhclient and it completely failed to get an IP address.
> But I know the cable is good and the DHCP server is working, because I
> booted the box in question into Windows and it grabbed an IP just fine. So
> where do I start on diagnosing what's up with this installation?

Try run dhclient with option "-d" to keep it in the foreground and see 
what errors appear.

Do you have dhclient_enable="YES" in your rc.conf? If a dhclient is 
already running starting a new one has the special feature that the 
existing stops working. The new one sets ip to 0.0.0.0, then fails 
startup and exits.

Cheers, Erik
-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F409F2.2090605>