norwestie
Posts: 10
Joined: Fri Feb 08, 2013 11:08 pm

Can't SSH int Zero W

Tue Jun 02, 2020 12:00 am

I just got a Pi Zero W. Using 2 different microSD cards and both Rasp Imager and Balena Etcher, adding the SSH and wpa_supplicant.conf files, it still can't be seen on my network. Being an amateur, I first tried Notepad++ to create a blank SSH doc and another for with my wifi info. I would boot the Pi and the LED would blink for a few minutes but not seen on my network. I pull the card and view in Win10. The 2 files weren't there. Redid, same problem. Next I created text files from within the desktop folder from the options in the header. Still nothing. What is my rookie mistake?

User avatar
HawaiianPi
Posts: 5838
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Can't SSH int Zero W

Tue Jun 02, 2020 12:11 am

Hard to say without seeing the files you created, or knowing exactly what you did.

If you have another Pi that is already configured for WiFi, you can copy the wpa_supplicant.conf file from /etc/wpa_supplicant/ and use it on any new cards you create.

Mine looks like this.

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
	ssid="WiFi SSID"
	psk="WPA/WPA2 passphrase"
}
Edit country=, ssid= and psk= with your information and save the file.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

norwestie
Posts: 10
Joined: Fri Feb 08, 2013 11:08 pm

Re: Can't SSH int Zero W

Tue Jun 02, 2020 12:38 am

I've done all that and it matches the online tutorials, as well.

trejan
Posts: 2119
Joined: Tue Jul 02, 2019 2:28 pm

Re: Can't SSH int Zero W

Tue Jun 02, 2020 12:43 am

The files disappearing is normal and it shows that the Pi is actually running.

Do you have spaces in the SSID or password? If it has spaces then you must put double quote marks around it.

norwestie
Posts: 10
Joined: Fri Feb 08, 2013 11:08 pm

Re: Can't SSH int Zero W

Tue Jun 02, 2020 12:45 am

Double quotes?!? When did this happen? I'll give that a try. Thank you!

norwestie
Posts: 10
Joined: Fri Feb 08, 2013 11:08 pm

Re: Can't SSH int Zero W

Tue Jun 02, 2020 1:10 am

That didn't help. I plugged the card into my Mac and saw a .txt on the suplicant file. I removed that and rebooted but still nothing.

norwestie
Posts: 10
Joined: Fri Feb 08, 2013 11:08 pm

Re: Can't SSH int Zero W

Tue Jun 02, 2020 4:47 am

I borrowed another Pi and installed a fresh OS and now it is connected!

Return to “Troubleshooting”