motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.89k stars 902 forks source link

raspvery pi zero 2 forgets wifi settings if not shutdown properly #3023

Open Crare opened 10 months ago

Crare commented 10 months ago

It seems my raspberry pi has a memory of a gold fish. If I shut it down by plugging the power off it, or the power cuts of because of power outage, it will lose the network settings and during bootup gets stuck on the network-phase. I have tried shut it down properly through the settings in motioneyeos menus, it works, but sometimes if the power is cut off, all the settings are reset and network settings are lost. This is not durable if power outages happen or some muggle comes and rips off the power plug.

I have set the wpa_supplicant.conf in the Boot-partition. I have read the troubleshooting at https://github.com/motioneye-project/motioneyeos/wiki/Troubleshooting-Raspberry-PI-Models-A-%28Plus%29-And-Zero

I'm using image from Jawsper for PiZero2W because it has different processor than older PiZeros. https://github.com/motioneye-project/motioneyeos/issues/2875 https://github.com/jawsper/motioneyeos/releases version 20220119-dev

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue. yes

I confirm that I have read the FAQ before opening this issue. yes

motionEyeOS Version

I am running motionEyeOS version: (insert your version here, e.g. 20180314).

Board Model

Raspberry Pi Zero 2 W

Camera

Raspberry Pi Camera Board v2 https://www.adafruit.com/product/3099

Network Connection

WIFI

Peripherals

none

Log Files

I consider the following log files relevant to this issue:

I may provide these later if necessary.

Crare commented 10 months ago

it seems to be that if I change the master password and cut of the power, it will forget network settings.