Stop Raspberry PI Dropping off the WiFi Network

I was having a recurring issue where the Pi 4 was dropping off the WiFi Network overnight and required a reboot to resolve.

After some research I discovered a fix which has been working for me.

I set the country code in the /etc/wpa_supplicant/wpa_supplicant.conf to be the same as the country code on my router.

This was the first line in the file:-


It would be great if this could become a standard parameter.

1 Like

Glad you figured out and solved your troubles!

Linking to an old comment for some issue tracking/housekeeping…

Hi, i am having the same issue. How do I access "/etc/wpa_supplicant/wpa_supplicant.conf " on my Rpi4? Thanks for your support! Also, do you know the country code for the USA?


Enable ssh via the volumio.local/dev page, connect using putty or an other ssh tool, login, sudo nano /etc/…

Thank you !