davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
320 stars 54 forks source link

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

Closed marcelstoer closed 4 years ago

marcelstoer commented 4 years ago

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.

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

davesteele commented 4 years ago

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 commented 4 years ago

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