Thanks for the quick reply Charles.

I am using Bering-uClibc 2.0.1.  I looked in the modules file and didn't see
any comments regarding the ip link command.  Can you point me to some docs
that outine the command to put into the modules file.

Thanks,

Geoff 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Steinkuehler
Sent: Tuesday, January 13, 2004 4:11 PM
To: Geoff Nordli
Cc: [EMAIL PROTECTED]
Subject: Re: [leaf-user] set MAC address manually on eepro100 card

Geoff Nordli wrote:
> Hello Everyone.
> 
> I need to set the MAC address manually with a DHCP connection.  I know you
> can do it with a static IP in the /etc/network/interfaces file but the
> "hwaddress" option doesn't appear to work with dhcp.
> 
> I know it isn't a recommended practice, but I am replacing a server at a
> remote location where the DSL provider tracks MAC addresses.  I would
rather
> do something in software than directly modify the eeprom on the card.
> 
> Does anyone know the trick?

IIRC, it's:
   ip link set <device> address <MAC addr>

There should be hooks to do this in the latest Dachstein (and I believe 
in Bering by proxy), so you can simply add the proper commands to your 
/etc/modules file (should be documentation in the comments at the top of 
the file).

-- 
Charles Steinkuehler
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
------------------------------------------------------------------------
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



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
------------------------------------------------------------------------
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