-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"no device" when starting wifi on RPi Zero 2 W on Jaspers image #2265
Comments
Sounds like a corrupted image. The whole point of @jawsper s image is because the 'official' motionEyeOS images don't have support for the wifi chip on the PiZero2W. |
Can you post your wpa_supplicant.conf file (blot out the SSID and password) |
The content of my wpa_supplicant.conf: `country=DE network={ and the extension is just .conf not .txt I downloaded the image again, and tried it with balenaEtcher and the Raspberry Pi Imager. No success. Is it possible that I do not have the same wifi chip as you? How can I check that? |
You are sure you have the PiZero2W card? What does it have for model number on the back? |
I'm pretty sure. I bought them here: https://www.elektor.de/raspberry-pi-zero-2-w Added some photos of one of the boards . |
Hi Derolly, I am facing very same issue. https://github.com/jawsper/motioneyeos/releases/download/20211113/motioneyeos-raspberrypi3.img.gz And here what is containing wpa_supplicant.conf file. I have used Linux enters "LF". country=CZ network={ |
For parsing issues, can you move the country=CZ to the 3rd line? |
Hi Starbasessd, just tested with the same result. Here is the config file: network={ Console output:
|
If it were an official image, I'd be questioning: |
Sorry, /dev/mncblko is my fault. I took a picture of the screen and did OCR. I can see "0" (zero) on the picture but OCR wrote it as "o". Again sorry for this confusing. |
Hi @MStcz, can you check if there's a file called |
Hi @jawsper, it is there. MD5 of the file is E3C5B4E88C84C8351E8FD44C4FCD652B. |
Hmm that matches the one I have. Have you tried running the official Raspberry Pi OS on this specific Pi, to rule out a hardware issue? |
On my two Pi zero 2 w the official Raspbian Buster runs perfect. Thats what I'm using motioneye on right now. But your image still does not work with both zero 2 w. |
This image is working with the same wpa_supplicant.conf config file. |
I'm having the same issue with zero results in changing the wpa_supplicant.conf (I've tried them all). I have another Pi Zero2 which is working fine. Using that image doesn't work either. The only difference between the Pi Zero2's are the version and chip serial. Working: version 1.5 with chip serial 210340G *edit Both are working fine with bullseye by the way. |
@dvandijk |
Ah that is very interesting! Seems there could be a new chip revision, possibly requires another rpi-firmware update. |
Interesting, the main CPU does seem to be identical, but perhaps they had to update the Wifi chip. I'll build an image with the latest firmware later tonight. |
@dvandijk Any chance you could get the identifying info off the silver WiFi chips? Please? |
@dvandijk Can you try this new version? https://github.com/jawsper/motioneyeos/releases/tag/20220119-dev |
(I'm not near my Pi so this image is not tested by me) |
I tried the image and can confirm that it works on my pi! Thank you @jawsper 👍 |
Can also confirm that it works! Thanks indeed @jawsper |
Hi @jawsper, great job, thank you for the solution. |
HI @jawsper, thank you for the build. It works for my PiZero2W when other builds would not. However, applying config changes to the camera with you build yields this error for my Remote MotionEye Camera. 2022-01-30 03:02:17: [motioneye] ERROR: 'privacy_mask' |
I do notice an inconsistent use of "/" leading (missing in the first 2 lines), maybe a bad edit? |
@jawsper thoughts? |
@jawsper Looks like this is a missing |
More debugging - I'm running a central server with MotionEye web frontend server and an attached MotionEyeOS camera. Configuring the camera directly from the camera IP it works fine. The request payload clearly has entries privacy_mask and privacy_mask_lines.
When I try to configure the camera from the MotionEye frontend server it throws the privacy_mask error. Here you can see the request payload is missing the privacy_mask attribute.
|
I'm running the local MotionEye server from a docker container. It's version is 0.42. There seems to be a mismatch in versions between these builds. Can you update the docker image with the latest version?
The camera is running version 0.42.1
|
How are you logging into the docker container to run meyectl -v? |
Nevermind. |
OK, Build Docker gives motionEye 0.42.1, but motion 4.1.1, and OS is Debian 10. Will look at it further... |
I do not have enough time to figure out how to add the binary from motion-project, rather than the default motion from the Debian 10 repo used by the docker build... Anyone want to make suggestions, I'll be happy to re-write the Install in Docker instructions to update them. It is much more viable for the 'average' user (read: script kiddie like me) to build the latest docker than build a motionEyeOS image. |
So the version of motioneye on motioneyeos doesn't seem to be actually 0.42.1, there just hasn't been a bump to the version numbers since then, but @ccrisan did update motioneye since then, and that privacy mask feature was added after the 0.42.1 release. The actual version is 1b04e8968c2a127b23341575ab80e9892893b576 |
dev20201026 does have the privacy mask option & 0.42.1, with motion 4.3.1. Privacy Mask in motion first appeared 4.1 |
Working on adding motion 4.3.2-1 to amd64 Dockerfile build. Suggestions on how to add 1b04e8968c2a127b23341575ab80e9892893b576? |
If there is any interest, I can try for updating to Bullseye, or including RPi specific changes, too... I am not anywhere near a Dev or Programmer, but want to extend usability as long as possible, and the docker container may be the way to go for motionEye. |
OK, have new Dockerfile working, gives Debian 10 (Buster) OS, latest motionEye (with Privacy Mask) and motion 4.3.2-1
Command to build:
command to run:
If someone would test it, and let me know it's working as expected, I will then add to Install in Docker documentation. |
@starbasessd i was able to build with the new Dockerfile and deploy the container. Everything appears to be working perfectly for me. MotionEye 0.42.1 (with Privacy Mask) and motion 4.3.2. My host operating system is Ubuntu 20.04. I was able to add and update cameras from MotionEye server. Looks good to me! Thank you for doing all the heavy lifting! |
Hi @jawsper, hi @starbasessd I found your build for motioneyeos rpi0 2 w, and I tried to run but it seems not connecting to wifi even if I tried a lot of times with different wpa_supplicant files. Then I found this topic about the two version of chip and realized that mine is a third one version! chip serial RP3A0-AU Thank you very much in advance |
Looks like this problem has raised its head again. Pi Zero 2W marked as version 4.6 |
hi @jawsper, I have a Raspberry pi zero 2w and I have the same problems as many, my wpa_supplicant file does not detect any service. I would like to know if it was possible to update motioneyes for rpi2w. My raspberry 2w is part of version 4.2. |
When trying to boot Jaspers Image for the Raspberry Pi Zero 2 W I get the following error:
` * Detecting disk device: /dev/mmcblk0
I get this error on 2 different boards with this image. Using the official Raspbian Image I do not get this error. I also tried this on 2 differently named wifi networks with the same result. When using a usb-to-network adapter it boots sucessfully. I checked then that the wpa_supplicant.conf was written correctly, and it was.
Any ideas? Maybe a missing driver or something?
The text was updated successfully, but these errors were encountered: