Thank you for visiting → Compete For Nothing.com ← If you find anything useful leave me a comment and share. Interested in Rapberry Pi, Arduino, C#, Unity3D, Game Creation, VB.NET, learning and most important of all Sharing!.
Close Notification
Open Notification

Raspberry Pi Zero Headless WiFi Setup Stretch

Raspberry Pi Zero Headless WiFi Setup Stretch
GARD Pro Not Registered

Raspberry Pi Zero W – Headless Wifi Problems?

Seems there are some changes required to get a Raspberry Pi Zero W setup headless when using Raspbian Stretch.

GARD Pro Not Registered

When using Rasbian Jessie you could simply create

inside /Boot

GARD Pro Not Registered
sudo nano wpa_supplicant.conf

and adding some basic information

GARD Pro Not Registered
eg.
network={
ssid=”YourNetworkName”
psk=”password”
key_mgmt=WPA-PSK
}

But as you have probably found out it does not work on Stretch.

 

So if using Raspbian Stretch you need this

inside /Boot

sudo nano wpa_supplicant.conf

Adding a fake network and a couple more lines is a quick work around.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AU
network={
ssid=”YourNetworkName”
psk=”password”
key_mgmt=WPA-PSK
}
#fake network workaround for headless Raspbian STRETCH
network={
ssid=”fakessid”
psk=”fakepass”
key_mgmt=WPA-PSK
}
I have also created an application for creating this automatically as I write LOTs of images to SD Card as I like to test on fresh Raspberry installs, especially with the Pi Zero as there are not many resources to “waste”.

Dogecoin
Donate Dogecoins: DGkJRWQCyBUeXbenYz18LRN9X67aora9nz Whats This?

Leave a reply