Hello guys! I have this problem:
I have two wifi connections, and want assign higher priority to one of them. So I created two files in the system-connections folder, and put a bigger autoconnect-priority value to one of them.
The problem is: when both networks are available, it always connects to the same one.
I want my device to connect to the one with ssid=secondnetwork if both available
What can I do?
Here is the content of the files:
File #1:
[connection]
id=randomid
type=wifi
autoconnect-priority=0
[wifi]
hidden=true
mode=infrastructure
ssid=random
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=randompassword
File #2:
[connection]
id=secondnetwork
type=wifi
autoconnect-priority=1
[wifi]
hidden=true
mode=infrastructure
ssid=Hackers
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=42424242