RE: network manager default value



Hi,

Thank you very much  for the good answer.

nmcli connection show "$PROFILE" is able to show the default value. For example:
802-11-wireless.powersave:              0 (default)

`man NetworkManager.conf`  provides useful info too.

` man nm-settings` shows some info as well.

Thanks.

Regards
victor

-----Original Message-----
From: Thomas Haller <thaller redhat com>
Sent: Friday, November 13, 2020 5:51 PM
To: Victor Yeo <Victor Yeo lairdconnect com>; networkmanager-list gnome org
Subject: Re: network manager default value

On Thu, 2020-11-12 at 13:44 +0000, Victor Yeo via networkmanager-list
wrote:
Hi,

In network manager, what is the default value for security and radio
mode  ?  as well as default value for TX power, radio channel, radio
channel list ?



Hi,


in NetworkManager, you create connection profiles (and activate them).

Connection profiles consist of many properties, that you see with `nmcli connection show "$PROFILE"` (`man 
nm-settings`). A property is always set, so there is no "default". And it was the client tool that created 
the profile -- usually profiles are created by the user.

Actually, some properties have a special "default" value, where the fallback value can be configured in 
NetworkManager.conf. See "CONNECITON SECTION" in `man NetworkManager.conf`. But essentially the value is 
still specified in the profile, and it merely says: look at NetworkManage.conf to get the actual value.


If you use a client tool to create a profile (like calling `nmcli connection add type ethernet`), then at 
that time a lot of default values will be chosen. But it was still entirely up to the client tool that you 
are using. E.g. in nmcli you could have specified those properties right away. For example, if you open 
nm-connection-editor to create a new profile, then the dialog will also be pre-populated with default values 
-- depending on the tool.



OK, this wasn't a very useful answer so far :)

You ask about "security and radio mode" and " TX power, radio channel, radio channel list". It's not clear 
what you mean there. There are some related properties of connection profiles, like wifi.powersave, 
wifi.tx-power, wifi.channel. See `man nm-settings`.

What default these properties have, depends on how you configure the profile when you create it (or whether 
the tool allows you to configure them). But commonly, the default at that point is something that makes sense 
(ie. not specify/restrict things). Check `nmcli connection show`.


best,
Thomas
THIS MESSAGE, ANY ATTACHMENT(S), AND THE INFORMATION CONTAINED HEREIN MAY BE PROPRIETARY TO LAIRD 
CONNECTIVITY, INC. AND/OR ANOTHER PARTY, AND MAY FURTHER BE INTENDED TO BE KEPT CONFIDENTIAL. IF YOU ARE NOT 
THE INTENDED RECIPIENT, PLEASE DELETE THE EMAIL AND ANY ATTACHMENTS, AND IMMEDIATELY NOTIFY THE SENDER BY 
RETURN EMAIL. THIS MESSAGE AND ITS CONTENTS ARE THE PROPERTY OF LAIRD CONNECTIVITY, INC. AND MAY NOT BE 
REPRODUCED OR USED WITHOUT THE EXPRESS WRITTEN CONSENT OF LAIRD CONNECTIVITY, INC.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]