notrum1234
Posts: 1
Joined: Fri Dec 15, 2017 4:45 pm

Raspberry Pi Headless - Wireless

Fri Dec 15, 2017 5:03 pm

Hi all,

I'm trying to get my rpi zero v1.2 installed with a headless install, then automatically connecting to the wifi. I've got rpi's up and running easily before however my pi just won't connect to the wifi?

I've followed tutorials on how to set up this up including:
- Creating a the bootable usb - (Raspbian Stretch Lite - Nov release)
- Creating a blank ssh file into the boot root
- Create a wpa_supplicant.conf file in the root. Using this config. My wireless is a WPA2-PSK. In the UK.

Code: Select all

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

network={
	ssid="BTHub*****"
	psk="**********"
	key_mgmt=WPA-PSK
}
Is there something I'm missing? Any pointers would really appreciated, been trying for many hours!

Thanks

wh7qq
Posts: 767
Joined: Thu Oct 09, 2014 2:50 am

Re: Raspberry Pi Headless - Wireless

Sat Dec 16, 2017 8:09 pm

Sent by WH7QQ from an RPi3/Raspbian/pixel desktop.

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

Re: Raspberry Pi Headless - Wireless

Sun Dec 17, 2017 10:41 am

notrum1234 wrote:
Fri Dec 15, 2017 5:03 pm
Hi all,

I'm trying to get my rpi zero v1.2 installed with a headless install, then automatically connecting to the wifi. I've got rpi's up and running easily before however my pi just won't connect to the wifi?

I've followed tutorials on how to set up this up including:
- Creating a the bootable usb - (Raspbian Stretch Lite - Nov release)
Are you trying to boot from a USB flash drive without an SD card? If so, you first have to boot with an SD card with a special entry in config.txt to enable USB boot. https://github.com/raspberrypi/document ... des/msd.md
My password is the last 8 digits of Pi.

User avatar
davidcoton
Posts: 2587
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Raspberry Pi Headless - Wireless

Sun Dec 17, 2017 11:53 am

HawaiianPi wrote:
Sun Dec 17, 2017 10:41 am
notrum1234 wrote:
Fri Dec 15, 2017 5:03 pm
Hi all,

I'm trying to get my rpi zero v1.2 installed with a headless install, then automatically connecting to the wifi. I've got rpi's up and running easily before however my pi just won't connect to the wifi?

I've followed tutorials on how to set up this up including:
- Creating a the bootable usb - (Raspbian Stretch Lite - Nov release)
Are you trying to boot from a USB flash drive without an SD card? If so, you first have to boot with an SD card with a special entry in config.txt to enable USB boot. https://github.com/raspberrypi/document ... des/msd.md
It's a Pi Zero -- it doesn't do USB only boot. The problem seems to be the WiFi only, not the boot. What is in the file /etc/wpa_supplicant/wpa_supplicant.conf? For Stretch, it should be:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
    ssid="testing"
    psk="testingPassword"
}
but with your own country code, ssid and password.
"If it ain't broke, fix it until it is."
“Raspberry Pi is a trademark of the Raspberry Pi Foundation”
The Pink Unicorn is a symbol of commitment to sensible discussion of future versions of the Raspberry Pi ™

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests