-
Notifications
You must be signed in to change notification settings - Fork 888
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
Add support for Raspberry Pi Zero 2 W #2829
base: dev
Are you sure you want to change the base?
Conversation
jawsper
commented
Oct 30, 2021
- Updates for: kernel, rpi-firmware, rpi-wifi-firmware, v4l2loopback (needed for kernel 5.7+)
* Updates for: kernel, rpi-firmware, rpi-wifi-firmware, v4l2loopback (needed for kernel 5.7+)
I would like to use this with my Zero 2 W, is there a way I can compile a image myself. |
@vleeuwenmenno |
I downloaded @jawsper image make sure you name wifi config ".conf" most important part. any word on when this merge will happen? |
I successfully installed your img and it successfully booted my Pi Zero 2W into motioneyeOS (eventually after I creating the wpa_supplicant.conf file and ssh correctly!) However I stupidly click the "Check For Updates" and of course it downloaded and overwrote your setup installation and would not boot up afterwards! I can easily re-install but I guess we need this fix checked out and updated to the main repository soon. Thanks for your work. :-) Oh after rebooting and changing too a static IP - I lost the date and time from the NTP. This might be due to my setup but it was working under DHCP. |
@MarkJC67 It is always better to have your DHCP server issue a static (reserved) IP address, less chance of 'messing things up'. STATIC_IP="192.168.42.1/24" Change as appropriate for your network |
I downloaded the release image and wifi seems to be missing. WLAN0 interface is missing. I can use a USB network adaptor and boot. The only network interfaces present are lo and eth0. ---- booting motionEyeOS unknown ----
there is nothing in dmesg or messages that indicate anything failed. Any clues as to where to begin? |
@rickblair There is a build that works here: |
Perfect thanks!
…Sent from my iPhone
On Dec 31, 2021, at 12:56 PM, starbasessd ***@***.***> wrote:
@rickblair There is a build that works here:
#2827 (comment)
The issue for any 'official release' is that they are pre-release of the PiZeroW2, and buildroot doesn't support the other chips used on it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Created a new release updating |
@herdier0 Did you post then delete your post? |
I did, I was having this exact problems until I realized that my SSID was missing a character... Spent hours trying to understand the problem, to realizing that it was my totally my fault. |
So, how can we properly update to 20220119-dev if update button is wrong? |
@Gonioul Unfortunately, since it isn't a part of the Official issues, you need to do a backup, re-image, and restore data. |
Also, if the older version works on your Zero 2, there is no need to upgrade either |
I have the same issue as rickblair: #2829 (comment) New to all this, and no coding background. I have tried both images from jawsper, 2nd last gives the same as rickblair, latest gives this: *Starting rngd: done Anything i can do to make the wifi work on the zero 2 w ? Thanks in advance! |
@Rtitude did you include / add your wpa_supplicant.conf file to the /boot partition to activate wifi before inserting and starting the PiZero2W? |
I was 100% sure i did, turns out with trying different things i forgot, new flash and adding the wpa file it works now. |
@jawsper |
Hmm it's not currently working after updating to 5.15.34 (also updated rpi-firmware), it can't find the wifi adapter anymore... |
Not sure how the userland firmware parts are implemented in motionEyeOS, i.e. on Debian and Raspberry Pi OS one uses the And I'd also update everything for all RPi models, as otherwise there may be incompatibilities between |
That firmware comes via this repo: https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi, I also tried the repo linked in the readme from RPI-Distro, but that also doesn't find the wifi. I tried the same image on a regular Pi 3, also does not work anymore... |
Not sure about installed userland tools, e.g. does the |
got "panic: rebooting in 40 seconds (caused by network)" on my zero 2 w, and I'm pretty sure I created a wpa_supplicant.conf at the boot partition, the same path with config.txt, before the first boot. |
update: I tried #2875 too, same. |
It says right on that page that Wifi isn't working on that image. Use this |
You can just re-add the wpa_supplicant.conf file to the /boot partition, it should re-read it. |
tried 3 times with 20220119-dev, won't work ... |
2 usual causes ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev network={ country needs to be yours, in lower case. |
problem solved, god bless you! the conf's filename was fine because it got deleted every time, but if I make a copy of the conf file, that copy won't be deleted. ctrl_interface=/var/run/wpa_supplicant and it doesn't have the last line, which is: also, maybe because I edited the conf file with vim but not nano? I'm not sure. anyway, thanks, man! |
Use |
@MichaIng Have you confirmed in ThingOS? (in motionEyeOS/ThingOS/Buildroot, the final destination for /var/run and /run go to /tmp, at least in 20200606 and dev20201026) which is a ramdisk (tmpfs). Can't say I like this method... But I'm not a dev... |
Ah right, should be confirmed. I'm however pretty sure it points to the same directory since Probably both point to |
hi great script motioneyeos .. is it possible that some can make it work with the camera v3 ....maybe jawsper.... |
I've been playing around with various ways of getting a RPIØ2 to play nicely with a camera module 3 and home assistant/homekit. But to my novice skills it very much looks like the new OS are playing with me. Has anyone had better luck than me? |
I have tried this on a RPI Zero 2 W. And it does not work I have added the wpa_suplicant.conf file with the following information in it ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev network={ I copy it in to the file structure that was created by Balena which looks like this The green light comes on for booting and nothing happens. Just does not give me an Ip Address. Any idea |
@tegwin do you have an HDMI cable so you can see the console output? |
I have actually found out why this does not work. It would appear that I spelled wpa_supplicant.conf incorrectly. I have now spelled it right and its working |
Actually another question, does any one know how to add multiple RPI Zeros to this. What installation do i use and how do I set it up Thanks |
@tegwin You have (at least) two options:
Either way, you can add multiple cameras by opening the menu, and then clicking the dropdown directly next to the menu button, there should be an option to "add camera...". You then select |
Not sure I understand. When you say Use one as a Master. what do you mean ? Do I need to put any special camera software on this. What I was hoping is that I could install camera software on a PI and just add it through the interface |
No extra software needed. Each of the cameras with |
Ok thanks. So I can just install MotionEyeOS on any device I want and then I can add them as additional from there. Is there is an option in the UI to do this ? |
Hi folks. I need to set up a Pi Zero W, to act as an AP. I have been asked to set up cctv in out local apiary, and it is remotely located without internet or wifi. I am wondering if anyone had any link to an image of Motioneye, suitable for a PI zero W, that would already have the hostapd, dnsmasq, and the other files necessary for it to function. I have tried to create one myself, but my coding skills are just not up to the task. Both the bees and myself urgently need help. Thanks in advance. |
This is for PiZero or Pi1, and has the files needed already. Here is the link to specific instructions. |