From owner-freebsd-current@FreeBSD.ORG Fri Aug 12 16:28:51 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19C7916A41F for ; Fri, 12 Aug 2005 16:28:51 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B695743D45 for ; Fri, 12 Aug 2005 16:28:50 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j7CGSopa016230; Fri, 12 Aug 2005 09:28:50 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j7CGSoUS016229; Fri, 12 Aug 2005 09:28:50 -0700 Date: Fri, 12 Aug 2005 09:28:50 -0700 From: Brooks Davis To: alaska@vfemail.com Message-ID: <20050812162850.GB13376@odin.ac.hmc.edu> References: <20050812010547.GA19640@odin.ac.hmc.edu> <200508112239.24164.akbeech@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: <200508112239.24164.akbeech@gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@freebsd.org Subject: Re: dhclient problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 16:28:51 -0000 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 11, 2005 at 10:39:23PM -0800, Beecher Rintoul wrote: > On Thursday 11 August 2005 05:05 pm, you wrote: > > On Thu, Aug 11, 2005 at 05:02:15PM -0800, Beecher Rintoul wrote: > > > I'm having problems with the new dhclient not returning the gateway on > > > my wireless card. I reinstalled isc-dhclient and the probs went away. > > > My question is there a knob such as "NO_DHCLIENT" I can put in > > > make.conf? > > > > No. Care to help improve freebsd by providing some debugging info? > > You're server is presumably doing something dhclient isn't expecing > > which is causing it to reject the gateway. If we could find out what it > > is we could fix it. >=20 > As much as i would like to... it's a new machine for a client in a VERY= =20 > micro$oft oriented business. He likes FreeBSD with the KDE suite and repl= aced=20 > his desktop out of his own pocket. The box is a MSI 8-T with a 2800+ Athl= on.=20 > I needed to install ndis for a D-Link AG-350, so I had 7.0 on the box. Th= e=20 > box would hang on boot at dhclient, then return 0.0.0.0. for the router a= ddy.=20 > (the IP and DNS were correct). Killing and restarting dhclient would fina= lly=20 > get the proper gateway. I tried the box at home and it worked, but would = hang=20 > about 30 seconds on boot at dhclient. After going back to isc-dhcp, I jus= t=20 > reinstalled 5-STABLE (stock) and all the problems went away. I'm not sur= e if=20 > the problem was dhclient or ndis related, but I don't have a supported ca= rd,=20 > or easy access to the machine to troubleshoot any further. BTW, the ndis= =20 > driver works very well with that card running 5.4. I have the same card a= t=20 > home running -CURRENT on an old HP, and have had no dhclient problems. By any chance, was defaultrouter set in /etc/rc.conf (possiably as a side effect of initial configuration?) If so, that might be the cause since dhclient was modified to only touch the default route if the route is on the same interface as dhclient. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC/M5BXY6L6fI4GtQRAiWuAJ9lgzoPLOMVn7wVZBz/TTGLNUOfngCfQTUC djFsK1uPnGq++0KBYAoYNIU= =c/2h -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--