mainsail-crew / sonar

Sonar is a small Keepalive daemon for MainsailOS.
GNU General Public License v3.0
73 stars 13 forks source link

Wifi Crashing #15

Open leitenky opened 11 months ago

leitenky commented 11 months ago

What happened

Sporadically while printing the Wifi looses connection and the Host cannot be reached (through WebUI or SSH)

What did you expect to happen

Wifi to keep running

How to reproduce

just wait and within a couple hours the wifi goes down. A reboot of the host is the only way to bring the wifi back

Additional information

sonar (1).log I have tried with sonar enabled and disabled (as the other user issue suggested). I seem to be getting a couple different errors in the Sonar Log. Running MainsailOS, on a Pi4 Errors I get are: Error 1 occured on line 162 Error 255 occured on line 158 Error 254 occured on line 158

KwadFan commented 11 months ago

Hey,

Sad but true, these errors occur if wpa_cli https://github.com/mainsail-crew/sonar/blob/eacc498a52f79292063b6f9b0e0c191c34c5dc09/libs/core.sh#L158

or dhcpcd https://github.com/mainsail-crew/sonar/blob/eacc498a52f79292063b6f9b0e0c191c34c5dc09/libs/core.sh#L162 are exiting with an non-zero (means no issues in executing command) state.

There is litterally nothing I can do about if these two dont react as intended.

leitenky commented 11 months ago

So I discovered that my eprom was from 2021. I have updated that firmware and currently letting run to see if that might have been my issue. I will follow up in a few days with results. So far it seems like it's good