which is the right command to make the Dietpi IP static?
use dietpi-config to change network option from DHCP to STATIC
Sorry to revive an old thread, but I don’t see any network options to change from DHCP to STATIC under dietpi-config->network options: adapters or dietpi-config->network options: misc. Using dietpi64 (latest stable as of 8/14/2023) on RPi 3B hardware.
You need to select Ethernet or WiFi adapter.