DEV Community

Discussion on: Headless Raspberry Pi Zero W Setup

Collapse
 
garyqess profile image
Gary Quinn

A piece of advice to anyone trying to connect your WiFi network to Rasp Pi Zero W:

I've just been through the process of setting up a Rasp Pi Zero W for WiFi connection.
I tried quite a few versions of wpa_supplicant.conf before I got it working.

Rather than going thru all the details (lots of notes about this on line), I'll just give one suggestion to anyone trying to set it up:
First check that it is connecting to your WiFi network by logging into your WiFi router and checking that the Pi is connected BEFORE you try and use putty. You should see "raspberrypi" in the list of connected devices.
Unless you see this, no point in trying to figure out why putty wasn't working.
The reason I'm saying this is my putty session never connected using "raspberrypi" as the host name as is should have according to many app notes.- I had to use the IP address.

So it's possible several of my earlier versions of wpa_supplicant.conf I may have actually been OK, but I never knew it.
Hope that's of use to someone.