We have RPi4 based units deployed with our customers. For some customers, after a few days the unit loose connectivity. Restarting the unit solves the issue. We have added logs and can see that the device (nmcli) can see the SSID but it does not connect to it. We suspect the unit and the APs get “out of sync” and believe we can reset the RPi4 Wi-Fi to resolve the issue (as it’s fixed with a reboot).
Can you recommend the best way to reset the RPi4 Wi-Fi from a container?
nmcli radio wifi off?
“nmcli networking off” then “nmcli networking on”?
I assume it’s not possible to restart the network manager service from a container?! or is there?
Any other options?