From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 23 23:06:09 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44A2916A407 for ; Mon, 23 Oct 2006 23:06:09 +0000 (UTC) (envelope-from psionic@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3706043D66 for ; Mon, 23 Oct 2006 23:06:03 +0000 (GMT) (envelope-from psionic@gmail.com) Received: by wr-out-0506.google.com with SMTP id i2so411191wra for ; Mon, 23 Oct 2006 16:06:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=X9svbrGc6OirgQN/2MqDFISjDUX2tU0B1EK15b/ujjiIocK43HwcXcGmNGQPsNZYfd/6V67JcrF5lPeIFYcmu0Vn1yCOnSzeel2w3yrEFT0f07dTGlAn8kFKIKkG4lqUS+JXjtkmZssoG52QNc9pF5QTtS5XNbqQX5kHiSgmuA8= Received: by 10.78.139.1 with SMTP id m1mr8175561hud; Mon, 23 Oct 2006 16:06:01 -0700 (PDT) Received: by 10.78.100.10 with HTTP; Mon, 23 Oct 2006 16:06:01 -0700 (PDT) Message-ID: <5ad23a300610231606w16d65333g3a2b00cb1f4b1909@mail.gmail.com> Date: Mon, 23 Oct 2006 16:06:01 -0700 From: "Jordan Sissel" To: "David Gilbert" In-Reply-To: <17724.57279.631710.606674@canoe.dclg.ca> MIME-Version: 1.0 References: <17724.57279.631710.606674@canoe.dclg.ca> X-Mailman-Approved-At: Mon, 23 Oct 2006 23:18:17 +0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: dhclient-script impotence. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 23:06:09 -0000 On 10/23/06, David Gilbert wrote: > > According to the documentation, dhclient calls dhclient-script for > every action. It does not. It appears that dhclient only calls > dhclient-script (now) to set the media. At the very least, the > documentation is wrong. But the functionality that was > dhclient-script was useful in many ways... not the least of which is > situations where adding a default route is not the right activity. > > I have also noticed that dhclient (the new one) doesn't appear to > correctly notice atheros wireless state changes. It doesn't appear to > try to reacquire ip addresses when you roam into a new open access > point network. > > Dave. This is due to a "feature" of the new dhclient that FreeBSD has. I think it comes from OpenBSD? At any rate, whatever Openbsd (or FreeBSD?) did to it severely crippled it's functionality regarding dhclient-script. I made an attempt to fix it, but gave up a short way through (ENOTIME). I've seen other patch attempts to fix this but those failed aswell. I'd be happy if this were fixed, though it is a not-entirely-trivial patch, iirc. -Jordan