On Tue, 27 Jan 2004, Geoff Nordli wrote: > 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.
It might work better if you swap the cases? case "$module" in LLADDR) ip link set $2 address $3 ;; \#*|"") continue ;; esac --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...2k --------------------------------------------------------------------------- ------------------------------------------------------- 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