PDA

View Full Version : PCP3.11 + Raspberry Pi Zero-W, onboard Wifi not working



Sylvania
2017-03-12, 03:23
Hi


I have just tried the new Raspberry Pi Zero-W's onboard Wifi on PCP 3.11. I get a boot message saying:

Checking wifi... wifi is on.
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
No wifi devices found!
ifconfig: wlan0: error fetching interface information: Device not found

i have tried to blacklist brcmfmac, but no luck..
Will the Zero's Wifi be supported in future releases?

best regards
Kim Olesen

albertone74
2017-03-12, 03:58
Hi


I have just tried the new Raspberry Pi Zero-W's onboard Wifi on PCP 3.11. I get a boot message saying:

Checking wifi... wifi is on.
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
No wifi devices found!
ifconfig: wlan0: error fetching interface information: Device not found

i have tried to blacklist brcmfmac, but no luck..
Will the Zero's Wifi be supported in future releases?

best regards
Kim Olesen

yep, be positive and read here http://forums.slimdevices.com/showthread.php?106755-Announce-piCorePlayer-3-10/page62

Sylvania
2017-03-12, 05:25
yep, be positive and read here http://forums.slimdevices.com/showthread.php?106755-Announce-piCorePlayer-3-10/page62

Thank you :-) That did it !

removed these files from sdcard (space needed):
bcm2708-rpi-b-plus.dtb
bcm2708-rpi-b.dtb
bcm2708-rpi-cm.dtb
bcm2709-rpi-2-b.dtb
bcm2710-rpi-3-b.dtb
bcm2710-rpi-cm3.dtb

copy files from 2017-03-02-raspbian-jessie-lite to sdcard:
bcm2708-rpi-0-w.dtb
bootcode.bin
fixup.dat
fixup_cd.dat
fixup_x.dat
start.elf
start_cd.elf
start_x.elf

removed the blacklist=brcmfmac from cmdline.txt and reboot..

Best regards
Kim

paul-
2017-03-12, 05:49
So it does work, that's great. I'm still waiting for my Zero-W to arrive.

We will update pCP so that it works out of the box soon (hopefully)

albertone74
2017-03-12, 05:51
Thank you :-) That did it !

removed these files from sdcard (space needed):
bcm2708-rpi-b-plus.dtb
bcm2708-rpi-b.dtb
bcm2708-rpi-cm.dtb
bcm2709-rpi-2-b.dtb
bcm2710-rpi-3-b.dtb
bcm2710-rpi-cm3.dtb

copy files from 2017-03-02-raspbian-jessie-lite to sdcard:
bcm2708-rpi-0-w.dtb
bootcode.bin
fixup.dat
fixup_cd.dat
fixup_x.dat
start.elf
start_cd.elf
start_x.elf

removed the blacklist=brcmfmac from cmdline.txt and reboot..

Best regards
Kim

That's great! Can you please explain what you meant by


removed the blacklist=brcmfmac from cmdline.txt

Reason being I have tried those steps but it didn't work for me.
Thanks.

paul-
2017-03-12, 06:16
That's great! Can you please explain what you meant by



Reason being I have tried those steps but it didn't work for me.
Thanks.

If you used a fresh pCP image, that blacklist line is not there. It was only added if you used an image and disabled the rpi3 wifi.

You may need to pull the files from a raspbian image that has a 4.4.y kernel. The github is already for 4.9.y

albertone74
2017-03-12, 06:53
If you used a fresh pCP image, that blacklist line is not there. It was only added if you used an image and disabled the rpi3 wifi.

You may need to pull the files from a raspbian image that has a 4.4.y kernel. The github is already for 4.9.y

Bingo!!
That did the trick indeed. When Kim said it worked for him I read again his post and he did say he copied the files from the 2017-03-02-raspbian-jessie-lite. Thanks Paul for pointing that out and thanks to Kim to share his findings.

All good now:cool:

Sylvania
2017-03-12, 10:59
Hi

Explanation :-) "removed the blacklist=brcmfmac from cmdline.txt"

I read somewhere that the driver needed to be blacklisted in the cmdline.txt.. that's it :-)

just copy bcm2708-rpi-0-w.dtb, bootcode.bin and all dat/elf files

cpd73
2017-03-12, 13:40
Hmm... Not working for me. Just to confirm I have done the following:


Flashed PCP 3.11 to SDCard
Mounted the 'PCP' volume in Ubuntu
Deleted all dtb files from 'PCP'
Copied bcm2708-rpi-0-w.dtb, bootcode.bin, fixup.dat, fixup_cd.dat, fixup_x.dat, start.elf, start_cd.elf start_x.elf from 2017-03-02-raspbian-jessie-lite.img
Downloaded newconfig.cfg from PCP google.site
Edited newconfig.cfg to turn wifi on, set SSID and password, encryption to WPA
Put newconfig.cfg onto 'PCP' volume
Put SD Card in Pi
Boot Pi - green light illuminates, and stays on
Checked on my router, and no new IPs registered :-(
newconfig.cfg still remains on SDCard - should PCP not remove this on startup?


Should the above work? Have I missed a step?

Greg Erskine
2017-03-12, 13:46
hi cpd73,

"newconfig.cfg" should be deleted or renamed when the RPi boots properly.

paul-
2017-03-12, 13:54
That is a pretty old config we should probably update it.

I would use that file, but delete everything after the wifi stuff. So the contents of your newconfig.cfg would be



#########################
# Edit the variables below to setup a wifi based system without LAN access
# Change Wifi to "on". Valid options for Encryption are "WEP", "WPA" or "OPEN"
WIFI="off"
SSID="wireless"
PASSWORD="password"
ENCRYPTION="WPA"
# End Wifi setup
##########################

albertone74
2017-03-12, 14:29
Hmm... Not working for me. Just to confirm I have done the following:


Flashed PCP 3.11 to SDCard
Mounted the 'PCP' volume in Ubuntu
Deleted all dtb files from 'PCP'
Copied bcm2708-rpi-0-w.dtb, bootcode.bin, fixup.dat, fixup_cd.dat, fixup_x.dat, start.elf, start_cd.elf start_x.elf from 2017-03-02-raspbian-jessie-lite.img
Downloaded newconfig.cfg from PCP google.site
Edited newconfig.cfg to turn wifi on, set SSID and password, encryption to WPA
Put newconfig.cfg onto 'PCP' volume
Put SD Card in Pi
Boot Pi - green light illuminates, and stays on
Checked on my router, and no new IPs registered :-(
newconfig.cfg still remains on SDCard - should PCP not remove this on startup?


Should the above work? Have I missed a step?

Hi cpd73,

This is exactly what I did. The only thing I have noticed though is that it takes a little bit for the RPiZero W to get an IP address assigned.

EDIT: I have also left the newconfig.cfg on the card. I am not being funny but did you make sure you put the right parameters in the newconfig.cfg? If you get a chance I would recommend you to connect the RPi to a screen/TV to see if it boots up properly.

albertone74
2017-03-12, 15:29
Hi

Explanation :-) "removed the blacklist=brcmfmac from cmdline.txt"

I read somewhere that the driver needed to be blacklisted in the cmdline.txt.. that's it :-)

just copy bcm2708-rpi-0-w.dtb, bootcode.bin and all dat/elf files

Thanks again for sharing your results!

cpd73
2017-03-12, 16:38
Hi cpd73,

This is exactly what I did. The only thing I have noticed though is that it takes a little bit for the RPiZero W to get an IP address assigned.

EDIT: I have also left the newconfig.cfg on the card. I am not being funny but did you make sure you put the right parameters in the newconfig.cfg? If you get a chance I would recommend you to connect the RPi to a screen/TV to see if it boots up properly.

I've tried the steps again, this time just having the required fields in newconfig.cfg. Now the Pi flashes for a bit at start-up (for 10 seconds?) - and then the light stays on. newconfig.cfg is now being removed - but still no IP address. Would try with a screen but I don't have a mini-hdmi cable.

Is the activity light supposed to remain green? Or does this mean the Pi has crashed? Perhaps I should try a new SDCard - but fsck shows no errors.

EDIT: OK, not sure what changed - but its now connecting! Thanks for all your help.

jdemarey
2017-03-15, 14:17
Hi I'm a new user of picoreplayer and pizero-w.

I follow the instructions and copied files from raspbian to picoreplayer.
I also create a newconfig.cfg file to auto configure wifi but I always receive this message during boot :

Attempting auto connection with AZERTY
error for wireless request "Set ESSUD" (8B1A) :
too few arguments.


I edit the file with VI on another picoreplayer with ethernet.

The file is joined within the post.

thx

Wetty
2017-03-24, 05:32
After copying all the files, the WLAN is working, but the pHAT DAC (as HIFIBERRY DAC) doesnt work any more. Someone any idea

paul-
2017-03-24, 13:18
pCP 3.11 does not officially support the ZeroW. Feel free to hack.

The zero uses the same chip, firmware and drivers as the rpi3B. So all of the compatibility issues with i2s still apply.

Sylvania
2017-03-26, 12:12
Hi

I did a clean install today.. did exactly as last time , but didn't check the cmdline.txt .
No ip this time. Checked the cmdline.txt and it has blacklist=brcmfmac at the end. Remove it and reboot.
Picoreplayer gets it ip :-)

Best regards

Sylvania
2017-03-26, 12:26
After copying all the files, the WLAN is working, but the pHAT DAC (as HIFIBERRY DAC) doesnt work any more. Someone any idea

I'm using a pHAT DAC ( pcm5102a ) with my Pi ZeroW , Picoreplayer setup to generic "PCM51XX" , and working :-)

best regards

Candlemass
2017-09-09, 16:19
I‘ve received my Pi Zero W today but it does not connect to Wifi. Should it work out of the Box with 3.21? Are whitespaces supported in the SSID?

paul-
2017-09-09, 16:33
3.11 does not support the zeroW

Candlemass
2017-09-10, 02:22
3.11 does not support the zeroW

But 3.21 does support Zero W?


Spaces will not work when using the newconfig method.

Any chance to get it working without having a monitor available?

EDIT: It works with 3.21 and SSID without spaces.

simoasis
2018-02-16, 14:09
Wifi on Pi zero w is not connecting, Any ideas how to fix on zero w? No spaces in ssid used, not working anyway. Tried all versions, incl. 3.20 😏

Greg Erskine
2018-02-16, 14:52
hi simoasis,

When sourceforge comes back, check out the help for wifi. It lists common issues.

http://picoreplayer.sourceforge.net/main_about.shtml

RPiZ-W is one of my test RPi so I know it works! :)

EDIT: Also, on the [ Wifi Settings ] page in [ Beta ] mode, there is a [ Diagnostics ] button that might help.

regards
Greg