From owner-freebsd-current@FreeBSD.ORG Tue Jul 29 23:52:24 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 9FEBD37B401; Tue, 29 Jul 2003 23:52:24 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72BAC43FB1; Tue, 29 Jul 2003 23:52:23 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h6U6qKYc055579; Wed, 30 Jul 2003 08:52:20 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h6U6qJlH7430927; Wed, 30 Jul 2003 08:52:19 +0200 (MES) Date: Wed, 30 Jul 2003 08:52:19 +0200 (CEST) From: Martin Blapp To: "Matthew N. Dodd" In-Reply-To: <20030729210514.K15326@sasami.jurai.net> Message-ID: <20030730084949.O25188@cvs.imp.ch> References: <20030730013027.D25188@cvs.imp.ch> <20030729210514.K15326@sasami.jurai.net> 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 06:52:25 -0000 Hi, > 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. It still does - my fault. Looks like I forgot "update" :P and with state 2 I did that. But the interface adding does still not work. Maybe a different syntax than this ? connect new interface open set rl0 = "up"; update close Martin