Skip to content

Use transition SSID between boot and ready #16

Closed

Description

@rgaudin

At the moment, as soon as the Pi boots, it starts the hostAPd and thus the WiFi network is visible.Soon after, the docker stack is started with the Captive portal and all. There thus is a risk of someone accessing the WiFi network before the captive portal is ready.

To prevent this from happening we could wait for the Captive portal to be ready before starting the AP but that would prevent anyone from reaching the box if there is any issue down the road. That's just too much information to remove should we need to assit or debug.

Another approach is to start the WiFi as we do but with a different SSID and password. Something static that's documented in the FAQ but that users are not supposed to know so they dont connect to it. (Starting Kiwix Hotspot… for instance with some password.)
Those with the password can connect to it should it be stuck there and debug.

Then, once the captive portal is ready, we restart hostAPd with the correct config and the regular Kiwix Hotspot SSID appears with its pasword.

Activity

  1. added
    enhancement
    on Feb 17, 2025
  2. benoit74 commented on Feb 17, 2025

    @benoit74
    Contributor

    I like this idea. As an SSID, maybe Kiwix Factory or Kiwix Maintenance is sufficient / more self-explanatory? Especially since it could be reused during the lifetime of the product if needed, with same password.

  3. kelson42 commented on Jun 14, 2025

    @kelson42
    Member

    @rgaudin I believe you currently work on this, maybe this issue should be moved to the right/final repository?

  4. added a commit that references this issue on Sep 4, 2025
  5. rgaudin commented on Sep 4, 2025

    @rgaudin
    MemberAuthor

    We have decided to not use any temporary SSID/network and just wait for everything to be OK (containers all Up) before starting AP.

  6. benoit74 commented on Sep 4, 2025

    @benoit74
    Contributor

    Now that we are provisioning in a different manner, I indeed feel like it is not useful at all to have such a temporary SSID/network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions