I was working with a Raspberry Pi Zero 2 W and a Raspberry Pi Camera 3, and the project had been running perfectly until yesterday.
Yesterday’s situation
Yesterday, I powered on the Pi and logged in successfully using SSH from CMD.
Since the Pi is headless, I also used WinSCP as a file manager, and both SSH and WinSCP connections were working fine.
I did not make any configuration changes or run anything significant. However, instead of shutting down the Pi properly using a command like sudo shutdown, I directly powered it off.
Today’s problem
When I tried to connect again:
First SD card reflash
I decided to reflash the SD card using Raspberry Pi Imager v2.0.3. and Pi OS Lite (32 Bit) same as old.
During flashing, I configured:
To troubleshoot further, I unplugged the Pi and noted all existing devices connected to my access point along with their MAC addresses.
I then reflashed the SD card again using:
Current state
Yesterday’s situation
Yesterday, I powered on the Pi and logged in successfully using SSH from CMD.
Since the Pi is headless, I also used WinSCP as a file manager, and both SSH and WinSCP connections were working fine.
I did not make any configuration changes or run anything significant. However, instead of shutting down the Pi properly using a command like sudo shutdown, I directly powered it off.
Today’s problem
When I tried to connect again:
- []SSH did not respond
[]WinSCP did not connect - The Pi did not connect to my Wi-Fi access point at all
- []Random green LED flashes during boot
[]Then a solid green LED - single flashes afterward but still random.
First SD card reflash
I decided to reflash the SD card using Raspberry Pi Imager v2.0.3. and Pi OS Lite (32 Bit) same as old.
During flashing, I configured:
- []Custom hostname
[]Wi-Fi credentials
[]SSH enabled
[]Username and password
- []Boot LED behavior was normal (random flashes, then solid green)
[]After waiting several minutes, ping hostname.local gave no response
To troubleshoot further, I unplugged the Pi and noted all existing devices connected to my access point along with their MAC addresses.
I then reflashed the SD card again using:
- []The same OS
[]A different hostname - Different SSH username and password
- []The hostname still did not respond
[]I noticed a new device connected to the access point
[]I verified its MAC address and recent connection time
[]I noted the assigned IP address
- []Ping to the IP address was successful
[]Ping to hostname.local did not work
[]SSH using hostname did not work
[]SSH using IP (ssh pi@<ip_address>) did connect
- []I was prompted to accept the host key (yes/no)
[]I was then prompted for a password
Current state
- []The Pi boots normally
[]It connects to the Wi-Fi access point
[]It receives an IP address
[]Hostname (.local) does not resolve
[]SSH only works via IP
[]SSH authentication fails with the configured password
- []Power cable
[]SD card
- []Why the Pi connects to Wi-Fi but hostname resolution (.local) does not work. it worked before few days when everything was right
[]Why SSH authentication does not accept the password set via Raspberry Pi Imager
[]Whether the improper power-off could have caused an inconsistent system state
[]Why this behavior persists even after reflashing the SD card.
[]And how to resolve this
Statistics: Posted by wrot — Thu Jan 15, 2026 5:40 pm — Replies 0 — Views 24