Mods allowing users to set the MAC address of a network card automatically:
diff -uPr old/etc/init.d/modutils new/etc/init.d/modutils --- old/etc/init.d/modutils Fri Jun 14 10:45:13 2002 +++ new/etc/init.d/modutils Fri Jun 14 10:45:13 2002 @@ -27,6 +27,7 @@ umount) [ -n "$MOUNT" ] && umount $MOUNT MOUNT="" ;; dir) DIR="$2" ;; + LLADDR) ip link set $2 address $3 ;; esac continue ;; esac diff -uPr old/etc/modules new/etc/modules --- old/etc/modules Fri Jun 14 10:44:57 2002 +++ new/etc/modules Fri Jun 14 10:44:57 2002 @@ -18,6 +18,8 @@ # ! dir <directory> # directory should contain a leading slash and is relative to root if nothing # is mounted, or the root of any mounted filesystem specified with ! mount +# ! LLADDR <device> <address> +# Sets the low-level (MAC) address of a network device ###################################################################### # More modules available from: Example usage for an ethernet device (in /etc/modules): ! LLADDR eth0 00:12:34:56:78:fe Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ------------------------------------------------------------------------ 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