From owner-freebsd-stable@FreeBSD.ORG Sun Feb 27 17:59:25 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA16816A4CE for ; Sun, 27 Feb 2005 17:59:25 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6365943D5C for ; Sun, 27 Feb 2005 17:59:25 +0000 (GMT) (envelope-from j65nko@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so684830wra for ; Sun, 27 Feb 2005 09:59:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=r57ptLN6ameQLknDgtcKiVtCFv3evlVi2LTC/mHm2s7djIcVl5DuY3NMOgg4ayDjb+1+aMyzSqHOoW5D1BXr7MbYR3fDzBdvZZCMLDU4N9Ux634mX24NvmSzXIbMnLD1XFwwj2W1GfXSHoel5cvi9JuEyUIEf8emb3/XZsYGc1I= Received: by 10.54.5.79 with SMTP id 79mr68578wre; Sun, 27 Feb 2005 09:59:24 -0800 (PST) Received: by 10.54.37.16 with HTTP; Sun, 27 Feb 2005 09:59:24 -0800 (PST) Message-ID: <19861fba0502270959545f1965@mail.gmail.com> Date: Sun, 27 Feb 2005 18:59:24 +0100 From: J65nko BSD To: Rob In-Reply-To: <20050227135449.63995.qmail@web54002.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050227135449.63995.qmail@web54002.mail.yahoo.com> cc: FreeBSD Stable cc: FreeBSD questions Subject: Re: Change MAC address of LAN card in rc.conf. How? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: J65nko BSD List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 17:59:26 -0000 On Sun, 27 Feb 2005 05:54:49 -0800 (PST), Rob wrote: > > Hi, > > 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? > echo 'ifconfig rl0 ether 11:22:33:44:55:66' >/etc/start_if.rl0 =Adriaan=