6

When using Ubuntu 16.04.5 LTS, is it possible to rank, in order of preference, which wireless network one's computer should connect to first, second, etc?

3
7
nmcli connection modify wdn connection.autoconnect-priority 10

On my system that makes it:

rinzwind@schijfwereld:~$ nmcli -f autoconnect-priority,name c 
AUTOCONNECT-PRIORITY  NAME              
5                     schijfwereld-2.4g 
10                    schijfwereld-5g   
-999                  UTP               
10                    wdn      

A higher numbers gets a higher priority.

Depending on the Ubuntu release and flavour

nm-connection-editor 

Connection Editor allows you to set automatic connection with a priority level (from the general tab)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.