Adding the following code to /etc/network/modules/iproute2.sh adds
support for changing the MAC address for an interface
---- snip ----
public_address() {
code="ip link set $if address $1" ; shift
addcode up 5 3 "$code"
iproute2_init_if
}
---- snip ----
Tested it (on an eth interface) and it works (for me;-)
Don't ask me what 5 and 3 for `addcode` mean.
Bernd
--
Firmix Software GmbH https://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
_______________________________________________
rock-devel mailing list
https://www.rocklinux.net/mailman/listinfo/rock-devel