Hi Charles.

I couldn't get it to work correctly.  I ended up having this in my
/etc/init.d/modutils file:

case "$module" in
        \#*|"") continue ;;
        LLADDR) ip link set $2 address $3 ;;
esac 

Then at the bottom of the /etc/modules file I put:

! LLADDR eth1 00:02:B3:61:1E:0E

I also tried 

LLADDR eth1 00:02:B3:61:1E:0E

To make it work I created a script that configured the MAC address set it to
start (S,S21) right after the networking get configured.  This seems to be
working well, but I would much rather figure out why the modutils script
doesn't work correctly.

Have a great day!

Geoff





-----Original Message-----
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 5:00 AM
To: Geoff Nordli
Cc: [EMAIL PROTECTED]
Subject: Re: [leaf-user] set MAC address manually on eepro100 card

Geoff Nordli wrote:

> 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.

I guess this never got offically released (was part of the Dachstein 
1.03 release that didn't quite make it, and I guess wasn't added to 
Bering either).

The mod to /etc/init.d/modutils should work fine for you, however, and 
can be found in the list archives:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07441.html

While patch is unavailable on LRP, you shouldn't have much trouble 
manually applying the diffs (just add one line to /etc/init.d/modutils, 
and two comment lines to /etc/modules).

-- 
Charles Steinkuehler
[EMAIL PROTECTED]




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
------------------------------------------------------------------------
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