OpenMarine
Network Configuration via wifi - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Feature Requests (https://forum.openmarine.net/forumdisplay.php?fid=5)
+--- Thread: Network Configuration via wifi (/showthread.php?tid=3096)



Network Configuration via wifi - ben - 2020-11-18

Would there be any way of implementing a way of setting up the second network via my phone/tablet and some kind of gui?

For example my pi has two AP's the onboard and an external usb wifi dongle, I have my network setup as my boat name and it connects to my tablet and my phone sending signalK, all works fantastically until I am at a marina and I want to join the marina wifi via the second network, rather than using vnc to connect to the pi and choose the second network and put in the password etc. would it be possible to do it via a web gui using something like thisĀ https://github.com/cjimti/iotwifi

It would be nice to have an app on my phone/tablet to allow me to configure settings on the pi and openplotter.

Just a thought

B


RE: Network Configuration via wifi - rastam4n - 2020-11-19

is it always the same network? If so you can create two wpa_supplicant.conf files one for wlan0 and one for wlan1. Then add the credentials for the marina into wlan1 supplicant file like this

network={
ssid="the ssid"
proto=WPA
key_mgmt=WPA-PSK
psk="the password"
}