For anyone having the issue of new IP addresses via DHCP on every cold boot, I'm curious if you're running into the same issue with request IAIDs I raised a while back. Some DHCP servers flat out ignore IAID and this problem likely doesn't manifest in those cases, but for those that respect it you may find this issue. Changing to clientid from duid solves the issue for me, but I have to make this change every time there's an OS update for the MiSTer.
I've written more about it here, and if you'd like try toggling this option for yourself in /etc/dhcpcd.conf the change is below. Important note, you may get one more IP address after making this change, but subsequent cold boots should be static (at least for the duration of your DHCP lease).
FROM
Code: Select all
# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid
TO
Code: Select all
# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid