From owner-freebsd-stable@FreeBSD.ORG Thu Dec 8 23:55:30 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C08A016A41F for ; Thu, 8 Dec 2005 23:55:30 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E4243D46 for ; Thu, 8 Dec 2005 23:55:25 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so540046wxc for ; Thu, 08 Dec 2005 15:55:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jt9nPGrLf1d5+IP9rYBJse9Ov3JOw/zXoXUWi9s5UqdhSqGjZc2nCXpYH9gSQdfQ8ANjlfTYt5YyV2ZNGJZf8/qHpXbQosaW5MsUFsTE4xt6UoKxBKscqjTwSGrOPWK3/+D/HBK44SFgBCTEY04ns5x3i23cxQo7+sU/cNIIx34= Received: by 10.70.15.13 with SMTP id 13mr4541764wxo; Thu, 08 Dec 2005 15:55:23 -0800 (PST) Received: by 10.70.36.7 with HTTP; Thu, 8 Dec 2005 15:55:23 -0800 (PST) Message-ID: <70e8236f0512081555h1f9be18fq57b9ed73d96cddb2@mail.gmail.com> Date: Thu, 8 Dec 2005 23:55:23 +0000 From: Joao Barros To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: [dhclient] connection closed, exiting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 23:55:30 -0000 I have a Sun Ultra5 as my home gateway. After upgrading to 6.0 from 5.4 I started getting problems with dhclient (I know it went from v3 to v2 imported from OpenBSD) If my cablemodem dies without signal or something of the sort dhclient exits like this: Dec 8 18:38:24 ultra5 dhclient[198]: connection closed Dec 8 18:38:24 ultra5 dhclient[198]: exiting. Some cablemodems reset the ethernet interface on their bootup or sync sequence but since the machine is connected to a switch I take it it's not an interface connection we're talking about. On 5.4 I could kill the modem for hours and dhclient would stay there (as it should) trying to get a lease. On 6.0 I just have to silence the modem for a few moments and dhclient gives up and goes away. I couldn't find a knob for this on the manual. Sometimes it gets even better, when dhclient has saved (but already expired leases) and uses them setting the IP on the interface, but since the IP is not valid it doesn't work. And it stays with that lease until I restart it and it gets a valid one. I had signal problems the last few days and the leases db it's like this: ultra5# grep lease /var/db/dhclient.leases.fxp1 | wc -l 10 How can I: - tell dhclient not to exit. - tell dhclient not to use expired leases, or not to use saved leases at al= l. -- Joao Barros