I can't ssh to Raspberry Pi, even if I created empty ssh file
I have a new Raspberry Pi Zero WH, and I can't ssh to it no matter how I try
I have done following steps
- Using
rpi-imager
I have etched "Debian Bullseye with Desktop" to a brand new SD card - Using
ctrl
+shift
+x
I have selected enable SSH, locale details, and Wi-Fi details - After the
/boot
volume is created, I have added empty file namedssh
to/media/myUserName/boot
and awpa_supplicant.conf
with correct data - Ejected the SD card and implanted it in Raspberry Pi
- Connected Raspberry Pi to power. Wait until LED is no longer flashing (and then 20 mins, just in case).
- Using router client, I found the IP address of the Raspberry Pi (let's say
192.168.0.154
). I set it as reserved IP. I notice that the device is listed asunknown
and not asraspberrypi
, not sure if this is relevant - Using
ping 192.168.0.154
I verified that PI is there
Now ssh [email protected]
should connect to the Pi, but all I get is
ssh: connect to host 192.168.0.115 port 22: Connection refused
I have successfully used this computer to ssh
outside of my local network before. I haven't changed any settings (that I know of) since. I have tried from a different computer (running Windows), same error.
All answers I could find recommended step 3, but that didn't help me. What are my options now?
Solution 1:
The device you're trying to connect is mostlikely not the raspberry pi as the step your describe seems good but the device is named unknown
. If you don't see it on your router, it probably didn't connect to the Wifi.
For the first connection I would advise using a wired connection, so you are sure that the network connection is established and stable.