Good evening,
I have got Orange pi 5 board. MAC address of this board network interface `end1` changes every time I reboot the system. I tried adding entry in /boot/armbianEnv.txt, I tried specifying hwaddress in /etc/network/interfaces. Neither of those two options worked.
This is the fix I'm using, this bug should've been addressed but nobody seems to be talking about it.
Remember to change the mac address.
sudo nano /etc/network/if-pre-up.d/macchanger
#!/bin/sh
/sbin/ifconfig eth0 hw ether aa:aa:aa:aa:aa:aa
sudo chmod +x /etc/network/if-pre-up.d/macchanger
Surely there's a better solution.