At 10:13 PM 2/2/03 +0100, B.J. van Drunen Littel wrote:
How can I clone a MAC address to an LEAF?

My cable ISP uses MAC filtering to connect to the internet
The exact answer depends on both your NIC and which version of LEAF you are using.

-IF- your NIC and its module support the option for setting MAC address, you use whichever of these commands is appropriate to your setup ...

ifconfig eth0 hw ether Aa:Bb:Cc:Dd:Ee:Ff
ip link set dev eth0 address Aa:Bb:Cc:Dd:Ee:Ff

... replacing "Aa:Bb:Cc:Dd:Ee:Ff" with the MAC address you want to use. (I didn't test these, so watch out for small typos.)

I've never seen a NIC that will accept a permanent change of MAC address, so you'll need to add the command to the boot/init sequence, early enough in it that it happens before you try to get your (usually) DHCP lease from your ISP.


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [EMAIL PROTECTED]
-------------------------------------------------------------------------------



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to