-
Notifications
You must be signed in to change notification settings - Fork 902
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
MotioneyeOS randomly breaks DHCP assignments, disconnects other LAN devices. #2788
Comments
Lets answer / make suggestions in reverse order here: It sounds like the LAN has issues. I would suggest putting a file into the /boot partition to force a specific static IP address: Are you using an OTG adapter or just a USB a Female to USB Micro Male? Could 2 of your adapters have the same MAC address? I use Win32DiskImager most of the time (and put the ssh or ssh.txt file in the /boot partition to enable connecting via ssh. (and my wpa_supplicant file when not using the ethernet adapter) Do you have a mini HDMI to HDMI adapter/cable to watch the boot up process? That's enough for now. |
Where are you turning on your watchdog? WebGUI, Expert Settings, Connectivity Watch? |
Answers: I'll go through the suggestions a bit later. |
I used a handy Pi3 with 20200606 on it, and had an issue with it. Turned on WebGUI, Expert Settings, Connectivity Watch, and it rebooted, and failed to bring anything but SSH up on the IP address. Switched to dev20201026, enabled as above, no issue. |
OS: Mac OS X 10.11.6 (can't read ext2 partitions, but I have a working Ubuntu on hand, if that matters…) |
I've had the same issue with and pinned it down to one raspi0w with motioneyeOS disconnecting another raspi0w with motioneyeos as well. it's been so since 2017 with all revisions of motioneyeOS I've used until the last stable. |
@starbasessd Like sirjeannot, the bug reoccurred recently with a stock configuration of 20200606. In other words, no special config, MotionEyeOS wasn't even recording, just idling on the LAN. I installed dev20201026, not restoring previous config. Haven't tried with RaspberryPiOS yet as I needed to have video recording recently. @sirjeannot Useful tip as I wanted to upgrade to a raspi0w myself, and maybe add one or two. A disconnected MotionEyeOS isn't very useful IMHO as it simply could get stolen along with its recordings. I only need it from time to time, since auto-delete of recordings once card is full isn't a feature yet (and may never be), What replacement platform have you found? |
@Cubytus : My issue was the IR cam for children monitoring at bedtime :D I've not found a suitable replacement yet. I do use outdoor dahua cams in RTSP, raspi0w are limited to indoor use so that risk is more or less leveraged. I don't do local recording, I'm moving to a centralized nvr using frigate to automate more image analysis. I have a system with an ncs2+openvino+analysis of recordings currently, but it's far from being the best solution. |
@sirjeannot That's a bit more complex than I wished. I wanted a standalone solution that would be able to upload recordings to a remote server, have decent low-light performance, and auto-delete oldest recordings once memory is full No fancy stuff like face recognition. Turns out I forgot about reliability, and MotionEyeOS falls somewhat short on these, at least on the very common RPi0. True, there are other platforms available like the Orange Pi, Nano Pi NEO, Odroid, but AFAIK none of these manufacturers thought about including a night vision camera in their lineup. Plus, being far less widespread than the RPi, I'm a bit concerned when time will come to get some help. |
@Cubytus Your specs are the same as mine! After much testing (all possible distros, stock clocks and downclocking, on 4 different rapi0w), the rtsp streaming always fails the same way. It looks like either a csi driver issue or a hardware fault. I've tested the stability with heavy workloads on these 4 without any issues. |
Preliminary Docs
I confirm that I have read the CONTRIBUTING guide before opening this issue.
I confirm that I have read the FAQ before opening this issue.
motionEyeOS Version
I am running motionEyeOS version: 20200606
Board Model
I am using the following board/model: Raspberry Pi Zero
Camera
I am using the following type of camera: V4L2 or MMAL, unsure. The default setting in motioneyeOS when using this camera model.
My camera model is: official Rasbperry Pi camera
Network Connection
My motionEyeOS unit is connected to the network via: AmazonBasics USB-to-Ethernet adapter
Peripherals
Strictly speaking, none.
However, motionEyeOS is configured to:
Reboot if it cannot reach the Internet in a 120 seconds timeframe (intentionally long delay to allow for older router / older modem reboot rime)
Send a copy of all its recordings to another NAS through FTP.
Log Files
None yet, read below.
I consider the following log files relevant to this issue:
Hi to all,
after this technical presentation, see there are no logs! No wait, seriously, I don't know how to pull them given the circumstances.
Symptoms:
Seemingly at random, devices on the same LAN cannot connect to the Internet, nor can they connect to each other, either using their hostnames or their IP addresses. Upon further testing every device, they appear unable to get a local IP address (192.168.1.x).
Already tried:
LAN IP assignment conflict: doesn't happen since the router uses semi-fixed DHCP assignments and devices on the LAN don't change when problem occurs
Resetting router: doesn't change anything: router runs, but cannot issue LAN IP addresses while crashed MotionEyeOS is present.
Disconnecting-reconnecting MotionEyeOS: this only results in briefly restoring proper DHCP assignment and Internet access, before failing again as MotionEyeOS is reconnected.
Steps to reproduce:
Now, this bug seemingly appears at random times, but often enough to cripple usage.
Disconnecting the failed MotionEyeOS from the LAN restores connectivity to the others devices within seconds.
I had used MotionEyeOS intermittently before, though not consistently because of its shortcomings (no loop recording option, no sound, general instability in the long run).
How do I pull logs from a crashed, unreachable MotionEyeOS installation? Where would they be located on the microSD card?
The text was updated successfully, but these errors were encountered: