From owner-freebsd-current@FreeBSD.ORG Tue Jul 29 18:06:46 2003 Return-Path: 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 67D6B37B405; Tue, 29 Jul 2003 18:06:46 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 989F943FAF; Tue, 29 Jul 2003 18:06:43 -0700 (PDT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h6U16f3q015850; Tue, 29 Jul 2003 21:06:42 -0400 (EDT) (envelope-from mdodd@FreeBSD.ORG) Date: Tue, 29 Jul 2003 21:06:41 -0400 (EDT) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Martin Blapp In-Reply-To: <20030730013027.D25188@cvs.imp.ch> Message-ID: <20030729210514.K15326@sasami.jurai.net> References: <20030730013027.D25188@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: dhcp-client@isc.org cc: Robert Watson cc: current@FreeBSD.ORG Subject: Re: STEP 2, fixing dhclient behaviour with multiple interfaces X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 30 Jul 2003 01:06:46 -0000 On Wed, 30 Jul 2003, Martin Blapp wrote: > "control" does only release leases and exit (state 2), I never managed > to make dhclient sleep (state 3) and wake up (state 2). Odd: %%% # cat /etc/sleep_dhclient #!/bin/sh omshell > /dev/null << EOF connect new control open set state = 3 update close EOF # cat /etc/wakeup_dhclient #!/bin/sh omshell > /dev/null << EOF connect new control open set state = 4 update close EOF %%% This was working fine for me a few months ago. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever |