From owner-freebsd-questions@FreeBSD.ORG Thu May 17 16:59:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ADB516A402 for ; Thu, 17 May 2007 16:59:13 +0000 (UTC) (envelope-from lalev@uni-svishtov.bg) Received: from ns.uni-svishtov.bg (ns2.uni-svishtov.bg [195.20.24.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6EC13C507 for ; Thu, 17 May 2007 16:59:11 +0000 (UTC) (envelope-from lalev@uni-svishtov.bg) Received: from mail.uni-svishtov.bg (grinch.uni-svishtov.bg [195.20.24.9]) by ns.uni-svishtov.bg (8.13.8/8.13.3) with ESMTP id l4HH01Lw026340 for ; Thu, 17 May 2007 20:00:01 +0300 (EEST) (envelope-from lalev@uni-svishtov.bg) Received: from localhost (mail.uni-svishtov.bg [195.20.24.9]) by mail.uni-svishtov.bg (8.13.8/8.12.6) with ESMTP id l4HGw6CO024995 for ; Thu, 17 May 2007 19:58:06 +0300 (EEST) (envelope-from lalev@uni-svishtov.bg) MIME-Version: 1.0 Date: Thu, 17 May 2007 19:58:06 +0300 From: Angelin Lalev To: freebsd-questions@freebsd.org Message-ID: <1a5ccc3f5f40e0ec06a599a6aad2675e@uni-svishtov.bg> X-Sender: lalev@uni-svishtov.bg User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.uni-svishtov.bg Subject: ifconfig seems to not accept inet and ether parameters on one line 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, 17 May 2007 16:59:13 -0000 Hi everyone, I'm running FreeBSD 6.2. and I'm trying in short to change the MAC address of my network interface at boot. So I wrote something like this in my rc.conf file: ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.0 ether 00:00:11:11:22:22" at next boot the interface was not configured at all, so I tried it manually: ifconfig xl0 inet 192.168.1.1 netmask 255.255.255.0 ether 00:00:11:11:22:22 and got ifconfig:ether:bad value It works perfectly when I set only inet and only ether addresses. How to make It work in rc.conf? The only info in the net that I could find was non-authoritative and suggested this is a bug?