Moving wifi to a new SSID

Hello,

I’ve set up HA on a Raspberry Pi (full installation from an image), and have it all working perfectly. It’s connected via Wifi as I don’t have access to an ethernet socket. I now would like to move the Raspberry Pi to a new location that has a different SSID/password.

I’ve followed the advice here:

And created a USB drive called CONFIG, containing a folder called network, that has the file my-network that contains:

[connection]
id=my-network
uuid=da120cca-5e30-4014-824c-7ba5dc0147aa
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=MYSSID
[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk="MYPASSWORD"

[ipv4]
method=auto

[ipv6]
method=auto
addr-gen-mode=default

However, it’s not connecting. Is there any way I can debug this, or other ways of setting up the connection?

It looks like the settings disabled the wifi connection, although it’s not clear why.

For anyone who experiences similar problems, the only way that I could get this to work was to set up internet connection sharing on my Mac (System Preferences → Sharing → Internet Sharing), take the Raspberry Pi with Home Assistant to the new site, plug it into the Mac Ethernet socket, log in via the browser on the mac and set up the new wifi connection.