From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 18:42:36 2005 Return-Path: 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 6FA5116A4CF for ; Sun, 27 Feb 2005 18:42:36 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 939F143D55 for ; Sun, 27 Feb 2005 18:42:35 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D5TIj-00019m-Cp for freebsd-questions@freebsd.org; Sun, 27 Feb 2005 19:37:57 +0100 Received: from pool-22-147.adsl.dn.farlep.net ([213.130.22.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Feb 2005 19:37:57 +0100 Received: from arcade by pool-22-147.adsl.dn.farlep.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Feb 2005 19:37:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Sun, 27 Feb 2005 20:42:12 +0200 Lines: 24 Message-ID: References: <20050227135449.63995.qmail@web54002.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pool-22-147.adsl.dn.farlep.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; uk-UA; rv:1.7.5) Gecko/20050111 X-Accept-Language: uk, ru, en-us, en In-Reply-To: <20050227135449.63995.qmail@web54002.mail.yahoo.com> Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: freebsd-questions@m.gmane.org X-MailScanner-To: freebsd-questions@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Change MAC address of LAN card in rc.conf. How? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 18:42:36 -0000 Rob wrote: > I'm running 5.3 STABLE. > > I need to change the MAC address of my PC. > > I know it can be done like this: > > ifconfig rl0 ether 11:22:33:44:55:66 > > So I guessed I could make life a little easier by > adding this in my /etc/rc.conf file as: > > ifconfig_rl0="inet 192.168.123.2 netmask 255.255.255.0 > ether 11:22:33:44:55:66" > > However, this does not seem to work. No IP address > is assigned to the LAN card after bootup. > Apparently something is wrong here. > Any idea how I can do this at bootup? ifconfig_rl0_alias0="ether 11:22:33:44:55:66" -- [WBR], Arcade. [SAT Astronomy/Think to survive!]