Yesterday I received a Raspberry Zero W, that for approximately $10 include Wifi and Bluetooth (byebye dongles) but no Ethernet port.
This post contains the instructions for configuring the Raspberry Pi Zero W so that he connects to the wifi network at the first startup of Linux, without wasting time (after that, you can log on via SSH).
- Download Jessie Lite image from the official repository (5 min)
- Download Etcher and burn the image on SD card (5 min)
- Insert the SD card in your notebook and open the boot folder of the SD Card
- Create an (empty) file called ssh (this enable SSH on startup)
- Create a wpa_supplicant.conf file with the following content
network={
ssid="YOUR_WIFI_SSID"
psk="YOUR_WIFI_PASSWORD"
key_mgmt=WPA-PSK
}
Insert the SD in your Raspberry Pi Zero W, attach the power USB, connect your computer to the wifi, scan the network to find the raspberry IP address (i use lanscan on OSX) and you can connect via SSH (the default password is raspberry)
ssh pi@raspberrypi
wpa_supplicant.conf not wpa_supplicanf.conf
Thank you, updated 🙂
worked great, thank you
You’re welcome 🙂
for ssh the command line is:
ssh pi@raspberrypi
and password is raspberry
Is this placed in the Boot folder?
Yes, you must create the ssh file in the boot folder
I had to do the following to get a super long psk code which worked for me when my plain text password was failing. Note, I had to enter this command on a Pi I had already set up in order to get the code.
$ wpa_passphrase MYSSID passphrase
Replace MYSSID with the name of the network you’re trying to connect to.
works like a charm, i ordered the wrong hdmi adapter to my pi so this saved my bacon 🙂
Thanks, great work!!