Dietpi Fresh Install Exit code 2

well the device had the same IP address as your DNS server, means it was pointing to itself. Usually this can’t work.

Or is IP address 192.168.1.106 used by another system within your network? Do you use a local DNS server like PiHole or AGH?