FlightAware Discussions

How do you configure PiAware for 2 possible WiFi SSIDs?

I tried the steps in this link but the file names/content don’t match exactly to what’s on the PiAware image.


That page doesn’t work.

You’d have to check the piaware internals and how WiFi is configured by them.
In the piaware-config it doesn’t seem to have an option for multiple WiFi networks.

I’d just use a fresh Raspbian Buster Lite image and configure that via:

• If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/wpa_supplicant/ directory the next time the system is booted, overwriting the network settings; this allows a Wifi configuration to be preloaded onto a card from a Windows or other machine that can only see the boot partition.

So you burn buster lite, then open the file wpa_supplicant.conf on the boot partition that’s visible in windows.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

This file should be self explanatory.
It will prefer network1 over network2 because the priority for 1 is higher.

Don’t forget to also create an empty file named ssh on the boot parititon to activate SSH.

Now you can power up the RPi with the fresh SD-card and should be able to just install piaware.

The piaware image is limiting in some aspects because it’s meant to be easy to use.

1 Like

Thanks @wiedehopf , I’ll give that a try tonight.

So the priority is determined by the network with the highest priority# ??? - seems counter-intuitive, normally priority=1 would be first choice, right?

It’s by definition, they chose to do it this way.


The priority of a network when selecting among multiple networks;
a higher value means a network is more desirable. By default
networks have priority 0. When multiple networks with the same
priority are considered for selection, other information such as
security policy and signal strength are used to select one.

1 Like