UPDATE
Over on the DietPi forum: Michalng provided a couple of feasible solutions to this. This is the one that I selected...
And it seems to have worked as expected:
HTH somebody!
Over on the DietPi forum: Michalng provided a couple of feasible solutions to this. This is the one that I selected...
Code:
root@DietPi:~# mv /etc/udev/rules.d/80-net-setup-link.rules /tmp
root@DietPi:~# echo 'SUBSYSTEM=="net", KERNEL=="eth0", ACTION=="add", RUN+="ip l set dev eth0 address 00:06:dc:00:00:01"' > /etc/udev/rules.d/99-eth0-mac.rules
And it seems to have worked as expected:
Code:
root@DietPi:~# cat /etc/udev/rules.d/99-eth0-mac.rules
SUBSYSTEM=="net", KERNEL=="eth0", ACTION=="add", RUN+="ip l set dev eth0 address 00:06:dc:00:00:01"
root@DietPi:~# reboot
dietpi@DietPi:~$ ip address show eth0 | grep ether
link/ether 00:06:dc:00:00:01 brd ff:ff:ff:ff:ff:ff
HTH somebody!
Eric P.
Portland, Oregon
Portland, Oregon