[SOLVED] Change wifi credentials after setup

I have moved to another place with my openhabian on RPi3. The Wifi name and PSK changed. I tried to connect the Pi via ethernet but it doesn’t show up in my router so it did not get an IP and so I can’t access it.
Next I tried to modify the boot/openhabian.conf and filled in the wifi configuration but this only applies to the first boot.
Basically I have access to the SD-Card only. Is there any other way to reconfigure the wifi?
(I also turned HDMI output off)

I got it working. There are two options:

  1. You can mount the sdcard on a linux pc or VM and edit /rootfs/etc/wpa_supplicant/wpa_supplicant.conf to replace with the new credentials.
  2. Create an wifi hotspot with same name and psk as stored in the RP and then change the wpa_supplicant.conf
2 Likes

Thanks!..saved my day…

is there anyway to do it using windows ?