From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 22 15:32:51 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 B1A0316A4CE for ; Mon, 22 Mar 2004 15:32:51 -0800 (PST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8838C43D2F for ; Mon, 22 Mar 2004 15:32:51 -0800 (PST) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id 9D3D43D31 for ; Mon, 22 Mar 2004 18:32:50 -0500 (EST) Date: Mon, 22 Mar 2004 18:32:50 -0500 (EST) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: mobile@FreeBSD.org Message-ID: <20040322182954.S90677@xeon.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 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: Mon, 22 Mar 2004 23:32:51 -0000 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 -- Dan Langille - BSDCan: http://www.bsdcan.org/