balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.29k stars 359 forks source link

Refresh available WiFi Network list from captive portal #225

Open kornpow opened 6 years ago

kornpow commented 6 years ago

For whatever reason the user's WiFi network might not be up when wifi-connect is initially run. In addition there are situations where wifi-connect only see's a single wifi network when scanning. To assist with my own debugging, and for user experience, I feel this button should be something available on the captive portal. It would be nice to easily determine if it was just did a bad scan, which happens often, even to my own PC vs the WiFi network actually not being there. Would prevent a lot of debugging tips like "reboot and see if it works this time"

majorz commented 6 years ago

I recommend using the --activity-timeout command line argument for cases where the network is unavailable when the application is started. WiFi Connect will exit after the specified number of seconds if no user activity is detected. This will unblock the rest of the start script - e.g. starting the main application.

The issue with the visible single wifi network is a known one that I plan to address very soon.

The refresh button is a very nice idea though. I think we should add this anyway. Thanks for the feedback!

kornpow commented 6 years ago

Thanks. I'm already using the activity-timeout, but not having network available isn't my real problem it just comes up in my testing a lot. Great to hear on the other fronts however, I'll keep checking back!

charliesneath commented 5 years ago

@majorz Will wifi-connect ever attempt to rescan if there are no networks available?

silvia-eio commented 5 years ago

@majorz Any idea of when we will have the refresh button?

gregmihalko commented 5 years ago

@majorz Adding a button to refresh WiFi networks would be amazing!

kornpow commented 5 years ago

Thanks for the bump y’all. This software is really great but maybe I’m being dramatic by saying it’s non-functional without this button. I’m dreading explaining in a manual (or to my boss) how if the network isn’t seen on first go the only solution is “try turning it off and back on again”. Especially with Linux we are taking about a minute or two.

gregmihalko commented 5 years ago

@majorz Any updates to this issue?

baileysage commented 4 years ago

This would be useful for debugging or "fixing" #327 as well.

majorz commented 4 years ago

Yes, will do.

jellyfish-bot commented 4 years ago

[anujdeshpande] This issue has attached support thread https://jel.ly.fish/b2d505ca-7d2a-470e-a6e1-ef48c7ea9257

gregmihalko commented 4 years ago

@majorz Does the newly updated react-based ui offer additional approaches for building something like this in?

gregmihalko commented 4 years ago

@majorz @sradevski friendly nudge for this issue!

sradevski commented 4 years ago

Hey everyone, I'll try to look into adding a refresh button soon (hopefully, if time permits).

jellyfish-bot commented 3 years ago

[gelbal] This issue has attached support thread https://jel.ly.fish/fe776c67-e05f-405d-bcab-0dea56552275