I have installed Armbian on my Rock Pi S, done some setup, and then taken an image of the disk to be duplicated to other devices.
The problem is that each of these devices get the same permanent MAC address on the ethernet port as the first device. I don't know how Armbian gets the MAC address from the interface but it doesn't seem to depend on unique hardware, or if it does then the hardware ID isn't actually unique between boards.
This leads to problems because my device is meant to be used several in the same network, causing collisions in DHCP assignment etc.
I have tried multiple workarounds and none have worked well. I tried spoofing the MAC addr by changing the cloned-mac-address setting in NetworkManager. This worked at changing the MAC address, however it caused an entirely different problem, namely that a fallback connection with a link-local address never gets activated. It previously worked but after changing only this setting, it no longer works. I have no idea why but I have tried for days now to fix this issue and I'm out of new ideas.
The other thing I tried was adding ethaddr=[some mac address] in the armbianEnv.txt file, as found in another forum thread. This didn't seem to do anything, the same duplicate MAC address was still used.
I also tried using macchanger, but it was difficult to get to work nicely with NetworkManager, I don't think this is a good solution...
What else can I try?