DEV Community

Discussion on: Headless Raspberry Pi Zero W Setup

Collapse
 
dclowd9901 profile image
David Drew • Edited

This didn't work for me. The unit would never connect to my network and seemed to act like the hardware was malfunctioning. I had to add some additional config to wpa_supplicant.conf:

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

network={
    ssid="NETWORK_NAME"
    psk="NETWORK_PASSWORD"
}

And on top of that, I had to edit /etc/network/interfaces to add the lines:

auto wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

where wlan0 represents the wireless interface.