Following this answer I added a 2nd WiFi network to wpa_supplicant
on my bullseye installation.
There must be something wrong with the configuration as when I reboot the router I am unable to connect to the Raspberry Pi on either network, effectively leaving me no way to connect to the device via SSH.
The configuration I used is:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NETWORK1 NAME"
psk=<secure version of psk added when configuring pi with imager software>
id_str=""network_1
}
network={
ssid="NETWORK2 NAME"
psk=PASSWORD2
id_str=""network_2
}
Can anyone see what I've done wrong here?
country=xx
afterupdate_config=1
where xx is your ISO country code.Following this answer I added a 2nd WiFi network
... no, you did not follow the answer