Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Doesn't seem to re-connect to configured wifi access point on restart (of container) or reboot of pi #25

@sethwebster

Description

@sethwebster
  • I'm submitting a ...

    • bug report
  • What is the current behavior?
    Everything is up and running ok, and am able to get the wifi access point set. A wpa_supplicant.conf is created in /etc/wpa_supplicant/wpa_supplicant.conf. If I stop the container, the wifi connection to the configured AP is terminated, which makes sense. However, should it use the previous configuration upon starting the container again?

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  1. Follow instructions in the README.MD
  2. curl the api and set a wifi access point.
  3. ping external server to confirm working (ie google.com)
  4. stop the container
  5. restart the container
  6. ping external server, or ifconfig wlan0 and observe no ping is possible and no ip lease exists
  • What is the expected behavior?
    Previously configured wifi access point is used upon starting the container.

  • What is the motivation / use case for changing the behavior?
    Use to provide configuration of wifi access point to IOT device and have that configuration persist across restarts.

  • Please tell us about your environment:

    • Device: RP 4B
    • OS: raspbian buster
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions