Adding MULTIPLE WiFi SSID/PSK

Help setting up WiFi
Post Reply
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Adding MULTIPLE WiFi SSID/PSK

Post by 4S7EF »

There are times that WiFi does not work. I have therefore created a wpa_supplicant file and added to the boot directory of the SD card.

Since I operate often from an alternate location, how may I add MULTIPLE SSID/PSK to the EXISTING wpa_supplicant file[/b]?

4S7EF
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Adding MULTIPLE WiFi SSID/PSK

Post by 4S7EF »

Found the answer;

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1
fast_reauth=1
country=AU

network={
ssid="FirstSSID"
psk="password"
key_mgmt=WPA-PSK
id_str="0"
priority=100
}

network={
ssid="SecondSSID"
psk="password"
key_mgmt=WPA-PSK
id_str="1"
priority=99
}

network={
ssid="ThirdSSID"
psk="password"
key_mgmt=WPA-PSK
id_str="2"
priority=98
}
on4avt
Posts: 3
Joined: Fri Nov 22, 2019 1:57 pm

Re: Adding MULTIPLE WiFi SSID/PSK

Post by on4avt »

I dont understand where to put this in?
I like to have more then one ssid in the list. Are they automatic choosen from te list ,when they are availibel?
Kc4vfz
Posts: 9
Joined: Wed Jan 08, 2020 6:17 pm

Re: Adding MULTIPLE WiFi SSID/PSK

Post by Kc4vfz »

I like this idea. Do these entries need to be added to the wpa_supplicant file??
n9mxq
Posts: 236
Joined: Sun Apr 29, 2018 12:12 pm

Re: Adding MULTIPLE WiFi SSID/PSK

Post by n9mxq »

Kc4vfz wrote: Fri Mar 01, 2024 7:38 pm I like this idea. Do these entries need to be added to the wpa_supplicant file??
You can add them through the expert menu under wifi. (configuration->expert->wifi)
Gene in Belvidere IL
Please don't email me with questions.
That's what these forums are for.
There's much more brainpower collected here
than I have alone.
Post Reply