[SOLVED Re: network-priority?

2024-04-05 Thread Hans
Hi all,

thank you for the fast response. Your answers did help much and made 
everything clear.

Have a nice weekend!

Best

Hans 




Re: network-priority?

2024-04-04 Thread Max Nikulin

On 05/04/2024 04:29, David Wright wrote:

autoconnect-priorityint32   0 [...]
from
https://developer-old.gnome.org/NetworkManager/stable/settings-connection.html

(I don't know the significance of -old.)


It is documented in nm-settings-nmcli(5)




Re: network-priority?

2024-04-04 Thread David Wright
On Thu 04 Apr 2024 at 19:11:31 (+0200), Hans wrote:
> again an easy thing, I did not understand and where I did not find a clear 
> answer in the web.
> 
> Question:
> 
> In network-manager I find "network-priority" set to "0". 
> 
> Is zero the highes priority or the lowest? 

This might be what you mean:

autoconnect-priorityint32   0   The autoconnect priority.
If the connection is set to autoconnect, connections with higher
priority will be preferred. Defaults to 0. The higher number
means higher priority.

from
https://developer-old.gnome.org/NetworkManager/stable/settings-connection.html

(I don't know the significance of -old.)

> Lets imagine, i have 3 wifi (wifi-1, wifi-2 and wifi-3).  
> wifi-1 one should be the first, I want to connect, then wifi-2 and last 
> wifi-3.
> 
> How it is to set? 
> 
> wifi-1 = 0
> wifi-2 = 1
> wifi-2 = 2
> 
> or 2,1,0?

The latter. I assume you'll choose better names and avoid the typo.
You might prefer higher numbers, leaving zero for the default;
say 30, 20, 10.

Cheers,
David.



network-priority?

2024-04-04 Thread Hans
Hi folks, 

again an easy thing, I did not understand and where I did not find a clear 
answer in the web.

Question:

In network-manager I find "network-priority" set to "0". 

Is zero the highes priority or the lowest? 

Lets imagine, i have 3 wifi (wifi-1, wifi-2 and wifi-3).  
wifi-1 one should be the first, I want to connect, then wifi-2 and last 
wifi-3.

How it is to set? 

wifi-1 = 0
wifi-2 = 1
wifi-2 = 2

or 2,1,0?

Or are the numbers code for behaviour? (Here I think like numbers at files, 
where 577 = r-x,rwx,rwx)

A short answer is very ok.

Best 

Hans