I’m looking to get a bit of help with the Balena Dash project (GitHub - balenalabs/balena-dash: Build a Raspberry Pi based desktop dashboard for stats, photos, videos and more!).
We are using this with Raspberry Pi 4’s, but sometimes when we reboot a Raspberry Pi (either by replugging power, rebooting via Balena or even restarting the “kiosk” container), when the device/container boots up there is no internet connection.
The wifi-connect service then activates, and we can choose the WiFi again using that. However, this does not always re-connect it again.
There are times when it does connect, and it will stay connected until we reboot the device or container again. The WiFi details are not changing, and we have absolutely no firewall configured at any point in the network.
What is the best way to debug why the device is not connecting back to the internet?
I have tried logging into the device locally and running
nmcli device wifi connect SSID password 'PASSWORD', this will connect the device back to the internet and it shows in balenaCloud with “Online (Heartbeat only)”
system-connections/balena-wifi-01 file has the correct WiFi details.