How to remove the wifi connection configured by Balena wifi-connect?

Hi,

I installed and executed wifi-connect on my Raspberry Pi4 and in a container running on it.
I want to change wifi network to the other Networks. So I made wpa_supplicant.conf file with the wifi credentials of the new WiFi Network I want to configure and copied it to /etc/wpa_supplicant/.
However, I can’t change Pi’s wifi network configuration. Wpa_supplicant.conf file doesn’t seem to be applied and the original wifi network configured by balena wifi-connect still maintains.

  • How to remove the wifi network configured by balena wifi-connect?
  • Is there a good way to uninstall balena wifi connect app completely?

Thanks.
Anatoli

I would suggest reflashing the device. We do not provide uninstaller for WiFi Connect on Raspbian, but in case you really need to uninstall it, you may check what the installer does and reverse it: https://github.com/balena-io/wifi-connect/blob/master/scripts/raspbian-install.sh