-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Spakman wrote:

| Hi Stephen,
|
| Good question, I don't have a direct answer. You could try a few things:
| -Use your NIC (dos) utils to set the hw address.
| -Use something like the following in the interfaces file:
| auto eth0
| iface eth0 inet dhcp
|     pre-up ip link set address <hw-address> eth0 up
|
| -Add '-I <hw-address>' to the OPTIONS line in the dhcpcd config file
| (although I'm not sure if this set the mac-address)

Using the "ip link set address ..." is probably the best short-term
solution, if you only need to do this a few times.

It's also possible to re-code the EEPROM on most popular NICs so the setting
is permanent (ie: "clone" your old network card).  Just make sure you
*NEVER* plug the two devices with the same MAC into the same hub or switch!

When I need to do this, I typically use the diagnostic programs from scyld:

http://www.scyld.com/network.html
http://www.scyld.com/ethercard_diag.html

The diagnostic programs are also very good for other low-level debug or
configuration of your NIC.

NOTE:  IIRC, you have to set a define to compile the "unsafe" option of
being able to recode the hardware EEPROM.  It's been a while since I did
this...there are comments in the code with the details.

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDZ/5mLywbqEHdNFwRAheGAJ9zCfqOMhakz8FEwSNh1DVf0OgztQCfSBjK
3xayxspikDED5wlrmVvtAuo=
=9Ris
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to