From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 20:32:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BFFF16A4CE for ; Sun, 23 Jan 2005 20:32:55 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CED43D2D for ; Sun, 23 Jan 2005 20:32:54 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 55E78FD020; Sun, 23 Jan 2005 21:32:53 +0100 (CET) Message-ID: <41F409F2.2090605@locolomo.org> Date: Sun, 23 Jan 2005 21:32:50 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: David Gerard References: <20050123183343.GD21544@thingy.apana.org.au> In-Reply-To: <20050123183343.GD21544@thingy.apana.org.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: dhclient problems in 5.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 20:32:55 -0000 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