Read the statement by Michael Teeuw here.
Pi loses WiFi connection after a few hours
-
At the moment I am doing long term test. A have a new SD Card, with online running raspberry os on it. So far, after 24h the pi runs smoothly and the Wi-Fi is still working.
Tomorrow I will install MM2 on the same card, to see what’s going on.What I need to know is, where to look if after installing MM2 the problems start?
-
I wanted to revive this topic, as I am having the same issue.
After a day or two, the Raspberry Pi 3 B+ seems to lose it’s connection. I’m not able to connect to it via SSH, and the Weather module stops updating temp/forecast/etc. The news headline module and calendar module seem to continue to update, however.
This problem goes away (temporarily) after a reboot.
Looking at the error logs, I only see this:
[ERROR] fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com
I’ve made sure the Pi is updated, and I’m able to ping sites (like github) after the reboot.
Any ideas? I haven’t had any problems until the past month or two.
-
This Github post seems to describe the same (or similar) issue:
-
@jca2112 are you running pihole as an advert filter? seem to see this a lot with pihole servers…
i had a system that would lose connection almost daily… (over a years time)finally installed a different network system… google wifi vs router and extenders…
wifi hub in same location as one of the prior extenders
haven’t had it fail since -
@sdetweil said in Pi loses WiFi connection after a few hours:
@jca2112 are you running pihole as an advert filter? seem to see this a lot with pihole servers…
Yes, I am running a pihole – thanks for suggesting that. (I should have mentioned it.) I’ve not had any issues with the magicmirror + pihole setup in the past, but just to make sure I whitelisted the magicmirror so it would bypass the pihole altogether. It didn’t seem to affect the problem, so I’m not sure that it is a factor.