Skip to content

Add ad-hoc + Captive Portal workflow for network connectivity #10

@aniongithub

Description

@aniongithub

Intended workflow

  1. On startup, check for network connectivity (use secret with reasonable defaults for host to ping - is there a better way?). If found, exit this setup script. We're good.
  2. If not found, scan for all SSIDs and store this list.
  3. Set up an ad-hoc network with the hostname of the device and no password
  4. Blink the on-board LED using this method in a clear pattern that cannot be confused with flash reading, like a 1 Hz blink.
  5. Use the Captive Portal method to display a webpage with the previously scanned SSIDs. See OpenNDS
  6. When the user selects one of them, prompt them to enter any information required to connect to that SSID (password, country)
  7. Write wpa_supplicant.conf with this information.
  8. Reboot and go to step 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions