3 wifi networks available to connect navio2 at the same time

Hello, I beg your help.
How to configure the navio2 raspberry-pi Wi-Fi network so that it automatically connects to the network with the best signal.
I have 3 wifi networks available to connect navio2 at the same time.

How to configure navio2 by network cable on 2 different routers without having to edit each time you connect to a different router?

Thank you for your kind reply.

Hi Jorge,

It’s hardly possible to make Navio2 connect to the network with the best signal. Nevertheless, you can specify several networks in the wpa_supplicant.conf file so that Navio2 will have the access to the different networks.

If all of the mentioned networks are available, your Navio2 will connect to the first network since it’s listed first in the configuration file. In case something goes wrong with the network, the device should connect to the second one and so on. The configuration file should look like this:

network={
  ssid="network-1"
  psk="password-network-1"
  #key_mgmt=WPA-PSK
}

network={
  ssid="network-2"
  psk="password-network-2"
  #key_mgmt=WPA-PSK
}

Please need more information.
it does not connect with any of the wifi networks following your example.

Please, how do I configure a 4G USB modem to the raspberry pi navio2?
How is configured in the raspberry pi navio2 and in the ground station?

Hi Jorge,

Does it connect to the network when only one Wi-Fi network is configured in the wpa_supplicant.conf file?

Do I understand correctly that you plan to use the 4G modem for telemetry?