Skip to main content

Local access points

For some use cases, you may want to create a local WiFi network just for your Pioreactors (this is called a local access point, or a hotspot). Why might you want to do this?

  • If you want to get started right away, without dealing with exiting WiFi networks.
  • If your usual WiFi network is restrictive (ex: doesn't allow Raspberry Pis, or requires IT support to host them).
  • If you want to take the Pioreactor, or cluster of Pioreactors, out into the field where there is no network.

The Pioreactor comes with the ability to create its own local access point, which other Pioreactors can connect to. See image below:

Using the Pioreactor to create a local access point

info

The built-in local access point is meant for small clusters of Pioreactors, and it's range and stability is limited. If you want a proper local access point, we suggest purchasing an inexpensive wifi router and using that (the router does not need to be connected to the internet - it will still create a wifi network you can connect Pioreactors to regardless).

Starting a local access point

The Pioreactor has the necessary software and hardware to create the local access point. To start the access point:

  • If starting with a new Pioreactor, during software set up:
    1. Leave the "Configure wireless LAN" unchecked. Continue with the instructions at Setting up your Raspberry Pi.
    2. After the SD card has been written to, remove the SD card from your computer, and immediately insert it back in. A boot (or bootfs) device should be present now that is your SD card. If asked to reformat the SD card, select NO.
    3. Select your country: and download the specific local_acccess_point file:
    4. Drag/move the downloaded local_access_point file to the SD card directory.
    5. Eject the SD card safely, and continue with instructions at Setting up your Raspberry Pi.
  • If starting from an existing Pioreactor:
    1. with the power off remove the SD card from the Pioreactor and insert it into a computer.
    2. Select your country: and download the specific local_acccess_point file:
    3. Drag/move the downloaded local_access_point file to your SD card (called boot or bootfs).
    4. Eject the SD card safely, and put back into the Pioreactor.

Access the local access point

After plugging in the Pioreactor, the local access point will start and you should see a new network called pioreactor, with password raspberry. You should be able to connect to this new access point with any computer, phone, tablet, etc.

Once connected, the usual urls should work: http://pioreactor.local will bring up the Pioreactor interface (having trouble? Not working? Try our troubleshooting steps below.

info

Without access to the internet, the Pioreactor will have the wrong internal time. You can change this using this method

Connecting more Pioreactors to your local access point

info

Raspberry Pi 3B and Raspberry Pi Zero W have trouble connecting to these local access points. Follow instructions here.

Other Pioreactors will need to be reconfigured to connect to this new access point. During set up in the Raspberry Pi Imager, using the ssid / wifi credentials: pioreactor and password raspberry in the wireless LAN section. Don't add the local_access_point file to these other Pioreactors - you only need to do that once.

The maximum number of machines (Pioreactors and computers) that can be connected to a local access point on a Pioreactor is ~4-8. There is a possibility to add more, see issue here.

This network may not be connected to the internet, so you won't be able to upgrade any software on the Pioreactors. See section below on how to add internet.

Adding internet access to your local access point

If you are hosting the local access point on a Raspberry Pi that has an ethernet port (B models), you can plug this into a router that has access to the internet to provide internet to your entire cluster.

Using the Pioreactor to create a local access point, and the is connected to a router

Turning off a local access point

After SSH-ing into your Pioreactor, simply delete the local_access_point file in the /boot/firmware/ directory, and reboot.

Changing SSID name or password for your local access point

In the config.ini, the SSID and password are editable under the section local_access_point. This requires a power-cycle to take effect.

Troubleshooting

My computer can't connect to the local-access-point

Do you see the pioreactor network in the list of available wifi networks?

  • If presented, use the option "Use security key to connect" (this is an alias for the password).
  • Try power-cycling your Pioreactor
  • The maximum number of machines (Pioreactors and computers) that can be connected to a local access point on a Pioreactor is ~4-8. There is a possibility to add more, see issue here.

Alternatively, do you not see the pioreactor network in the list of available wifi networks?

  • Try power-cycling the Raspberry Pi
  • If you unplug the Pioreactor, and place the SD card back into your computer, do you see the local_access_point file? If not, try adding the file again, inserting the SD card in the Pioreactor, and restarting the Pioreactor.

I'm on the network, but can't load the Pioreactor UI at http://pioreactor.local

Try http://<your_leaders_hostname>.local. Still not working? Try http://10.42.0.1)

I can't connect a worker to my local access point

  • confirm that you are using the right wifi name and password in the Imager (default pioreactor and raspberry)
  • The maximum number of access point clients (Pioreactors and computers) that can be connected to a local access point on a Pioreactor is ~4-8. There is a possibility to add more, see issue here.

I'm pretty sure I'm at the limit of ~4-8 clients on my access point - what can I do?

  • You can purchase an inexpensive wifi router and use that as the access point. Note that you don't need to connect this router to the internet - it will operate a network regardless.
  • You can purchase a WIFI USB stick to improve the clients and range of your Pioreactor. For example, the Alfa AWUS036AC (take note to confirm your Raspberry Pi can has the correct USB connection).