Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: under what circumstances does the hotspot start & terminate? #114

Closed
marcelstoer opened this issue Jun 5, 2020 · 2 comments
Closed
Labels

Comments

@marcelstoer
Copy link
Contributor

Sorry if this is obvious but I didn't see it mentioned anywhere.

Scenario 1: a known/saved WiFi is temporarily unavailable upon startup, the comitup hotspot starts.

  • Do the WiFi connection attempts continue in the background even while the hotspot is active?
  • Does the hotspot terminate automatically as soon as (one of) the saved WiFis becomes available again?

Scenario 2: the Pi looses connection to the WiFi it connected to upon start.

  • Does the comitup hotspot start even now or only if the Pi can't connect to a WiFi at startup?
@davesteele
Copy link
Owner

Scenario 1: a known/saved WiFi is temporarily unavailable upon startup, the comitup hotspot starts.

Do the WiFi connection attempts continue in the background even while the hotspot is active?
    Yes. It is a periodic check.
Does the hotspot terminate automatically as soon as (one of) the saved WiFis becomes available again?
    If you have a single WiFi adapter, then yes. That adapter is used for the new connection.
    If you have two WiFis, then both connections can remain. Appropriate routing is automatically
       set up between them. See "man 5 comitup.conf".

Scenario 2: the Pi looses connection to the WiFi it connected to upon start.

Does the comitup hotspot start even now or only if the Pi can't connect to a WiFi at startup?
    Yes, it starts in this situation as well.

@marcelstoer
Copy link
Contributor Author

All clear, thanks. That's exactly how I expect the system to behave; POLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants