I’m trying to set a fixed MAC address and static IP address for the Rock Pi S, but I’m getting mixed results. I’ve read other topics about this on the forum, but all the solutions like edit /etc/network/interfaces are working once and after every reset it fails to set the fixed MAC address and static IP address.
You could use nmtui and set Cloned MAC Address for your connection.
After that and before the reboot you have to edit your connection file, which is usually: /etc/NetworkManager/system-connections/Wired\ connection\ 1.nmconnection
and remove mac-address line (not cloned-mac-address) from there as on next boot you physical MAC is different and Network Manager will not use the same connection file.