From owner-freebsd-net@FreeBSD.ORG Thu May 14 10:29:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA221065670 for ; Thu, 14 May 2009 10:29:55 +0000 (UTC) (envelope-from freebsd-net@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 44E598FC08 for ; Thu, 14 May 2009 10:29:54 +0000 (UTC) (envelope-from freebsd-net@dino.sk) Received: from via.dino.sk (home.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Thu, 14 May 2009 12:25:34 +0200 id 0002E033.4A0BF19E.00017C4A From: Milan Obuch To: freebsd-net@freebsd.org Date: Thu, 14 May 2009 12:29:33 +0200 User-Agent: KMail/1.9.10 References: <200905140703.10473.freebsd-net@dino.sk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905141229.34731.freebsd-net@dino.sk> Cc: "Li, Qing" Subject: Re: Weird dhclient behavior after today's rebuild X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 10:29:56 -0000 On Thursday 14 May 2009 07:32:22 Li, Qing wrote: > I have committed the patch, please update your source and > give it a try. > > Thanks, > > -- Qing > After fresh csup and rebuild it works again. I suppose your fix wents into sys/netinet/in.c, as I did not see anything else network related in csup's output... Thanks for quick fix. Milan > -----Original Message----- > From: owner-freebsd-net@freebsd.org on behalf of Milan Obuch > Sent: Wed 5/13/2009 10:03 PM > To: freebsd-net@freebsd.org > Subject: Weird dhclient behavior after today's rebuild > > Hi, > > I did full system rebuild from freshly csup'ped sources. Everything went > smooth as usual, but after reboot network card did not get configured via > DHCP. There were four lines logged on console/in syslog: > > dhclient[822]: re0: not found > dhclient[822]: exiting > dhclient[823]: connection closed > dhclient[823]: exiting > > I did some tests, disabled automatic dhclient invocation in rc.conf. > > Then, after connecting cable, ifconfig re0 show status active, netstat -rnf > inet shows only loopback route (128.0.0.1 on lo0). Manually starting > dhclient re0: > > ifconfig: ioctl (SIOCAIFADDR): File exists > re0: not found > exiting > [ snip ]