From owner-freebsd-current@FreeBSD.ORG Fri Aug 12 20:11:33 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 3E0E216A41F for ; Fri, 12 Aug 2005 20:11:33 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B87F743D45 for ; Fri, 12 Aug 2005 20:11:32 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so433326nzo for ; Fri, 12 Aug 2005 13:11:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=H9IoI3miPjvTPm9LLh6iV8jMnQaPxSJqaspTX386htp+5aXz0NplQpZtmmpVg7ES7ofoCtJliq64efafrxmo/cFsR8HwHAtBGPu5GbR9/BSLPG2zPD2iFDEVxHuXlcD7YkJ+iYPqPCYQncmyCGdJ5VhGDeyRUnNLNeo39S8GhJc= Received: by 10.36.2.12 with SMTP id 12mr2706133nzb; Fri, 12 Aug 2005 13:11:32 -0700 (PDT) Received: from ?192.168.2.200? ([209.124.141.64]) by mx.gmail.com with ESMTP id 14sm363920nzp.2005.08.12.13.11.30; Fri, 12 Aug 2005 13:11:32 -0700 (PDT) From: Beecher Rintoul Organization: NorthWind Communications To: freebsd-current@freebsd.org Date: Fri, 12 Aug 2005 12:11:25 -0800 User-Agent: KMail/1.8.1 References: <200508112239.24164.akbeech@gmail.com> <20050812162850.GB13376@odin.ac.hmc.edu> In-Reply-To: <20050812162850.GB13376@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508121211.25472.akbeech@gmail.com> Subject: Re: dhclient problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alaska@vfemail.com 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 20:11:33 -0000 On Friday 12 August 2005 08:28 am, Brooks Davis wrote: > 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. > > > > As much as i would like to... it's a new machine for a client in a VERY > > micro$oft oriented business. He likes FreeBSD with the KDE suite and > > replaced his desktop out of his own pocket. The box is a MSI 8-T with a > > 2800+ Athlon. I needed to install ndis for a D-Link AG-350, so I had 7.0 > > on the box. The box would hang on boot at dhclient, then return 0.0.0.0. > > for the router addy. (the IP and DNS were correct). Killing and > > restarting dhclient would finally get the proper gateway. I tried the box > > at home and it worked, but would hang about 30 seconds on boot at > > dhclient. After going back to isc-dhcp, I just reinstalled 5-STABLE > > (stock) and all the problems went away. I'm not sure if the problem was > > dhclient or ndis related, but I don't have a supported card, or easy > > access to the machine to troubleshoot any further. BTW, the ndis driver > > works very well with that card running 5.4. I have the same card at 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. > No, since this was a standalone workstation I didn't have defaultrouter set in rc.conf. At the point I was having probs, I even cleaned out resolv.conf, hosts, dhclient.leases.ndis0 and tried a reboot. The only custom stuff was ifconfig_ndis0="DHCP" in rc.conf and ifconfig ndis0 ssid company (no WEP) in /etc/start_if.ndis0. The exact same configuration worked perfectly when I went to 5.4. I did however notice that I had a bogus defaultrouter setting on my home box running -CURRENT, but it doesn't cause any problems (I removed the line anyway). Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ ---------------------------------------------------------------------------------------