[SOLVED] Change wifi credentials after setup

Tags: #<Tag:0x00007f61737358d0> #<Tag:0x00007f6173735768> #<Tag:0x00007f6173735600>

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
1 Like

Thanks!..saved my day…

is there anyway to do it using windows ?