My wifi credentials have been changed but i can't change my raspi wifi connection. I can change it via the gui, but after a reboot, the old settings appear again in the wpa_supplicant.conf file.

Tried to change if via nano and cli but after rebooting, the old settings are appearing again.

I also tried to copy the wpa_supplicant.conf file to wpa_supplicant.conf_old file but after rebooting the pi, the original file was there and the backup disappeared.

Can somebody please help me locating the real wifi settings file so my wpa_supplicant.conf is not rewritten again with the old settings?

  • 2
    How did you try to change it? All you have told us is what didn't work.
    – Milliways
    May 23, 2017 at 23:36
  • I tried both via cli and via the gui in the right topcorner what worked, but after a reboot or shutdown, internet is lost because the changes i made to the wifi configuration are lost again
    – MichaelK
    May 24, 2017 at 4:20
  • 1
    the pi, the original file was there and the backup disappeared that is very unusual - what are you running? Raspbian? May 24, 2017 at 5:28
  • Yes raspbian pixal on pi3 . I already did an apt-get update and upgrade. I have no idea how this can happen. Seems like during startup it reloads the same settings from a previous period. Also my datetime and timestamp are 2 months back in time. Until i set the wifi and it loads the correct time from the internet.
    – MichaelK
    May 24, 2017 at 13:55
  • Follow this link: raspberrypi.stackexchange.com/questions/74593/…
    – DRV
    Dec 11, 2019 at 10:47

1 Answer 1


I think you have installed an extra network manager. No problem. Create a /boot/wpa_supplicant.conf file instead of the /etc/wpa_supplicant/wpa_supplicant.conf file. and when you reboot you will see it changed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.