Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Multiple Wifi credentials
#13
Manually editing wpa_supplicant.conf worked a treat. I actually had three SSIDs saved in it while testing it. For anyone who wants a workaround in the meantime for adding more than one SSID, here's how it's done from a SSH command prompt:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
copy the contents of wpa_supplicant.conf into a text file, either the full contents, or just the relevant section for the currently saved SSID credentials, which will look like this:
network={
ssid="wirelessnetwork1"
scan_ssid=1
psk=0f4964208xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx96aa58a0
}
exit nano, then log out of SSH. Through the config menu of the Moode interface, add your new network credentials, and reboot.
Log back in through SSH, and open wpa_supplicant.conf again. Paste the credentials of your previous saved network under the new one, so it will look like this:

network={
ssid="wirelessnetwork2"
scan_ssid=1
psk=0f4964208xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx96aa58a0
}

network={
ssid="wirelessnetwork1"
scan_ssid=1
psk=0f4964208xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx96aa58a0
}

exit nano, and it will ask if you want to save the changes you've made. Save them, and exit the SSH prompt. From now on, Moode should connect to either of these networks, until you overwrite wpa_supplicant.conf by adding a new network through the network config menu.
Reply


Messages In This Thread
Multiple Wifi credentials - by lugius - 06-10-2020, 08:00 AM
RE: Multiple Wifi credentials - by the_bertrum - 06-10-2020, 10:22 AM
RE: Multiple Wifi credentials - by Tim Curtis - 06-10-2020, 01:17 PM
RE: Multiple Wifi credentials - by okneloper - 06-18-2020, 08:48 AM
RE: Multiple Wifi credentials - by okneloper - 06-18-2020, 01:32 PM
RE: Multiple Wifi credentials - by okneloper - 06-18-2020, 09:05 PM
RE: Multiple Wifi credentials - by Mr Creosote - 07-22-2020, 04:46 PM
RE: Multiple Wifi credentials - by Tim Curtis - 07-22-2020, 06:30 PM
RE: Multiple Wifi credentials - by Mr Creosote - 07-23-2020, 08:05 AM
RE: Multiple Wifi credentials - by Mr Creosote - 07-23-2020, 03:55 PM
RE: Multiple Wifi credentials - by Mr Creosote - 07-24-2020, 10:04 AM
RE: Multiple Wifi credentials - by Tim Curtis - 07-24-2020, 01:16 PM
RE: Multiple Wifi credentials - by Girafenaine - 01-24-2021, 08:24 PM
RE: Multiple Wifi credentials - by Tim Curtis - 01-24-2021, 09:38 PM
RE: Multiple Wifi credentials - by Girafenaine - 01-24-2021, 10:16 PM
RE: Multiple Wifi credentials - by lugius - 03-13-2021, 12:06 PM

Forum Jump: