Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 18:59:24 +0100
From:      J65nko BSD <j65nko@gmail.com>
To:        Rob <spamrefuse@yahoo.com>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Change MAC address of LAN card in rc.conf. How?
Message-ID:  <19861fba0502270959545f1965@mail.gmail.com>
In-Reply-To: <20050227135449.63995.qmail@web54002.mail.yahoo.com>
References:  <20050227135449.63995.qmail@web54002.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Feb 2005 05:54:49 -0800 (PST), Rob <spamrefuse@yahoo.com> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19861fba0502270959545f1965>