From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 23 03:21:33 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B66516A4CE for ; Tue, 23 Mar 2004 03:21:33 -0800 (PST) Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id B22D943D2D for ; Tue, 23 Mar 2004 03:21:32 -0800 (PST) (envelope-from daniel@pelleg.org) Received: from lank.here (lank.wburn [192.168.3.41]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gw.pelleg.org", Issuer "Dan Pelleg" (verified OK)) by gw.pelleg.org (Postfix) with ESMTP id F282F5A04; Tue, 23 Mar 2004 06:21:30 -0500 (EST) Received: by lank.here (Postfix, from userid 7675) id 45B79A89; Tue, 23 Mar 2004 06:21:28 -0500 (EST) To: Dan Langille References: <20040322182954.S90677@xeon.unixathome.org> From: Dan Pelleg Date: Tue, 23 Mar 2004 06:21:27 -0500 In-Reply-To: <20040322182954.S90677@xeon.unixathome.org> (Dan Langille's message of "Mon, 22 Mar 2004 18:32:50 -0500 (EST)") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.1 (Cuyahoga Valley, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: mobile@FreeBSD.org Subject: Re: two NICs, one dhclient X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 11:21:33 -0000 Dan Langille writes: > My IBM ThinkPad T22 is running FreeBSD 5.2.1 and has a built-in NIC (fxp0) > and a PCMCIA wi0. > > I have 'ifconfig_fxp0="DHCP"' in /etc/rc.conf. What I'd like to do is > have dhclient run in wi0 if it is present and then not on fxp0. But if no > wi0, then run dhclient on fxp0. > > devd.conf was mentioned to me as one way to acheive this. Does anyone have > a working configuration? > > Thanks On -STABLE you can achieve this with the nicmond port. I don't know if it works on -CURRENT. In fact I'd like to know if devd provides the same functionality. If so, I'll know to gradually phase the port out. -- Dan Pelleg