Unable to install headless

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | Unknown
  • Distro version | Unknown
  • Kernel version | Unknown
  • Architecture | Unknown
  • SBC model | RaspberryPi Zero 2 W
  • Power supply used | Connected to laptop
  • SD card used | SanDisk Extreme 128gb

Additional Information (if applicable)

  • None

Steps to reproduce

# IMPORTANT:

# - This is intended for advanced users, unless you know what you are doing, do not edit this file. Please use the DietPi programs instead.

# - Do not remove uncommented lines, as the items are scraped by DietPi programs, on demand.

#------------------------------------------------------------------------------------------------------

##### DietPi-Automation settings, applied on first boot of DietPi only, ONCE!

#------------------------------------------------------------------------------------------------------
AUTO_SETUP_ACCEPT_LICENSE=1

# Initial user and default software installation password

# - Sets “root” and “dietpi” user’s login passwords and is used by dietpi-software as default for software installs which require a password.

# - Once applied during first run setup, the password is removed from this file, encrypted and stored to a safer location to be used by dietpi-software only.

# - WARN: The default SSH server Dropbear does not support passwords over 100 bytes. Certain special characters, and such with accents, take 2 bytes.

# - WARN: We cannot guarantee that all software options can handle special characters like $"|.

AUTO_SETUP_GLOBAL_PASSWORD=\[Redacted\]

##### Language/Regional options

# Locale e.g.: “en_GB.UTF-8” / “de_DE.UTF-8” | One entry and UTF-8 ONLY!

AUTO_SETUP_LOCALE=C.UTF-8

# Keyboard layout e.g.: “gb” / “us” / “de” / “fr”

AUTO_SETUP_KEYBOARD_LAYOUT=us

# Time zone e.g.: “Europe/London” / “America/New_York” -removed

AUTO_SETUP_TIMEZONE=UTC

##### Network options

# Enable Ethernet or WiFi adapter: 1=enable | 0=disable

# - If both Ethernet and WiFi are enabled, WiFi will take priority and Ethernet will be disabled.

# - If using WiFi, please edit dietpi-wifi.txt to pre-enter credentials.

AUTO_SETUP_NET_ETHERNET_ENABLED=0
AUTO_SETUP_NET_WIFI_ENABLED=1

# WiFi country code: 2 capital letter value (e.g. GB US DE JP): -removed

# - NB: This choice may be overridden if the WiFi access point sends a country code.

AUTO_SETUP_NET_WIFI_COUNTRY_CODE=\[Redacted\]

# Enter your static network details below, if applicable.

AUTO_SETUP_NET_USESTATIC=0
AUTO_SETUP_NET_STATIC_IP=192.168.0.100
AUTO_SETUP_NET_STATIC_MASK=255.255.255.0
AUTO_SETUP_NET_STATIC_GATEWAY=192.168.0.1
AUTO_SETUP_NET_STATIC_DNS=9.9.9.9 149.112.112.112

# Set to “1” to convert DHCP leased network settings into static settings automatically on first boot.

AUTO_SETUP_DHCP_TO_STATIC=0

# Hostname

AUTO_SETUP_NET_HOSTNAME=\[Redacted\]

# Force Ethernet speeds: 0=automatic speed | 10 = 10 Mbit/s | 100 = 100 Mbit/s etc.

# - Use this when your Ethernet adapter has an unstable 1 Gbit/s link.

AUTO_SETUP_NET_ETH_FORCE_SPEED=0

# Delay service starts at boot until network is established: 0=disabled | 1=enabled

AUTO_SETUP_BOOT_WAIT_FOR_NETWORK=1

##### Misc options

# Swap space size to generate: 0 => disable | 1 => auto | 2 and up => size in MiB

AUTO_SETUP_SWAPFILE_SIZE=1585

# Swap space location: “zram” => swap space on /dev/zram0 (auto-size = 50% of RAM size) | /path/to/file => swap file at location (auto-size = 2 GiB minus RAM size)

AUTO_SETUP_SWAPFILE_LOCATION=/var/swap

# Set to “1” to disable HDMI/video output and framebuffers on Raspberry Pi, to reduce power consumption and memory usage: Works on RPi only!

AUTO_SETUP_HEADLESS=1

# Serial console: Set to “0” if you do not require a serial console. It will then be disabled automatically on first boot.

# - If you leave it at “1”, and first login does not happen on a serial console, a dialogue offers to disable it instead.

CONFIG_SERIAL_CONSOLE_ENABLE=1

# Unmask (enable) systemd-logind service (including dbus), which is masked by default on DietPi

AUTO_UNMASK_LOGIND=0

# Install APT packages automatically after first run setup.

# - Add as many APT package names as you wish, separated by space.

# - They will be installed after dietpi-software options and before the script defined via AUTO_SETUP_CUSTOM_SCRIPT_EXEC (see below) is executed.

# - E.g. the following (without the leading “#”) will install the APT packages iotop, iptables and xz-utils:

#AUTO_SETUP_APT_INSTALLS=iotop iptables xz-utils

# Custom Script (pre-networking and pre-DietPi install)

# - Allows you to automatically execute a custom script before network is up on first boot.

# - Copy your script to /boot/Automation_Custom_PreScript.sh and it will be executed automatically.

# - Executed script log: /var/tmp/dietpi/logs/dietpi-automation_custom_prescript.log

# Custom Script (post-networking and post-DietPi install)

# - Allows you to automatically execute a custom script at the end of DietPi install.

# - Option 0 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.

# - Option 1 = Host your script online, then use e.g. AUTO_SETUP_CUSTOM_SCRIPT_EXEC=-removed

# - Executed script log: /var/tmp/dietpi/logs/dietpi-automation_custom_script.log

AUTO_SETUP_CUSTOM_SCRIPT_EXEC=0

# Restore a DietPi-Backup on first boot: 0 => disable | 1 => interactive restore (show list of found backups) | 2 => non-interactive restore (restore first found backup)

# - Simply attach the drive/disk/stick which contains the backup. All attached drives will be mounted temporarily and searched automatically.

AUTO_SETUP_BACKUP_RESTORE=0

##### Software options

# SSH server choice: 0=none/custom | -1=Dropbear | -2=OpenSSH

AUTO_SETUP_SSH_SERVER_INDEX=-1

# SSH server pubkey

# - Public key(s) for “root” and “dietpi” users, which will be added to \~/.ssh/authorized_keys

# - Use the same setting multiple times for adding multiple keys.

# - See SOFTWARE_DISABLE_SSH_PASSWORD_LOGINS below for disabling SSH password logins.

#AUTO_SETUP_SSH_PUBKEY=ssh-ed25519 AAAAAAAA111111111111BBBBBBBBBBBB222222222222cccccccccccc333333333333 mySSHkey

# Desktop choice: none, lxde, xfce, mate, lxqt, gnustep

AUTO_SETUP_DESKTOP=xfce

# Logging mode choice: 0=none/custom | -1=RAMlog hourly clear | -2=RAMlog hourly save to disk + clear | -3=Rsyslog + Logrotate

AUTO_SETUP_LOGGING_INDEX=-1

# RAMlog max tmpfs size (MiB). 50 MiB should be fine for single use. 200+ MiB for heavy webserver access log etc.

AUTO_SETUP_RAMLOG_MAXSIZE=50

# Dependency preferences

# - DietPi-Software installs all dependencies for selected software options automatically, which can include a webserver for web applications, and a web browser for desktop environments.

# - Especially for non-interactive first run installs (see AUTO_SETUP_AUTOMATED below), you may want to define which webserver and/or browser you want to have installed in such case. For interactive installs you will be always asked to pick one.

# - With below settings you can define your preference for non-interactive installs. However, it will only installed if any other selected software requires it, and an explicit webserver/browser selection overrides those settings:

# - Webserver preference: 0=Apache | -1=Nginx | -2=Lighttpd

AUTO_SETUP_WEB_SERVER_INDEX=0

# - Browser preference: 0=None | -1=Firefox | -2=Chromium

AUTO_SETUP_BROWSER_INDEX=-0

# DietPi-Autostart: 0=Console | 7=Console autologin | 1=Kodi | 2=Desktop autologin | 16=Desktop | 4=OpenTyrian | 5=DietPi-CloudShell | 6=Amiberry fast boot | 8=Amiberry standard boot | 9=DDX-Rebirth | 10=CAVA Spectrum | 11=Chromium kiosk | 14=Custom script (background) | 17=Custom script (foreground)

# - This will be effective on 2nd boot, after first run update and installs have been done.

# - Related software titles must be installed either on first run installs or via AUTO_SETUP_AUTOMATED=1 + AUTO_SETUP_INSTALL_SOFTWARE_ID (see below).

AUTO_SETUP_AUTOSTART_TARGET_INDEX=0

# Autologin user name

# - This user must exist before first run installs, otherwise it will be reverted to root.

# - Applies to all autostart options but: 0, 6, 14 and 16

AUTO_SETUP_AUTOSTART_LOGIN_USER=root

##### Non-interactive first run setup

# On first boot, run updates, initial setup, and optional software installs without any user interaction.

# - Please change AUTO_SETUP_GLOBAL_PASSWORD when enabling this option!

AUTO_SETUP_AUTOMATED=0

# Software to automatically install

# - Requires AUTO_SETUP_AUTOMATED=1

# - List of available software IDs:-removed

# - Add as many software IDs as you wish, separated by space.

# - DietPi will automatically install all dependencies, like ALSA/X11 for desktops, a webserver for web applications etc.

# - E.g. the following (without the leading “#”) will install the LXDE desktop, the TigerVNC server and the Kodi media centre automatically on first boot:

#AUTO_SETUP_INSTALL_SOFTWARE_ID=23 28 31
#------------------------------------------------------------------------------------------------------

##### Misc DietPi program settings

#------------------------------------------------------------------------------------------------------

# DietPi-Survey: 1=opt in | 0=opt out | -1=ask on first call

# - -removed

SURVEY_OPTED_IN=-1
#------------------------------------------------------------------------------------------------------

##### DietPi-Config settings

#------------------------------------------------------------------------------------------------------

# CPU Governor: schedutil | ondemand | interactive | conservative | powersave | performance

CONFIG_CPU_GOVERNOR=schedutil

# Ondemand Sampling Rate | Min value: 10000 microseconds (10 ms)

CONFIG_CPU_ONDEMAND_SAMPLE_RATE=25000

# Ondemand Sampling Down Factor: Sampling Rate \* Down Factor / 1000 = ms (40 = 1000 ms when sampling rate is 25000)

CONFIG_CPU_ONDEMAND_SAMPLE_DOWNFACTOR=40

# Throttle Up Percentage: Percentage of average CPU usage during sampling rate at which CPU will be throttled up/down

CONFIG_CPU_USAGE_THROTTLE_UP=50

# CPU Temperature Sensor Path

# - “auto” or empty uses auto-detection (default)

# - Set a specific path to override, e.g.: /sys/class/hwmon/hwmon1/temp1_input

# - Use “dietpi-config” > “Display Options” > “CPU Temp Sensor” to select

CONFIG_CPU_TEMP_PATH=auto

# CPU Frequency Limits: Disabled=disabled

# - Intel CPUs use a percentage value (%) from 0-100, e.g.: 55

# - All other devices must use a specific MHz value, e.g.: 1600

# - Has no effect on RPi, please set “arm_freq” and “arm_freq_min” in config.txt instead.

CONFIG_CPU_MAX_FREQ=Disabled
CONFIG_CPU_MIN_FREQ=Disabled

# Disable Intel-based turbo/boost stepping. This flag should not be required, setting <100% MAX frequency should disable Turbo on Intel CPUs.

CONFIG_CPU_DISABLE_TURBO=0

# GPU Driver | Will also be applied during 1st run if set to a value other than ‘none’

# NB: x86_64 PC only!

# Adds support for GUI/video hardware acceleration, OpenGL/GLES, Vulkan and VA-API

# - none | Default, No GPU

# - intel

# - nvidia

# - amd

# - custom | Manual driver install (DietPi will not make driver changes to your system)

CONFIG_GPU_DRIVER=none

# System-wide proxy settings

# - Do not modify, you must use dietpi-config > “Network Options: Adapters” to apply

CONFIG_PROXY_ADDRESS=-removed
CONFIG_PROXY_PORT=8080
CONFIG_PROXY_USERNAME=
CONFIG_PROXY_PASSWORD=

# Connection timeout in seconds for G_CHECK_NET and G_CHECK_URL. Increase if you have a “flaky” connection or slow DNS resolver.

# - Set this to “0” to allow unlimited time, however this is not recommended to avoid unlimited hanging background scripts, e.g. daily DietPi update check.

# - A negative or non-integer value will result in the default of 10 seconds.

CONFIG_G_CHECK_URL_TIMEOUT=10

# Connection attempts with above timeout each, before G_CHECK_NET and G_CHECK_URL give up and prompt an error.

# - Any value below “1” or a non-integer value will result in the default of 2 attempts.

CONFIG_G_CHECK_URL_ATTEMPTS=2

# General connection and DNS testing

# - IPv4 address to ping when checking network connectivity. Default: 9.9.9.9 (Quad9 DNS IP)

CONFIG_CHECK_CONNECTION_IP=9.9.9.9

# - IPv6 address to ping when checking network connectivity. Default: 2620:fe::fe (Quad9 DNS IP)

CONFIG_CHECK_CONNECTION_IPV6=2620:fe::fe

# - Domain to resolve when checking DNS resolver. Default: -removed

CONFIG_CHECK_DNS_DOMAIN=-remvoed

# Daily check for DietPi updates: 0=disable | 1=enable

# - Checks are done by downloading a file of only 7 bytes.

CONFIG_CHECK_DIETPI_UPDATES=1

# Daily check for APT package updates: 0=disable | 1=check only | 2=check and upgrade automatically

# - Upgrade logs can be found at: /var/tmp/dietpi/logs/dietpi-update_apt.log

CONFIG_CHECK_APT_UPDATES=1

# Network time sync: 0=disabled | 1=boot only | 2=boot + daily | 3=boot + hourly | 4=Daemon + Drift

CONFIG_NTP_MODE=2

# Sound card

CONFIG_SOUNDCARD=none

# LCD Panel addon

# - Do not modify, you must use dietpi-config to configure/set options

CONFIG_LCDPANEL=none

# IPv6

CONFIG_ENABLE_IPV6=1

# APT mirrors which are applied to /etc/apt/sources.list | Values here will also be applied during 1st run setup

# - Raspbian: -removed

CONFIG_APT_RASPBIAN_MIRROR= -removed

# - Debian: -removed

CONFIG_APT_DEBIAN_MIRROR= -removed

# NTP server(s) applied to /etc/systemd/timesyncd.conf

# - “default”: Use the NTP server(s) provided via DHCP, else the -removed NTP pool.

# - “gateway”: Use the router/gateway as NTP server. Recommended, if it does provide this functionality.

# - To use another public NTP pool, see the full list at: -removed

# Use the pool domain without leading integer and dot (without “0.”), like “-removed”, “-removed” or “-removed”.

# - You can also use a custom IP address, hostname or any combination of space-separated IP addresses, hostnames and NTP pool domains.

CONFIG_NTP_MIRROR=default
#------------------------------------------------------------------------------------------------------

##### DietPi-Software settings

#------------------------------------------------------------------------------------------------------

# Public domain name

# - If you plan to make this server accessible from the Internet, you can define its (planned) public domain name here.

# - This will be used by certain software install options as default if a public domain name is required or beneficial for it to function.

# - Currently used by:

# Nextcloud Talk to configure it with Coturn

# Synapse as public facing server name

# dietpi-letsencrypt as default entry

#SOFTWARE_PUBLIC_DOMAIN_NAME=-removed

# SSH Server

# - Disable SSH password logins, e.g. when using pubkey authentication

# 0=Allow password logins for all users, including root

# root=Disable password login for root user only

# 1=Disable password logins for all users, assure that you have a valid SSH key applied!

SOFTWARE_DISABLE_SSH_PASSWORD_LOGINS=0

# WireGuard

# - Whether to install WireGuard as “Server” or “Client”, relevant for unattended installs only, else a menu is shown

SOFTWARE_WIREGUARD_MODE=Server

# - Listening UDP port to use when installing WireGuard in server mode, relevant for unattended installs only, else an inputbox is shown

SOFTWARE_WIREGUARD_PORT=51820

# VNC Server

SOFTWARE_VNCSERVER_WIDTH=1280
SOFTWARE_VNCSERVER_HEIGHT=720
SOFTWARE_VNCSERVER_DEPTH=16
SOFTWARE_VNCSERVER_DISPLAY_INDEX=1
SOFTWARE_VNCSERVER_SHARE_DESKTOP=0

# Nextcloud

# - Optional username for admin account, the default is “admin”, applied during install

SOFTWARE_NEXTCLOUD_USERNAME=admin

# - Optional data directory, default is “/mnt/dietpi_userdata/nextcloud_data”, applied during install

SOFTWARE_NEXTCLOUD_DATADIR=/mnt/dietpi_userdata/nextcloud_data

# Synapse

# - Initial admin username, relevant for unattended installs only, else an inputbox is shown

SOFTWARE_SYNAPSE_USERNAME=dietpi

# WiFi Hotspot

SOFTWARE_WIFI_HOTSPOT_SSID=DietPi-HotSpot

# - Key requires a minimum of 8 characters

SOFTWARE_WIFI_HOTSPOT_KEY=dietpihotspot

# - 2.4 GHz WiFi channel, not effective if 5 GHz frequency is enabled

SOFTWARE_WIFI_HOTSPOT_CHANNEL=3

# - 802.11n/WiFi 4, 802.11ac/WiFi 5, 802.11ax/WiFi 6 and 5 GHz support: Note that your WiFi adapter must support it!

# - WiFi 5 support implicitly switches to 5 GHz frequency.

# - 5 GHz frequency implicitly enables WiFi 4 support if neither WiFi 4, 5 nor 6 is enabled.

SOFTWARE_WIFI_HOTSPOT_WIFI4=0
SOFTWARE_WIFI_HOTSPOT_WIFI5=0

# - WiFi 6 is only supported from Debian Bookworm on!

SOFTWARE_WIFI_HOTSPOT_WIFI6=0
SOFTWARE_WIFI_HOTSPOT_5G=0

# - A full list of supported 5 GHz WiFi channels per region can be found e.g. on Wikipedia: -removed
SOFTWARE_WIFI_HOTSPOT_5G_CHANNEL=36

# X11

# - DPI 96(default) 120(+25%) 144(+50%) 168(+75%) 192(+100%)

SOFTWARE_XORG_DPI=96

# Chromium

SOFTWARE_CHROMIUM_RES_X=1280
SOFTWARE_CHROMIUM_RES_Y=720
SOFTWARE_CHROMIUM_AUTOSTART_URL=-removed

# Home Assistant

# - Optional Python build dependencies and modules, possibly required for certain HA components

# Space separated list (no quotation!), will be installed together with Home Assistant automatically, if present

SOFTWARE_HOMEASSISTANT_APT_DEPS=

# Add Python modules with version string at best, e.g.: firstModule==1.2.3 secondModule==4.5.6

SOFTWARE_HOMEASSISTANT_PIP_DEPS=

# K3s

# Command with flags to use for launching K3s in the service

# The value of this variable is copied directly into the INSTALL_K3S_EXEC environment variable before

# running the K3s installer.

# 

-removed

# 

# Optionally, you can add a configuration file named /boot/dietpi-k3s.yaml,

# which will be copied into place during installation.

# 

-removed

SOFTWARE_K3S_EXEC=

# DietPi-Dashboard

# Version to use

# - Stable = Use release version of DietPi-Dashboard.

# - Nightly = Use unstable version DietPi-Dashboard. Might have bugs, but will probably have more features.

SOFTWARE_DIETPI_DASHBOARD_VERSION=Stable

# Whether to only install backend or not

SOFTWARE_DIETPI_DASHBOARD_BACKEND=0

# PiVPN

# - For an unattended install, place a config file named “unattended_pivpn.conf” into the boot partition/directory.

# - For example configs, have a look at: -removed
# Shairport Sync

# - Uncomment and set to “2” to install experimental AirPlay 2 build: -removed

#SOFTWARE_SHAIRPORT_SYNC_AIRPLAY=2

# UrBackup Server

# - Backup path, optional, defaults to “/mnt/dietpi_userdata/urbackup”, effective on fresh UrBackup Server installs only

SOFTWARE_URBACKUP_BACKUPPATH=/mnt/dietpi_userdata/urbackup

# Roon Server

# - Set to “1” to install early access builds instead of regular/stable ones: -removed

# - Relevant for automated/unattended installs only, else a dialogue is shown to choose/switch between both.

# - NB: Early access builds have a higher chance to contain bugs, and you may need to restore a database backup when reverting from early access to stable builds.

SOFTWARE_ROONSERVER_EARLYACCESS=0
#------------------------------------------------------------------------------------------------------

##### Dev settings

#------------------------------------------------------------------------------------------------------
DEV_GITBRANCH=master
DEV_GITOWNER=MichaIng
#------------------------------------------------------------------------------------------------------

##### Settings, automatically added by dietpi-update

#------------------------------------------------------------------------------------------------------
  1. Write the given text to (boot volume)/dietpi.txt and (main partition)/boot/dietpi.txt
  2. Change the following in the (boot volume)/dietpi-wifi.txt
aWIFI_SSID[0]=[Redacted]
aWIFI_KEY[0]=[Redacted]
aWIFI_KEYMGR[0]='WPA-PSK'

Expected behaviour

  • Headless Installation and instant access via ssh

Actual behaviour

  • No connection to the hotspot wifi (checking the connected devices from my phone)

Extra details

  • I am trying to install DietPi OS to my RaspberryPi Zero 2 W. I don’t have a monitor so I want to access my system via ssh using my mobile hotspot. I did some research however I couldn’t solve this issue. The solutions I have found in this site so far was almost 10 years old and wasn’t fruitful. I have this addon board however I believe it only works with ethernet. Also I had to remove all external links in the config while putting it in the forum because I am not allowed to give more than 2 links. They are all shown as -removed but they are present in my config.

this is not needed, just adjust dietpi.txt on the BootFS partition

did you use any special characters on the password? just try something simple.

If possible try connecting a screen to check what is going on.

I’m assuming BootFS partition is the one with the overlays folder. If so yes I have done that. It’s the one I called (boot volume).

There isn’t any special characters in the password. Just American alphabet letters and a few numbers.

Here is the old dietpi-firstboot.log file:

[ SUB1 ] DietPi-Set_swapfile > Applying 1 /var/swap
[ INFO ] DietPi-Set_swapfile | Disabling and deleting all existing swap files
[ .... ] DietPi-Set_swapfile | swapoff -a
[  OK  ] DietPi-Set_swapfile | swapoff -a
[  OK  ] DietPi-Set_swapfile | Free space check: path=/var/ | available=113850 MiB | required=1585 MiB
[  OK  ] DietPi-Set_swapfile | Generating new swap space
[ INFO ] DietPi-Set_swapfile | Size = 1585 MiB
[ INFO ] DietPi-Set_swapfile | Path = /var/swap
[ .... ] DietPi-Set_swapfile | fallocate -l 1585M /var/swap
[  OK  ] DietPi-Set_swapfile | fallocate -l 1585M /var/swap
[ .... ] DietPi-Set_swapfile | mkswap /var/swap
[  OK  ] DietPi-Set_swapfile | mkswap /var/swap
[ .... ] DietPi-Set_swapfile | swapon /var/swap
[  OK  ] DietPi-Set_swapfile | swapon /var/swap
[ .... ] DietPi-Set_swapfile | chmod 0600 /var/swap
[  OK  ] DietPi-Set_swapfile | chmod 0600 /var/swap
[ .... ] DietPi-Set_swapfile | eval echo '/var/swap none swap sw' >> /etc/fstab
[  OK  ] DietPi-Set_swapfile | eval echo '/var/swap none swap sw' >> /etc/fstab
[  OK  ] DietPi-Set_swapfile | Setting in /boot/dietpi.txt adjusted: AUTO_SETUP_SWAPFILE_SIZE=1585
[  OK  ] DietPi-Set_swapfile | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_SWAPFILE_LOCATION=/var/swap
[ INFO ] DietPi-Set_swapfile | Setting /tmp tmpfs size: 1024 MiB
[  OK  ] DietPi-Set_swapfile | Setting in /etc/fstab adjusted: tmpfs /tmp tmpfs size=1024M,noatime,lazytime,nodev,nosuid,mode=1777
[ .... ] DietPi-Set_swapfile | systemctl daemon-reload
[  OK  ] DietPi-Set_swapfile | systemctl daemon-reload
[ .... ] DietPi-Set_swapfile | mount -o remount /tmp
[  OK  ] DietPi-Set_swapfile | mount -o remount /tmp
[ SUB1 ] DietPi-Set_hardware > headless (disable)
[ .... ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*max_framebuffers=/c\#max_framebuffers=2 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*max_framebuffers=/c\#max_framebuffers=2 /boot/firmware/config.txt
[ .... ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*hdmi_ignore_hotplug=/c\#hdmi_ignore_hotplug=0 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*hdmi_ignore_hotplug=/c\#hdmi_ignore_hotplug=0 /boot/firmware/config.txt
[ .... ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*enable_tvout=/c\#enable_tvout=0 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*enable_tvout=/c\#enable_tvout=0 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_HEADLESS=0
[  OK  ] headless (disable) | Completed
[ .... ] DietPi-Change_hostname | hostname [redaceted]
[  OK  ] DietPi-Change_hostname | hostname [redacted]
[ .... ] DietPi-Change_hostname | eval echo '[redacted]' > /etc/hostname
[  OK  ] DietPi-Change_hostname | eval echo '[redacted]' > /etc/hostname
[  OK  ] DietPi-Change_hostname | Setting in /etc/hosts adjusted: 127.0.1.1 [redacted]
[  OK  ] DietPi-Change_hostname | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_NET_HOSTNAME=[redacted]
[ SUB1 ] DietPi-Set_software > apt-mirror (https://deb.debian.org/debian)
[ .... ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt trixie main' > /etc/apt/sources.list.d/dietpi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt trixie main' > /etc/apt/sources.list.d/dietpi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://archive.raspberrypi.com/debian trixie main' > /etc/apt/sources.list.d/raspi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://archive.raspberrypi.com/debian trixie main' > /etc/apt/sources.list.d/raspi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware' > /etc/apt/sources.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware' > /etc/apt/sources.list
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: CONFIG_APT_DEBIAN_MIRROR=https://deb.debian.org/debian
[  OK  ] apt-mirror (https://deb.debian.org/debian) | Completed
Initializing machine ID from random generator.
[ SUB1 ] DietPi-Set_hardware > keyboard (autosetup)
[ INFO ] DietPi-Set_hardware | dpkg-reconfigure -f noninteractive keyboard-configuration, please wait...
[  OK  ] DietPi-Set_hardware | dpkg-reconfigure -f noninteractive keyboard-configuration
[ INFO ] DietPi-Set_hardware | setupcon --save, please wait...
[  OK  ] DietPi-Set_hardware | setupcon --save
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_KEYBOARD_LAYOUT=us
[  OK  ] keyboard (us) | Completed
removed '/etc/dropbear/dropbear_ecdsa_host_key'
Generating 256 bit ecdsa key, this may take a while...
Save public key to /etc/dropbear/dropbear_ecdsa_host_key.pub failed: File exists
Public key portion is:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBErt2ZpNCtjHQO9iA0I/Qz3NLpmMp9Y3LBDbl78WOzVy0BW65c7KUui/dEUJPFDDVryVJDYN/CN9664krdCIqGM= root@[redacted]
Fingerprint: SHA256:ETMjKRSF+AogJcnpCD6SXezAfhJL8jkuGEb6nts7/FQ
removed '/etc/dropbear/dropbear_ed25519_host_key'
Generating 256 bit ed25519 key, this may take a while...
Save public key to /etc/dropbear/dropbear_ed25519_host_key.pub failed: File exists
Public key portion is:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDxU9/F4FNdvkHSxOvjRlVjAFbczJUmkoFl+XSjp6AAL root@[redacted]
Fingerprint: SHA256:G/+ylsn+t0F3nxysCJ2UOW/g7qbeG6JmrmisARiLElw
removed '/etc/dropbear/dropbear_rsa_host_key'
Generating 2048 bit rsa key, this may take a while...
Save public key to /etc/dropbear/dropbear_rsa_host_key.pub failed: File exists
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCduhQMNcTwdTgSVyOHqGeHl/fv+NcbBxMZ9BztAMCTzs52U7oYaIBRyqWENnMvv9cNBlya5bee7ZeeR35nVwduIUHXgNF0ndGdswQp9lPxVdRVIN7B9RU43E3F1n/QlsKU13RUy2AfkM7NidV42OD18g+dcl3FzjKozzQA3sY+1y4fJ1ZMhUvE/qBjKAHOOYk0KVOhCPXm82EdGXIzTDIF1TY4r4YCJA82bZs/bj4pBwb/v4zeI+zWugzFwvL5I9EsJbBOmSMPnJXpMX6hvcUQ1odYE3TyD+4omaH9ohN7zba8h+1vZIF8RILI8reDwr07r7gqn7qWle7NlzDzbwv root@[redacted]
Fingerprint: SHA256:p07Z1+OhzOLImlhG/4iIKfZVY/Y9gJyvDrmgC01+Mmw
[ SUB1 ] DietPi-Set_software > add_ssh_pubkeys
[  OK  ] add_ssh_pubkeys | Completed
[ SUB1 ] DietPi-Set_software > disable_ssh_password_logins
[  OK  ] DietPi-Set_software | Comment in /etc/default/dropbear converted to setting: DROPBEAR_EXTRA_ARGS=""
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: SOFTWARE_DISABLE_SSH_PASSWORD_LOGINS=0
[  OK  ] disable_ssh_password_logins (0) | Completed
[ SUB1 ] DietPi-Set_hardware > eth-forcespeed (disable)
[  OK  ] eth-forcespeed (disable) | Completed
[ .... ] DietPi-WiFiDB | mv /boot/dietpi-wifi.txt /var/lib/dietpi/dietpi-wifi.db
[  OK  ] DietPi-WiFiDB | mv /boot/dietpi-wifi.txt /var/lib/dietpi/dietpi-wifi.db
[ .... ] DietPi-WiFiDB | mkdir -p /etc/wpa_supplicant
[  OK  ] DietPi-WiFiDB | mkdir -p /etc/wpa_supplicant
[ .... ] DietPi-WiFiDB | eval > /var/lib/dietpi/dietpi-wifi.db
[  OK  ] DietPi-WiFiDB | eval > /var/lib/dietpi/dietpi-wifi.db
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 0 with SSID "[redacted]"
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 1 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 2 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 3 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 4 with SSID ""
[ .... ] DietPi-WiFiDB | chown 0:0 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[  OK  ] DietPi-WiFiDB | chown 0:0 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[ .... ] DietPi-WiFiDB | chmod 600 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[  OK  ] DietPi-WiFiDB | chmod 600 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[ SUB1 ] DietPi-Set_hardware > wificountrycode
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/wpa_supplicant/wpa_supplicant.conf was already set: country=HU
[ .... ] DietPi-Set_hardware | iw reg set HU
[  OK  ] DietPi-Set_hardware | iw reg set HU
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_NET_WIFI_COUNTRY_CODE=HU
[  OK  ] wificountrycode (HU) | Completed
[ SUB1 ] DietPi-Set_hardware > enableipv6 (enable)
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ::1 localhost ip6-localhost ip6-loopback
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ff02::1 ip6-allnodes
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ff02::2 ip6-allrouters
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: CONFIG_ENABLE_IPV6=1
[  OK  ] enableipv6 (enable) | Completed
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/e4:5f:01:98:3a:91
Sending on   LPF/wlan0/e4:5f:01:98:3a:91
Sending on   Socket/fallback
Created duid "\000\001\000\0011]\344\375\344_\001\230:\221".
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[ SUB1 ] DietPi-Set_software > boot_wait_for_network (1)
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_BOOT_WAIT_FOR_NETWORK=1
[  OK  ] boot_wait_for_network (1) | Completed
[ SUB1 ] DietPi-Set_software > timesync-mirror
[ .... ] DietPi-Set_software | rm /etc/systemd/timesyncd.conf
[  OK  ] DietPi-Set_software | rm /etc/systemd/timesyncd.conf
[  OK  ] timesync-mirror | Completed
Removed '/etc/systemd/system/multi-user.target.wants/dietpi-firstboot.service'.

I deleted this log file to see a new one gets created and noticed that a new one isn’t getting created. This log file must be old because it had the old name of my SSID.

well the board is not getting an IP address. Hard to tell what the reason might be without access to the system. Sometimes it’s the wifi channel if it’s to high. Sometimes wrongly added wifi network credentials.

I have reinstalled dietpi and got a new dietpi-firstboot.log

[ SUB1 ] DietPi-Set_swapfile > Applying 1585 /var/swap
[ INFO ] DietPi-Set_swapfile | Disabling and deleting all existing swap files
[ .... ] DietPi-Set_swapfile | swapoff -a
[  OK  ] DietPi-Set_swapfile | swapoff -a
[  OK  ] DietPi-Set_swapfile | Free space check: path=/var/ | available=113850 MiB | required=1585 MiB
[  OK  ] DietPi-Set_swapfile | Generating new swap space
[ INFO ] DietPi-Set_swapfile | Size = 1585 MiB
[ INFO ] DietPi-Set_swapfile | Path = /var/swap
[ .... ] DietPi-Set_swapfile | fallocate -l 1585M /var/swap
[  OK  ] DietPi-Set_swapfile | fallocate -l 1585M /var/swap
[ .... ] DietPi-Set_swapfile | mkswap /var/swap
[  OK  ] DietPi-Set_swapfile | mkswap /var/swap
[ .... ] DietPi-Set_swapfile | swapon /var/swap
[  OK  ] DietPi-Set_swapfile | swapon /var/swap
[ .... ] DietPi-Set_swapfile | chmod 0600 /var/swap
[  OK  ] DietPi-Set_swapfile | chmod 0600 /var/swap
[ .... ] DietPi-Set_swapfile | eval echo '/var/swap none swap sw' >> /etc/fstab
[  OK  ] DietPi-Set_swapfile | eval echo '/var/swap none swap sw' >> /etc/fstab
[  OK  ] DietPi-Set_swapfile | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_SWAPFILE_SIZE=1585
[  OK  ] DietPi-Set_swapfile | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_SWAPFILE_LOCATION=/var/swap
[ INFO ] DietPi-Set_swapfile | Setting /tmp tmpfs size: 1024 MiB
[  OK  ] DietPi-Set_swapfile | Setting in /etc/fstab adjusted: tmpfs /tmp tmpfs size=1024M,noatime,lazytime,nodev,nosuid,mode=1777
[ .... ] DietPi-Set_swapfile | systemctl daemon-reload
[  OK  ] DietPi-Set_swapfile | systemctl daemon-reload
[ .... ] DietPi-Set_swapfile | mount -o remount /tmp
[  OK  ] DietPi-Set_swapfile | mount -o remount /tmp
[ SUB1 ] DietPi-Set_hardware > headless (enable)
[  OK  ] DietPi-Set_hardware | Comment in /boot/firmware/config.txt converted to setting: max_framebuffers=0
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/firmware/config.txt was already set: disable_splash=1
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/firmware/config.txt was already set: hdmi_blanking=1
[  OK  ] DietPi-Set_hardware | Comment in /boot/firmware/config.txt converted to setting: hdmi_ignore_hotplug=1
[ .... ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*enable_tvout=/c\#enable_tvout=0 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | sed --follow-symlinks -i /^[[:blank:]]*enable_tvout=/c\#enable_tvout=0 /boot/firmware/config.txt
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_HEADLESS=1
[  OK  ] headless (enable) | Completed
[ .... ] DietPi-Change_hostname | hostname [Redacted]
[  OK  ] DietPi-Change_hostname | hostname [Redacted]
[ .... ] DietPi-Change_hostname | eval echo '[Redacted]' > /etc/hostname
[  OK  ] DietPi-Change_hostname | eval echo '[Redacted]' > /etc/hostname
[  OK  ] DietPi-Change_hostname | Setting in /etc/hosts adjusted: 127.0.1.1 [Redacted]
[  OK  ] DietPi-Change_hostname | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_NET_HOSTNAME=[Redacted]
[ SUB1 ] DietPi-Set_software > apt-mirror (https://deb.debian.org/debian)
[ .... ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt trixie main' > /etc/apt/sources.list.d/dietpi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt trixie main' > /etc/apt/sources.list.d/dietpi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://archive.raspberrypi.com/debian trixie main' > /etc/apt/sources.list.d/raspi.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://archive.raspberrypi.com/debian trixie main' > /etc/apt/sources.list.d/raspi.list
[ .... ] DietPi-Set_software | eval echo 'deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware' > /etc/apt/sources.list
[  OK  ] DietPi-Set_software | eval echo 'deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware' > /etc/apt/sources.list
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: CONFIG_APT_DEBIAN_MIRROR=https://deb.debian.org/debian
[  OK  ] apt-mirror (https://deb.debian.org/debian) | Completed
Initializing machine ID from random generator.
[ SUB1 ] DietPi-Set_hardware > keyboard (autosetup)
[ INFO ] DietPi-Set_hardware | dpkg-reconfigure -f noninteractive keyboard-configuration, please wait...
[  OK  ] DietPi-Set_hardware | dpkg-reconfigure -f noninteractive keyboard-configuration
[ INFO ] DietPi-Set_hardware | setupcon --save, please wait...
[  OK  ] DietPi-Set_hardware | setupcon --save
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_KEYBOARD_LAYOUT=us
[  OK  ] keyboard (us) | Completed
removed '/etc/dropbear/dropbear_ecdsa_host_key'
Generating 256 bit ecdsa key, this may take a while...
Save public key to /etc/dropbear/dropbear_ecdsa_host_key.pub failed: File exists
Public key portion is:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIH77/pF6Hex9JQacUQv5HhsprZKm+8ooS2YU2KvlKL0uhO58JegVbZiVfmowiuwgQDSKmj0HOnphd5AMZY23jo= root@[Redacted]
Fingerprint: SHA256:24XDkkLjjD17JY/ts6awQlQGEgbn/8kBJ26RERymdBA
removed '/etc/dropbear/dropbear_ed25519_host_key'
Generating 256 bit ed25519 key, this may take a while...
Save public key to /etc/dropbear/dropbear_ed25519_host_key.pub failed: File exists
Public key portion is:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4+XQIzPlfYaMmixuJ+ek2yIjDWE/EoCCkPYQuoMplA root@[Redacted]
Fingerprint: SHA256:yBHFUR1C9ZJZhrJoPb9cUbxDu9tghApDKL4pbeD894M
removed '/etc/dropbear/dropbear_rsa_host_key'
Generating 2048 bit rsa key, this may take a while...
Save public key to /etc/dropbear/dropbear_rsa_host_key.pub failed: File exists
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCJqdr/CuSPXjjqrDa/O4Xk+olPub3Hj7u4M6uasXTfanNC2IzmvHcEKaTMaj5zfU4C+PfJbEoVJIds8dxdNiJTsWbLZZIdCSO+yIs8eivpgdhz78O+BMMpwABlDNWg9He0eBN5qQk0t3ROt/bYH7PpREiZ9E5TJ+zUbAyuo/4DxhdGTVLsk/btbNO+5tW5Tg7LVA43y1cId/TqL81NHWtjXrvI88eHQUQHmx80Uv1OzV2/ZPlIAr4uzPVaTmIswYftebt3mEiuQn44xomcmPRO5cKchoptQfnCmOhXYX83fmwyQm2efjmLrSZLPS7hwWIvadyo0o+6zebZlBzI2Kzl root@[Redacted]
Fingerprint: SHA256:qaL0w5CJTVPOjoicUbfKZwPDcIcf6ax6r5+/i6MgsUk
[ SUB1 ] DietPi-Set_software > add_ssh_pubkeys
[  OK  ] add_ssh_pubkeys | Completed
[ SUB1 ] DietPi-Set_software > disable_ssh_password_logins
[  OK  ] DietPi-Set_software | Comment in /etc/default/dropbear converted to setting: DROPBEAR_EXTRA_ARGS=""
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: SOFTWARE_DISABLE_SSH_PASSWORD_LOGINS=0
[  OK  ] disable_ssh_password_logins (0) | Completed
[ SUB1 ] DietPi-Set_hardware > eth-forcespeed (disable)
[  OK  ] eth-forcespeed (disable) | Completed
[ .... ] DietPi-WiFiDB | mv /boot/dietpi-wifi.txt /var/lib/dietpi/dietpi-wifi.db
[  OK  ] DietPi-WiFiDB | mv /boot/dietpi-wifi.txt /var/lib/dietpi/dietpi-wifi.db
[ .... ] DietPi-WiFiDB | mkdir -p /etc/wpa_supplicant
[  OK  ] DietPi-WiFiDB | mkdir -p /etc/wpa_supplicant
[ .... ] DietPi-WiFiDB | eval > /var/lib/dietpi/dietpi-wifi.db
[  OK  ] DietPi-WiFiDB | eval > /var/lib/dietpi/dietpi-wifi.db
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 0 with SSID "[Redacted]"
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 1 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 2 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 3 with SSID ""
[ INFO ] DietPi-WiFiDB | Applied WiFi DB slot 4 with SSID ""
[ .... ] DietPi-WiFiDB | chown 0:0 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[  OK  ] DietPi-WiFiDB | chown 0:0 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[ .... ] DietPi-WiFiDB | chmod 600 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[  OK  ] DietPi-WiFiDB | chmod 600 /var/lib/dietpi/dietpi-wifi.db /etc/wpa_supplicant/wpa_supplicant.conf
[ SUB1 ] DietPi-Set_hardware > wificountrycode
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/wpa_supplicant/wpa_supplicant.conf was already set: country=HU
[ .... ] DietPi-Set_hardware | iw reg set HU
[  OK  ] DietPi-Set_hardware | iw reg set HU
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_NET_WIFI_COUNTRY_CODE=HU
[  OK  ] wificountrycode (HU) | Completed
[ SUB1 ] DietPi-Set_hardware > enableipv6 (enable)
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ::1 localhost ip6-localhost ip6-loopback
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ff02::1 ip6-allnodes
[  OK  ] DietPi-Set_hardware | Desired setting in /etc/hosts was already set: ff02::2 ip6-allrouters
[  OK  ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: CONFIG_ENABLE_IPV6=1
[  OK  ] enableipv6 (enable) | Completed
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/e4:5f:01:98:3a:91
Sending on   LPF/wlan0/e4:5f:01:98:3a:91
Sending on   Socket/fallback
Created duid "\000\001\000\0011]\344\374\344_\001\230:\221".
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPOFFER of 0:0:0:0 from 0:0:0:0
DHCPREQUEST for 0:0:0:0 on wlan0 to 255.255.255.255 port 67
DHCPACK of 0:0:0:0 from 0:0:0:0
bound to 0:0:0:0 -- renewal in 1458 seconds.
[ SUB1 ] DietPi-Set_software > boot_wait_for_network (1)
[  OK  ] DietPi-Set_software | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_BOOT_WAIT_FOR_NETWORK=1
[  OK  ] boot_wait_for_network (1) | Completed
[ SUB1 ] DietPi-Set_software > timesync-mirror
[ .... ] DietPi-Set_software | rm /etc/systemd/timesyncd.conf
[  OK  ] DietPi-Set_software | rm /etc/systemd/timesyncd.conf
[  OK  ] timesync-mirror | Completed
Removed '/etc/systemd/system/multi-user.target.wants/dietpi-firstboot.service'.

Everything looks ok this time I’m assuming however, I still cannot connect using ssh root@0:0:0:0 however ping 0:0:0:0 (i have change all the numbers to 0 just for the forum) works fine. Perhaps there is a problem with my host?
I’m on Linux Mint, everything is upto date and system itself is the latest version with extended kernel.

Your system got an IP 10.x.x.7 address and all should be fine. Maybe your mobile phone hotspot is preventing communication between clients?

Welp… Just leaked my IP. Anyway, hotspot is set to 2.4G just to be safe instead of 5G and has a WPA2-Personal security. Anything I should change depending on these?

Also can you remove my IP from your previous message, I will remove from mine too.

Edit: I think the problem is resolved. I have done something extremely stupid. My IP ends with 7 and not 8. When you told me my IP I figured I have written it wrong… I am so sorry about the headache I caused. Thank you.

10.x.x.7 is a private IP address, and it cannot be accessed directly from the internet. There is no reason to worry about leaking your privat IP.

The IP address 10.x.x.7 falls within the Class A private network range. According to the standards set by the Internet Assigned Numbers Authority (IANA), there are three main blocks reserved for private use:

Class IP Range Total Addresses
Class A 10.0.0.0 – 10.255.255.255 16,777,216
Class B 172.16.0.0 – 172.31.255.255 1,048,576
Class C 192.168.0.0 – 192.168.255.255 65,536

Since your IP starts with 10., it is strictly for internal use within a home, office, or enterprise network. Private IP addresses are non-routable on the public internet. This means that if someone on the other side of the world tried to “ping” or connect to 10.x.x.7, their request would fail because internet routers are programmed to ignore these private ranges.

1 Like