Fixed MAC address and static IP address

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.

dmesg is returning these errors:

Any suggestions on how to fix this problem?

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.

On the other hand, if you don’t need Bluetooth or Wifi, you could use Armbian image from here: Rock pi s debian ftdi driver missing as it has patched u-boot with stable MAC derived from CPUID.

PS. I am working with Igor to have Rock Pi S in Armbian :slight_smile:

2 Likes

Wow. Thanks for this reply. I’ve tried your solution, but it doesn’t seem to work.

I’m going to try the Armbian image :slight_smile: I have the version with Ethernet only. Looking forward to see updates on Armbian for Rock Pi S! :smiley: