I have installed a new bullseye image to a raspi zero using the raspberry pi imager. I wanted to add a second wifi address to the wpa_supplicant.conf file like so:
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"
}
I noticed that the country=GB was missing so I added it and when I rebooted, it would connect (Im connecting headlessly).
2 questions: Did adding the country=GB stop it or was it adding the second network address ??
Kind regards
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"
}
I noticed that the country=GB was missing so I added it and when I rebooted, it would connect (Im connecting headlessly).
2 questions: Did adding the country=GB stop it or was it adding the second network address ??
Kind regards
Statistics: Posted by exwaver — Mon Mar 04, 2024 4:02 am