Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Reconnect wifi if connection lost

$
0
0
Hi,
I'm running PcP on a PiZero as a client.
There are 2 servers available running the LMS.

I set up the wpa_supplicant.conf for multiple networks and assigned different priorities for the Zero to connect to.
Code:

network={
        ssid="Network1"
        psk="password1"
        key_mgmt=WPA-PSK
        auth_alg=OPEN
                priority=2
}
network={
        ssid="Network2"
        psk="password2"
        key_mgmt=WPA-PSK
        auth_alg=OPEN
                priority=1
}
network={
        ssid="Network3"
        psk="password3"
        key_mgmt=WPA-PSK
        auth_alg=OPEN
                priority=3
}

This works, but if the primary WiFi is lost, the Zero will not connect to the other available net.
It will also not reconnect if the primary net is available once again.

Is this the intended behavior or is something going wrong?

There are many solutions to force a reconnect but I can't determine if they're necessary any more.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>