From owner-freebsd-mobile Tue Mar 25 18:49:29 2003 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 03DAF37B420 for ; Tue, 25 Mar 2003 18:49:06 -0800 (PST) Received: from reason.levels.unisa.edu.au (reason.levels.unisa.edu.au [130.220.33.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4387144145 for ; Tue, 25 Mar 2003 18:45:10 -0800 (PST) (envelope-from cisbjc@cs.unisa.edu.au) Received: from cs.unisa.edu.au (cis202068.levels.unisa.edu.au [130.220.37.202]) by reason.levels.unisa.edu.au (8.12.8/8.12.8) with ESMTP id h2Q2j8Ze005098 for ; Wed, 26 Mar 2003 13:15:08 +1030 (CST) Message-ID: <3E8114A2.9030004@cs.unisa.edu.au> Date: Wed, 26 Mar 2003 13:16:58 +1030 From: Benjamin Close User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: DHCP and multiple cards X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.8 required=5.0 tests=USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi All, Sorry if this is the wrong list but how do people deal with using a wireless card and a built in network card? I attach my laptop to many wired lan's all of which have dhcp. At the same time I have access to various wireless networks, all of which have dhcp. It would be nice to be able to work on the wired lan, then when I need, disconnect and have the wireless lan automatically become the default transport media. Is there a way to request the default route to always be set to the fastest link? I've tried using dhclient to set the ip of both devices (fxp0 and wi0) but only one instance seems to be able to run at a time: ie: dhclient -pf /var/run/dhclient.fxp0.pid fxp0 dhclient -pf /var/run/dhclient.wi0.pid wi0 The second dhclient will fail claiming the port is in use. How do people get around this. I'm against having to manually configure settings as I move through too many networks. Cheers, Benjamin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message