I have searched the existing open and closed issues
Required Information
DietPi version | 9.8
SBC model | Pi Zero 2W
Power supply used | Original Power Supply / USB Port Notebook
SD card used | SanDisk ultra 32Gb
Steps to reproduce
Freshly downloaded image
Written with Balena Etcher with success
Modified dietpi.txt and dietpi-wifi.txt as said in Docs
Power On - no Wifi Connection on 2,4 Ghz Network
Install doesn´t finish
When i connect to a Display there is nothing
Extra details
I also tried with static IP as described in the video
I installed original Raspberry Pi System with Raspberry Imager - NO Problems
I inserted same SD Card as initially described with DIETPI in an Raspberry Pi 3 B no Problems with install
The Power Supply is not the Problem
also i think the SSID and Password is not the Problem
What prevents the Pi Zero2 from connecting to my network with DietPi but not with the Raspian Image?
are you able to get access to the ext4 partition of the SD card? Placing the card into a different Linux device? There might be something with setup logs.
installed a programm disk genius to my laptop which can read ext4
searched the folders for logs
the only explicit log folder was in var/log and empty
maybe i need a bit guide what to look for
already did that. the install ended like normal - did an reboot all is fine
When i insert the card in the Pi Zero nothing happens like before
Don´t know if this is normal but if i go back to the PI3B the install begins again
If you are installing a Bookworm or Bullseye based version of DietPi on a Zero 2 w there is an issue in the Linux wireless drivers that can cause no connection. It is in both 32 and 64 bit installs. The issue is related to iNet Wireless Daemon (IWD).
You can confirm the issue is with IWD if you are connected to a monitor during the initial setup. You have to run the below commands to get connectivity.
The IWD issue has been an issue for at least 6 years and is in the Linux base and not a particular distro. I have had the issue in Raspberry Pi OS, DietPi (both Debian based) and Manjaro (Arch Linux based).
I’ve been playing around with a Zero 2 W these winter holidays and have been having this exact problem! I am restricted in only being able to connect headlessly over SSH.
Following @yakkoTDI’s suggestion I added the following to the func/dietpi-wifidb script so it could be set up on first boot.
[[ -f '/etc/modprobe.d/brcmfmac.conf' ]] || G_EXEC mkdir -p /etc/modprobe.d && echo "options brcmfmac roamoff=1 feature_disable=0x82000" | G_EXEC tee -a /etc/modprobe.d/brcmfmac.conf
However, after trying to replicate the issue, my Zero 2W now seems to connect to the Wifi without this change
I’m based in Japan, so unfortunately have a generic integrated router that is built into the apartment. I’m thinking my issues might just be router based.