From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 01:50:22 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 4CF7616A4CE for ; Mon, 28 Feb 2005 01:50:22 +0000 (GMT) Received: from web54006.mail.yahoo.com (web54006.mail.yahoo.com [206.190.36.230]) by mx1.FreeBSD.org (Postfix) with SMTP id BED0143D5C for ; Mon, 28 Feb 2005 01:50:21 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 16044 invoked by uid 60001); 28 Feb 2005 01:50:20 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=UNcbYDwfOlhuqSZw3kPfTME+CnJ89jkZgh3ixYsPNKnteFguX1lGcjZQO3c9y9VP19HcgXwYmo9WdMSYDAGk72IKVVsJojyi2Mtk2gNfP2aMIOxbVTLdQXfCfTL4vb9EffYkbYhfVo0BmKhnoOEMcAUiGC9EYFZW/WnYeROvEYQ= ; Message-ID: <20050228015020.16042.qmail@web54006.mail.yahoo.com> Received: from [147.46.44.181] by web54006.mail.yahoo.com via HTTP; Sun, 27 Feb 2005 17:50:20 PST Date: Sun, 27 Feb 2005 17:50:20 -0800 (PST) From: Rob To: Volodymyr Kostyrko MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Stable cc: FreeBSD questions 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: Mon, 28 Feb 2005 01:50:22 -0000 Volodymyr Kostyrko wrote: > 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" That works indeed. Thanks so much! Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com