From owner-freebsd-stable@FreeBSD.ORG Tue Feb 13 02:01:34 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C83716A400 for ; Tue, 13 Feb 2007 02:01:34 +0000 (UTC) (envelope-from jp@bsdgroup.de) Received: from digitiminimi.de (digitiminimi.de [80.242.136.80]) by mx1.freebsd.org (Postfix) with ESMTP id EF42413C461 for ; Tue, 13 Feb 2007 02:01:33 +0000 (UTC) (envelope-from jp@bsdgroup.de) Received: from localhost (digitiminimi.de [80.242.136.80]) by digitiminimi.de (Postfix) with ESMTP id 29EA3DAA74 for ; Tue, 13 Feb 2007 02:40:23 +0100 (CET) X-Virus-Scanned: amavisd-new at digitiminimi.de Received: from digitiminimi.de ([80.242.136.80]) by localhost (main.digitiminimi.de [80.242.136.80]) (amavisd-new, port 10024) with ESMTP id Lz7O9P8vN2h0 for ; Tue, 13 Feb 2007 02:40:20 +0100 (CET) Received: from loki.starkstrom.lan (p57B57462.dip.t-dialin.net [87.181.116.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by digitiminimi.de (Postfix) with ESMTP id 10C0EDA9C0 for ; Tue, 13 Feb 2007 02:40:19 +0100 (CET) Date: Tue, 13 Feb 2007 02:37:53 +0100 From: Joerg Pernfuss To: freebsd-stable@freebsd.org Message-ID: <20070213023753.5a8fdb7c@loki.starkstrom.lan> In-Reply-To: <200702121918.54648.joao@matik.com.br> References: <20070212163652.GA51709@lor.one-eyed-alien.net> <20070212190739.GA42702@icarus.home.lan> <20070212192736.GB53587@lor.one-eyed-alien.net> <200702121918.54648.joao@matik.com.br> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 02:01:34 -0000 On Mon, 12 Feb 2007 19:18:54 -0300 JoaoBR wrote: > I believe the problem here is that > > ifconfig_nic="inet IP" > ifconfig_nic="ether MAC" > > does not work on one line and does not work on two either, the latter > overrides and or you get an IP address with original MAC or you get a > new MAC without IP. Yes, you have to put 'ifconfig nic ether MAC' in /etc/start_if.nic for this to work afair. Same approach you need to set WEP etc on a wireless nic if you have ifconfig_nic="DHCP" in your rc.conf. Joerg -- | SPECIAL ADVERTISMENT | NEW KEY AS OF 02/01/2007 - GET IT | +----------------------+------------------------------------------+ | /"\ ASCII ribbon | GnuPG Key ID | 6902 3fc0 64c3 a56e a8b4 | | \ / campaign against | 0xab439348 | c8de d555 c2cd ab43 9348 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. |