Skip to content

How to run at boot? How to run automatically? #13

@bjohas

Description

@bjohas

Hello,

thanks for the script - this is just what we are looking for!

We're in an Option 2 / Option 6 scenario, and I've used Option 6 to switch back and forth. However, we'd like to do this at boot.

Here's our scenario:

  • We have a RPi Zero W.
  • On boot, the RPi should look for networks. (I guess this is just the normal process.)
  • If a known network is available, it should connect. (Again, nothing unusual here.)
  • If no known network is available, it should create a hotspot. (In other words, if some time after boot, no internet connection has been made, then hotspot mode should be enabled.)
  • We'd then want to access a web server running on 10.0.0.5 to add new network details. (That's easily done.)
  • The RPi should try to connect to the new network, or otherwise return to hotspot mode.

My question is this: Is it correct that the script must be run interactively?

The description says: "AutoHotspot Setups: This script is for installing a Raspberry Pi WiFi setup where the Pi will connect to a previously configured Wifi network when the Pi is in range of the router or Automatically setup a Raspberry Pi access point when a known wifi network is not in range. "

Having explore the manual options, how do we automate this?

Many thanks!

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