silkysmooth
Posts: 1
Joined: Wed Jan 13, 2021 7:33 am

Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 7:40 am

Hey my zero w will not connect to my wifi, I checked my .config file and i'm pretty sure nothings wrong with it. Pls note, my wifi ssid has a space in it...is there a special character I need to use?

Code: Select all

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

network={
	ssid=“lincoln street”
	psk=“redacted”
	key_mgmt=WPA-PSK
}

fanoush
Posts: 705
Joined: Mon Feb 27, 2012 2:37 pm

Re: Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 3:11 pm

those strange quotes you have there look fishy, try "xx" instead of “xx”

Dragontail281
Posts: 47
Joined: Thu Mar 07, 2019 8:56 pm

Re: Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 3:57 pm

You could try the underscore _ instead of a space.
RPI3B+ - Raspberry Pi OS -general "playing" and/or RetroPi
RPI0W#1 - MotionEyeOS - yard surveillance
RPI0W#2 - Driveway gate monitor - coming soon
RPI0W#3 - ?????

User avatar
DougieLawson
Posts: 40791
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 4:02 pm

Dragontail281 wrote:
Wed Jan 13, 2021 3:57 pm
You could try the underscore _ instead of a space.
Why? When the problem is the unicode quotes rather than plain ASCII quotes. The SSID still needs to be in quote marks.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Dragontail281
Posts: 47
Joined: Thu Mar 07, 2019 8:56 pm

Re: Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 4:24 pm

DougieLawson wrote:
Wed Jan 13, 2021 4:02 pm
Dragontail281 wrote:
Wed Jan 13, 2021 3:57 pm
You could try the underscore _ instead of a space.
Why? When the problem is the unicode quotes rather than plain ASCII quotes. The SSID still needs to be in quote marks.
I was unaware that there are different type of quotes available, as there is only 1 key for them on any keyboard I have ever used.
Just thought the space might be a problem considering as an underscore is used in place of a space in so many other places.
Still learning at this all myself.
RPI3B+ - Raspberry Pi OS -general "playing" and/or RetroPi
RPI0W#1 - MotionEyeOS - yard surveillance
RPI0W#2 - Driveway gate monitor - coming soon
RPI0W#3 - ?????

ShrimpsAndPrimeRib
Posts: 1
Joined: Tue Jan 12, 2021 10:12 pm

Re: Raspberry Pi Zero W not connecting to wifi

Wed Jan 13, 2021 6:39 pm

Try

Code: Select all

cat /sys/firmware/devicetree/base/model

There have been Zeros shipped as Zero W.
Just a thought.

Return to “Beginners”