Re: network-priority?
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-priority int32 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.
Reply to: