• network-priority?

    From Hans@21:1/5 to All on Sat Apr 6 09:50:45 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Hans on Sat Apr 6 09:52:46 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)