nerves-networking / vintage_net_wizard

WiFi configuration wizard using vintage_net
Apache License 2.0
60 stars 21 forks source link

When checking the WiFi connection, verify that a list of IP/ports are reachable #250

Open fhunleth opened 2 years ago

fhunleth commented 2 years ago

Some corporate WiFi networks block IP addresses and ports that are needed. It would be nice to be able to supply a list of IP/ports to try connecting to over TCP. Success is having the connection succeed. There's no need to verify that ssh works and it's find if the remote immediately closes the connection.

If WiFi connects, but the IP/port tuples passed in don't connect, the user should get an error message that tells them that they don't work. It still should be possible to force the connection.

mattludwigs commented 2 years ago

With VintageNet v0.11.2 this should be the functionality if using internet_host_list.

However, it appears we mark the configuration as good when we get either :lan or :internet. I think this should only be :internet?