[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    Re: Change MAC address of LAN card in rc.conf. How?
From:       Rob <spamrefuse () yahoo ! com>
Date:       2005-02-28 1:50:20
Message-ID: 20050228015020.16042.qmail () web54006 ! mail ! yahoo ! com
[Download RAW message or body]

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 
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic