I am trying to instruct my machine to first try connecting to my main wireless network, and if it is not available then to connect to another. Both of which I know are constantly available, I have tried to achieve this with priority in wpa_supplicant.
However, it always connects to the second network.. I am unsure why. I cannot get it to prefer my main network at all
in my /etc/wpa_supplicant.conf, i have two networks set up like this
Am I using the priority variable incorrectly..? It is my understanding that 0 is default, and the lower the number the bigger priority it is.
However, it always connects to the second network.. I am unsure why. I cannot get it to prefer my main network at all
in my /etc/wpa_supplicant.conf, i have two networks set up like this
Code:
ctrl_interface=/var/run/wpa_supplicant
# real values subsituted with non-sense for my post here
network={
ssid="networkA"
priority=1
bssid=c4:63:fe:6e:c8:60
key_mgmt=WPA-PSK
proto=RSN
psk="whatever"
priority=1
}
network={
ssid="NetworkB"
bssid=36:dc:9b:61:26:44
key_mgmt=WPA-PSK
proto=RSN
psk="whatever"
priority=2
}
Am I using the priority variable incorrectly..? It is my understanding that 0 is default, and the lower the number the bigger priority it is.