From owner-freebsd-questions@FreeBSD.ORG Thu Jun 22 11:14:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4FAC16A479 for ; Thu, 22 Jun 2006 11:14:45 +0000 (UTC) (envelope-from dick@nagual.st) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [82.74.2.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D16B43D80 for ; Thu, 22 Jun 2006 11:14:44 +0000 (GMT) (envelope-from dick@nagual.st) Received: from arwen.nagual.st (arwen.nagual.st [192.168.11.29]) by nagual.st with esmtp; Thu, 22 Jun 2006 13:14:43 +0200 id 0003981B.449A7BA3.00000CAF Date: Thu, 22 Jun 2006 13:14:43 +0200 From: dick hoogendijk To: fbsdq Message-Id: <20060622131443.598cd7ae.dick@nagual.st> Organization: de nagual X-Mailer: Sylpheed version 2.2.5 (GTK+ 2.8.18; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: dhcp resolv.conf and loading priority of network cards X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 11:14:46 -0000 I have tow nics: a re0 (cabled) and an ath0 (wifi) card. I want the latter to use dhcp like this: defaultrouter="192.168.11.1" hostname="arwen.nagual.st" ifconfig_re0="192.168.11.29 netmask 255.255.255.0" ifconfig_ath0="dhcp ssid air01 nwkey 0xc1e1639b753021ab6d64be2575 hidessid authmode shared" What happens is that the ath0 card gets loaded first (not wanted!) plus the dhcp setting changes my resolv.conf (not wanted either). How do I get this changed? re0 first, than my ath0 and NO changes to resolv.conf? System: freebsd-6.1R -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve