antennas
Posts: 20
Joined: Thu Sep 20, 2012 4:09 pm

Seriously, whats with wifi on Stretch Pi Zero W??

Mon Jun 04, 2018 9:48 pm

I have read a ton of threads on this and it seems no one can agree. But to me it seems like it is broken. I cannot get wifi to work on Stretch Lite on a Pi Zero W. Tried a lot of solutions but nothing is working. Is it broken or not and why won't someone with the Pi foundation chime in to say whether it is or not???

User avatar
DougieLawson
Posts: 35790
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Mon Jun 04, 2018 9:56 pm

It works perfectly on my RpiZW.

What OS are you running? What version of it?

If it's not Raspbian 2018-04-18 or NOOBS 2.8.1 then you need to build an SDCard with one of those two and re-run your testing.

ALL supported versions of Raspbian Stretch since Feb 2018 MUST have couuntry=XX (with your ISO country code) set in /etc/wpa_supplicant/wpa_supplicant.conf. Recent versions of Raspbian do NOT have ssh activated by default.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ejolson
Posts: 3402
Joined: Tue Mar 18, 2014 11:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Mon Jun 04, 2018 10:12 pm

DougieLawson wrote:
Mon Jun 04, 2018 9:56 pm
ALL supported versions of Raspbian Stretch since Feb 2018 MUST have couuntry=XX (with your ISO country code) set in /etc/wpa_supplicant/wpa_supplicant.conf.
Probably country=GB for Great Britain or country=US for the United States will work better than couuntry=XX.

WiFi on a Zero W also works for me, either with Raspbian lite or the full-fat version. Details are in this post about setting up a Pi Zero W as a Mathematica dongle.

LTolledo
Posts: 1763
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Jun 05, 2018 3:41 am

Got 1 RPiZ with USB dongle connected to the WiFi router.... no problems so far
Got 3 RPiZW connected to the Wifi router.... all systems green!

3 were all installed using NOOBs, one is microSD card transferred (by mistake) from RPi3 and it worked well.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

fscii
Posts: 6
Joined: Sun Mar 05, 2017 2:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 5:06 am

I wish I knew. I just got some and a bunch of stuff to do with them and am just starting to regret it. I didn't use NOOBS I am running Stretch on RPI3B+ and got stretch lite, like you, for the rpi zero 1.3 w (and wH). Made the img same as always, went into it using rpi3b+ and enabled uart on the config file, added an empty ssh file and then copied my actual conf file all to the /boot folder and no go. multiple times I shut down, moved it over to the big pi and fooled with the conf file following umpteen threads here.

I have it like this of course:

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

network={
ssid="your-networks-SSID"
psk="your-networks-password"
}

i continuously get the wlan0 NO CARRIER bla bla bla nonsense

even tried with the ssid scan and psk specifier. NADA. about to lose my sh*T here lol I don't mind a bit of elbow grease but seriously, this is absolutely absurd for a product on the mass market to be this much aggravation to even turn on and connect to wifi. I don't feel like 24hrs researching threads, 15hrs labor doing cards and self support forums when its simply power on and connect to wifi. Yes I get that going down a dark path can lead there but just power on and connect to wifi?!? This could be why I'm the only person I know who has them.

btw I have pi zero 1.3's, stretch lite 4-18-2018, type 0 negative blood and size 12 shoe if that helps

klricks
Posts: 6539
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 5:38 am

fscii wrote:
Sun Jun 24, 2018 5:06 am
I wish I knew. I just got some and a bunch of stuff to do with them and am just starting to regret it. I didn't use NOOBS I am running Stretch on RPI3B+ and got stretch lite, like you, for the rpi zero 1.3 w (and wH). Made the img same as always, went into it using rpi3b+ and enabled uart on the config file, added an empty ssh file and then copied my actual conf file all to the /boot folder and no go. multiple times I shut down, moved it over to the big pi and fooled with the conf file following umpteen threads here.

I have it like this of course:

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

network={
ssid="your-networks-SSID"
psk="your-networks-password"
}

i continuously get the wlan0 NO CARRIER bla bla bla nonsense

even tried with the ssid scan and psk specifier. NADA. about to lose my sh*T here lol I don't mind a bit of elbow grease but seriously, this is absolutely absurd for a product on the mass market to be this much aggravation to even turn on and connect to wifi. I don't feel like 24hrs researching threads, 15hrs labor doing cards and self support forums when its simply power on and connect to wifi. Yes I get that going down a dark path can lead there but just power on and connect to wifi?!? This could be why I'm the only person I know who has them.

btw I have pi zero 1.3's, stretch lite 4-18-2018, type 0 negative blood and size 12 shoe if that helps
Is your WIFI setup to 2.4GHz or mixed mode? The RPi ZW can't do 5GHz
If you have full access to the RPi with keyboard & display then there is no point in doing the blank ssh file or wpa_.... in /boot exercise. Just edit the files directly or use sudo raspi-config
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

fscii
Posts: 6
Joined: Sun Mar 05, 2017 2:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 5:47 am

I'm not sure what you mean by mixed mode can you explain? Although I may actually get what you mean now, its late and I remembered I have an ASUS which takes 5ghz, 5ghz and 2.4ghz and runs them all as one SSID. I think its killing my attempts to get Alexa into multi room mode (I can only get one per room and the other toggles whichever I choose) and now this may be my issue with the Zero?! hmmm is it the case that the RPI 3b+ handles it fine? I was under the impression that the device goes to the router and router says ah you're 2.4 here ya go... because even older stuff I have works fine?

fscii
Posts: 6
Joined: Sun Mar 05, 2017 2:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 5:52 am

On further review, tho all of my Ws and regulars are 1.3, the WH is 1.1.... is that a no go? Does anything change?
What's the difference?

klricks
Posts: 6539
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 6:09 am

fscii wrote:
Sun Jun 24, 2018 5:47 am
I'm not sure what you mean by mixed mode can you explain? Although I may actually get what you mean now, its late and I remembered I have an ASUS which takes 5ghz, 5ghz and 2.4ghz and runs them all as one SSID. I think its killing my attempts to get Alexa into multi room mode (I can only get one per room and the other toggles whichever I choose) and now this may be my issue with the Zero?! hmmm is it the case that the RPI 3b+ handles it fine? I was under the impression that the device goes to the router and router says ah you're 2.4 here ya go... because even older stuff I have works fine?
Regarding mixed mode I was thinking of network mode. bgn etc.
Make sure your 2.4GHz is turned on.
I think it would be best to give 2.4 and 5 different SSID and different pass phrase as well. I had trouble with other equipment when they were the same.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

sonettguy
Posts: 118
Joined: Wed Jan 10, 2018 7:29 pm
Location: texas, USA

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 1:16 pm

I felt this twinge of pain when you said you've tried a lot of solutions. It is a familiar pain to me, since I've been down the same path.

Here is an important quote for you and me for the future:
Re: Headless Zero W can't create wireless AP
ShiftPlusOne, Raspberry Pi Engineer & Forum Moderator Tue Jun 19, 2018 3:04 pm
The idea is that you should pick a network manager and stick with it. There were too many posts where people would follow tutorials which told them to configure ifupdown and then they'd wonder why dhcpcd is overriding their changes. Running wicd, ifupdown, networkmanager and dhcpcd all at once is not a good idea.
I've been working under the assumption that dhcp and Interfaces play well together. It seems they work against each other instead (in Raspbian Stretch and other current Debian releases). So, when one tries lots of things to solve a wireless network problem, a tangled web is created. I have started the practice of commenting-out code I've tried and hasn't worked, instead of simply deleting it. That helps me keep track of what I've tried when I go back two weeks later. (You should see my Interfaces file...hashtag city.)

fscii
Posts: 6
Joined: Sun Mar 05, 2017 2:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Sun Jun 24, 2018 8:45 pm

Regarding mixed mode I was thinking of network mode. bgn etc.
Make sure your 2.4GHz is turned on.
I think it would be best to give 2.4 and 5 different SSID and different pass phrase as well. I had trouble with other equipment when they were the same]
Yeah its bgn and the 5's AC. Asus intermingles them into 1 SSID for autmoatic load balancing and seriously it works pretty well though I always did it manually before. I was about to go undo that and then I remembered the cheap Range extender I got for a couple of printers so I entered in that info but no go. Then I realize omg the extender is set to SSID invisible because everyone outdoors kept trying to connect to it and its only like N150 so I hid it. Finally I got it to work on that. I don't get why it won't work on mixed mode tho. I have 8266 stuff that is on the merged SSID and it properly grabbed 2.4 I think pi and one lamp refused so far hmmm.

Anyway I got it to work I don't know how you nailed it first shot as I've seen plenty of threads guess everything BUT that, or I'd have tried it :)

I hope I can ask one noober question while I'm here. I'm making this pihole on a zero just because I've only done it once on the pi3b+ I just got recently and my cousin wants a zero pi hole. His IT experience is somewhere between a spider monkey and a 3rd grader :) Is there any type of file or script or installer.exe or something I can toss on it that makes it pop up available networks or something? I have it set to headless stretch lite. Or is there only one way to get 'er done and incidentally what way is that in case I have to do it here? Tysm!

oldunixguy
Posts: 6
Joined: Fri Aug 31, 2018 2:12 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Fri Oct 26, 2018 6:18 am

I am at Witts End with this. I have built many RPi3 systems headless with stretch lite, all without WiFi interfaces.

I just purchased a new RPi 0W. I downloaded the latest Stretch Lite. Created the microsd card like many times before for the RPi3. The new RPi0 PCB indicates this is version 1.1 hardware. I got this from the PiHut.

For the new RPi 0 I followed the straightforward instructions to create the /boot/wpa_supplicant.conf file with the parameters of my wifi system. 2.4ghz, hidden ssid, wpa-psk, chan 2. touched /boot/ssh like I did with the RPi3's...

I created a serial console for testing. It works fine.

When the RPi0 boots the wifi does not connect. The /boot/ssh is correctly removed and the ssh is enabled. The /boot/wpa_supplicant.conf is properly moved to /etc/wpa_supplicant/. But it will NOT connect.

I have spent over 8 hours trying all the many "suggestions" to get this client mode to work. NOTHING is working.

I set up an unused AP for 2.4ghz, chan 6, broadcasted the ssid and the RPi0 will not connect.

Looking at various log files offers absolutely NO help.

I know the RPi0 hardware works because when I do "iwlist wlan0 scan" ALL my 2.4 ghz AP are listed with all of the correct parameters. So the RPi0 wifi hardware can at least "see" all of these.

It appears from this thread and many other sites that I am not alone with this complete failure of the RPi0 to operate in client wifi mode.

What will it take for someone to provide diagnostics to discovery why these will not work? And definitive procedure to make this work? The forums and popular web sites offer false and contradictory information on how to make this client wifi work. I have tried dozens of the variations and NONE work. How about a simple and definitive procedure from the people who made this device?

regards
oldunixguy

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

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Fri Oct 26, 2018 10:31 am

oldunixguy wrote:
Fri Oct 26, 2018 6:18 am
I am at Witts End with this. I have built many RPi3 systems headless with stretch lite, all without WiFi interfaces.
...
What will it take for someone to provide diagnostics to discovery why these will not work?
Well, for me it would take finding one that actually doesn't work. Like many others here, all my Pi computers work great, including my Pi0W models. I have no trouble at all configuring headless boot with WiFi and SSH.

Please post the output of:

Code: Select all

cat /sys/firmware/devicetree/base/model;echo

Are you trying to set up an access point, or just connect your Pi0W to your network (for Internet access)?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

oldunixguy
Posts: 6
Joined: Fri Aug 31, 2018 2:12 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Fri Oct 26, 2018 5:10 pm

Thanks for the reply.

As I said in my post the mode I'm trying to use is client wifi, not access point. The output of the command you asked for is as I had already posted:
Raspberry Pi Zero W Rev 1.1

I have tried to connect to the first AP listed below (hidden ssid) and the second one, a separate test wifi AP. The included supplicant config is for the second AP.

while I'm at it here is other typical output:
[email protected]:/etc# iw wlan0 info
Interface wlan0
ifindex 2
wdev 0x1
addr b8:27:eb:f4:f5:45
type managed
wiphy 0
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 31.00 dBm

[email protected]:/etc# iwconfig wlan0
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

[email protected]:/etc# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 10:6F:3F:E7:98:EA
Channel:2
Frequency:2.417 GHz (Channel 2)
Quality=65/70 Signal level=-45 dBm
Encryption key:on
ESSID:""
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 80ms ago
IE: Unknown: 0000
IE: Unknown: 010882848B960C121824
IE: Unknown: 030102
IE: Unknown: 050400020000
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 3B025300
IE: Unknown: 2D1ACE111BFFFF000000000000000000000100000000000000000000
IE: Unknown: 3D1602050400000000000000000000000000000000000000
IE: Unknown: 7F080400000000000040
IE: Unknown: DD180050F2020101000003A4400027A4000042435E0062322F00

Cell 02 - Address: 10:6F:3F:28:96:48
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=62/70 Signal level=-48 dBm
Encryption key:on
ESSID:"BUF_G"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 80ms ago
IE: Unknown: 00054255465F47
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 3B025300
IE: Unknown: 2D1ACE111BFFFF000000000000000000000100000000000000000000
IE: Unknown: 3D1606050000000000000000000000000000000000000000
IE: Unknown: 7F080400000000000040
IE: Unknown: DD180050F2020101000003A4400027A4000042435E0062322F00
IE: Unknown: DD800050F204104A0001101044000102103B00010310470010D0D8D7C96D645F869CBB801243F5B26B1021000644442D5752541023000D575A522D48502D41473330304810240001301042000531323334351054000800060050F20400011011000B5045492D627566662D6E33100800020104103C0001011049000600372A000120

/etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
ssid="BUF_G"
psk="wvnypxv6w6xxh"
key_mgmt=WPA-PSK
scan_ssid=1
}

regards
oldunixguy

User avatar
bensimmo
Posts: 4152
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Fri Oct 26, 2018 7:27 pm

Just to add I have a PiZeroW where the WiFi is not seen, it isn't even acknowledge as having a WiFi interface, BT is there though and I can turn that on and off
I have to use an external USB the usb one is seen fine.
Tried various cards, all know good on another ZeroW and Pi3 and 3B+

My ZeroW came with a MagPi subscription some many months back, if that is of any use for stock.

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

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Mon Oct 29, 2018 9:45 am

@ bensimmo,

Have you tried the command I posted above?

The reason I ask is there were some improperly configured Pi0W models, and when you try cat /sys/firmware/devicetree/base/model;echo on one of those it returns the wrong ID (it says it's something like a model B v2). There is no fix for that (it needs to be exchanged for a new one).

oldunixguy wrote:
Fri Oct 26, 2018 5:10 pm
The output of the command you asked for is as I had already posted:
Raspberry Pi Zero W Rev 1.1
Thanks, just wanted to verify the software ID matched what was on the PCB (see above).

Since that is not your problem, then I can only speculate it's a problem with the wpa_supplicant.conf file (although that doesn't seem likely if it works on a Pi3), or some other configuration setting in your router.

Do you have any additional router/network security settings enabled (like MAC address filtering)?

Have you edited anything else on the Raspbian card, other than wpa_supplicant.conf and the ssh (or ssh.txt) file?

Does a card that fails to connect your Pi0W work in your Pi3B?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
bensimmo
Posts: 4152
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Mon Oct 29, 2018 7:21 pm

Actually I think I reply posted to the wrong thread, there was another similar one with WiFi not working (being seen as a device)
Like me it is a ZeroW and seen as such too.
Not the few that went out set wrong.

oldunixguy
Posts: 6
Joined: Fri Aug 31, 2018 2:12 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Mon Oct 29, 2018 11:19 pm

Having tried everything using stretch lite I decided to listen to a number of people on the internet who said "stretch's client wifi is broken, go back to jessie".
I loaded jessie lite, installed the same, simple wpa_supplicant.conf in /boot, touched /boot ssh and put this sd card into the pi 0 w. It came right up without any issues.

It is CLEAR that there is some client wifi mode problem with stretch lite. And its time for the developers to acknowledge this and fix it.

regards,
oldunixguy

jbudd
Posts: 948
Joined: Mon Dec 16, 2013 10:23 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Oct 30, 2018 12:47 am

It's certainly clear that while some people have no trouble at all getting the Zero W with Stretch Lite to connect to their wifi, other people have tried "LITERALLY EVERYTHING" without success.

It could be that some Zero Ws are faulty. It could be that Stretch Lite has a bug. It could be something in their wifi setup that doesn't like Stretch Lite.

If I was fortunate enough to be in the second group, after I'd tried literally everything else I would take the Pi, with appropriate wpa_supplicant.conf, and see if it would connect to a pal's wifi, or the coffee shop's.

oldunixguy
Posts: 6
Joined: Fri Aug 31, 2018 2:12 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Oct 30, 2018 1:36 am

Person jbudd,
I guess you didn't read the posts because I did create a separate test wifi access point to also test against. I also provided output showing it in addition to my production wifi. So stretch would not work with either of these routers. I suppose you could claim the brand new Pi 0 w has bad hardware but the tests and operation as expected using jessie indicate not. So either this hardware IS broken yet WORKS with jessie but NOT stretch.... not likely. My test wifi is fully controllable where some coffee shop's in the nearby city is not and might even be setup inappropriately making it a very poor test set. I don't know about you but I have been working with high performance networking and wifi for many decades. It has been my long experience that problems like this happen all the time much more so with software than hardware and must be reported and dealt with for otherwise people continue to struggle to have a working product.

regards,
oldunixguy

jbudd
Posts: 948
Joined: Mon Dec 16, 2013 10:23 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Oct 30, 2018 8:07 am

It appears from this thread and many other sites that I am not alone with this complete failure of the RPi0 to operate in client wifi mode.
No, you are not. And some people say they never have a problem. Doesn't mean Jessie Lite is bug free, doesn't mean you did something wrong.
I loaded jessie lite, installed the same, simple wpa_supplicant.conf in /boot, touched /boot ssh and put this sd card into the pi 0 w. It came right up without any issues.
OK so that rules out hardware problems with this specific Pi.
If you used the identical wpa_supplicant file (as opposed to typing it in again) then it also rules out problems with non-ascii characters such as word processor quotes in the file.

Is Jessie vs Stretch the only difference between the two tests? Apparently not: "I created a serial console for testing. It works fine."
I don't want to imply that this is the cause of your wifi problem, maybe you only did that in the course of trying to fix it.

"I set up an unused AP for 2.4ghz, chan 6, broadcasted the ssid and the RPi0 will not connect."
Yes but YOU set it up. I don't want to imply that there is anything unusual about the way you normally set up wifi, but trying with someone else's wifi could eliminate that.

I don't think you said whether you tried using the full Stretch with Desktop? Now that Wolfram is not included it's back to a reasonable size image and may be a viable work-around.
How about a simple and definitive procedure from the people who made this device?
The documentation is at https://www.raspberrypi.org/documentati ... ess-cli.md and https://www.raspberrypi.org/documentati ... eadless.md It's pretty basic. The most detailed and thorough tutorial I have seen is the one frequently posted by HawaiianPi.

If you could track down what in your setup triggers the failure then the software and/or the documentation could be changed to help others avoid it.

Kind regards and good luck
jb

oldunixguy
Posts: 6
Joined: Fri Aug 31, 2018 2:12 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Oct 30, 2018 8:32 am

the serial console was used during all tests. I described that even though the stretch lite would not work the serial console worked fine.
the extra "test" AP was used with factory defaults and the only change was to put it on channel 6. My production wifi is on channel 2.
I used the same installation procedure for both stretch lite starting from scratch and the same procedure with jessie.
Being that I used the same procedure and configuration on both I can't speculate why stretch doesn't work.
I followed the procedure provided by raspberrypi.org. I also "experimented" with other suggestions found around the web once stretch lite would not work. jessie lite worked without tinkering.
I have no use for the full installation and have many other rpi 3 running stretch lite but without wifi.
Besides others on the web suggested to go to jessie when they experienced the same problems... it seems they were right.

regards
oldunixguy

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

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Oct 30, 2018 8:47 am

oldunixguy wrote:
Mon Oct 29, 2018 11:19 pm
It is CLEAR that there is some client wifi mode problem with stretch lite. And its time for the developers to acknowledge this and fix it.
From your point of view it certainly seems that way, but it works fine for me and many others. ¯\_(ツ)_/¯ Seems odd that an OS bug would only affect a small group of people (although there was that race condition...).

Does a Raspbian Stretch SD card that fails to connect to WiFi in your Pi0W work in a Pi3B?

And vice-versa (does a working Pi3B card fail in your Pi0W)?

oldunixguy wrote:
Tue Oct 30, 2018 8:32 am
the extra "test" AP was used with factory defaults and the only change was to put it on channel 6.
Could you try it with everything default (including auto channel selection on the AP and Pi0W)?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

ejolson
Posts: 3402
Joined: Tue Mar 18, 2014 11:47 am

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Wed Oct 31, 2018 7:27 am

oldunixguy wrote:
Tue Oct 30, 2018 8:32 am
the serial console was used during all tests. I described that even though the stretch lite would not work the serial console worked fine.
the extra "test" AP was used with factory defaults and the only change was to put it on channel 6. My production wifi is on channel 2.
I used the same installation procedure for both stretch lite starting from scratch and the same procedure with jessie.
Being that I used the same procedure and configuration on both I can't speculate why stretch doesn't work.
I followed the procedure provided by raspberrypi.org. I also "experimented" with other suggestions found around the web once stretch lite would not work. jessie lite worked without tinkering.
I have no use for the full installation and have many other rpi 3 running stretch lite but without wifi.
Besides others on the web suggested to go to jessie when they experienced the same problems... it seems they were right.

regards
oldunixguy
Does your wpa_supplicant file look like

Code: Select all

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

network={
    ssid="your_real_wifi_ssid"
    scan_ssid=1
    key_mgmt=WPA-PSK
    psk="your_real_password"
}
including the country and the ctrl_interface lines? I believe the country line is not needed on Jessie but is on Stretch. It is also possible the ctrl_interface line changed between versions, but I don't remember for sure.

It is my experience that Stretch works but is irritatingly incompatible with Jessie in unnecessary ways.

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

Re: Seriously, whats with wifi on Stretch Pi Zero W??

Tue Nov 06, 2018 10:40 pm

ejolson wrote:
Wed Oct 31, 2018 7:27 am
including the country and the ctrl_interface lines? I believe the country line is not needed on Jessie but is on Stretch.
None of those first 3 lines are needed in Jessie. With Raspbian Jessie all you needed in wpa_supplicant.conf was,

Code: Select all

network={
	ssid="Your network SSID"
	psk="Your WPA/WPA2 security key"
}
It is also possible the ctrl_interface line changed between versions, but I don't remember for sure.
I'm pretty sure I haven't made any changes to my wpa_supplicant.conf file for a few years (other than updating the SSID & passphrase), so I don't believe there's any difference in that line.
Last edited by HawaiianPi on Sun Feb 03, 2019 4:41 am, edited 2 times in total.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Return to “Troubleshooting”