Where does Network Manager store settings?
When I type:
nmcli con show wlan0
One of the settings is:
802-11-wireless.band: bg
Where is this setting stored on disk?
It isn't in: /etc/sysconfig/network-scripts/ifcfg-wlan0
I've grepped everything in lib, var, etc, and usr and I haven't been able to find it.
networkmanager
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
When I type:
nmcli con show wlan0
One of the settings is:
802-11-wireless.band: bg
Where is this setting stored on disk?
It isn't in: /etc/sysconfig/network-scripts/ifcfg-wlan0
I've grepped everything in lib, var, etc, and usr and I haven't been able to find it.
networkmanager
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
When I type:
nmcli con show wlan0
One of the settings is:
802-11-wireless.band: bg
Where is this setting stored on disk?
It isn't in: /etc/sysconfig/network-scripts/ifcfg-wlan0
I've grepped everything in lib, var, etc, and usr and I haven't been able to find it.
networkmanager
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
When I type:
nmcli con show wlan0
One of the settings is:
802-11-wireless.band: bg
Where is this setting stored on disk?
It isn't in: /etc/sysconfig/network-scripts/ifcfg-wlan0
I've grepped everything in lib, var, etc, and usr and I haven't been able to find it.
networkmanager
networkmanager
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 1 hour ago
adpatter
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
adpatteradpatter
83
83
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
adpatter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Check the /etc/NetworkManager/system-connections/ directory. It should contain information for all saved network connections.
Edit:
The result from the command grep '802-11-wireless' `which nmcli` (which matches) implies that the formatting of the output of nmcli is done by the nmcli utility itself and not directly read from a file. Some of the data displayed on the right columns is read from somewhere though (bg in your case). You should find one of the longer ones which doesn't seem to have been formatted by the nmcli utility and grep for that.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
add a comment |
NetworkManager supports various plugins, which can define new storage locations for configuration information. The currently enabled plugins can be found in /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
The generic default plugin is keyfile, which stores configurations in /etc/NetworkManager/system-connections directory, in files similar to Windows .ini files.
Other plugins may be distribution-specific:
Fedora and RedHat use
ifcfg-rh, which will both read and write/etc/sysconfig/network-scripts/ifcfg-*files.Debian and Ubuntu use
ifupdown, which is a read-only plugin: it reads/etc/network/interfacesbut does not make any changes to it. Any configuration changes you make through NetworkManager will be saved using thekeyfileplugin instead.SuSE apparently used to have
ifcfg-suse, but it seems to be deprecated.Other distributions may have their own plugins.
Having said that, the 802-11-wireless.band setting probably gets its default value from the WiFi NIC capabilities reported by the driver. It would be saved only if you wanted to explicitly restrict the NIC to only some types of WiFi networking.
If your WiFi NIC can only transmit in the 2.4 GHz band, you cannot add a or ac capabilities by just reconfiguring the software or the driver: it would require a new radio module and a new antenna tuned for the 5.0 GHz band.
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
adpatter is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501260%2fwhere-does-network-manager-store-settings%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check the /etc/NetworkManager/system-connections/ directory. It should contain information for all saved network connections.
Edit:
The result from the command grep '802-11-wireless' `which nmcli` (which matches) implies that the formatting of the output of nmcli is done by the nmcli utility itself and not directly read from a file. Some of the data displayed on the right columns is read from somewhere though (bg in your case). You should find one of the longer ones which doesn't seem to have been formatted by the nmcli utility and grep for that.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
add a comment |
Check the /etc/NetworkManager/system-connections/ directory. It should contain information for all saved network connections.
Edit:
The result from the command grep '802-11-wireless' `which nmcli` (which matches) implies that the formatting of the output of nmcli is done by the nmcli utility itself and not directly read from a file. Some of the data displayed on the right columns is read from somewhere though (bg in your case). You should find one of the longer ones which doesn't seem to have been formatted by the nmcli utility and grep for that.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
add a comment |
Check the /etc/NetworkManager/system-connections/ directory. It should contain information for all saved network connections.
Edit:
The result from the command grep '802-11-wireless' `which nmcli` (which matches) implies that the formatting of the output of nmcli is done by the nmcli utility itself and not directly read from a file. Some of the data displayed on the right columns is read from somewhere though (bg in your case). You should find one of the longer ones which doesn't seem to have been formatted by the nmcli utility and grep for that.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Check the /etc/NetworkManager/system-connections/ directory. It should contain information for all saved network connections.
Edit:
The result from the command grep '802-11-wireless' `which nmcli` (which matches) implies that the formatting of the output of nmcli is done by the nmcli utility itself and not directly read from a file. Some of the data displayed on the right columns is read from somewhere though (bg in your case). You should find one of the longer ones which doesn't seem to have been formatted by the nmcli utility and grep for that.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 2 days ago
Daniel AtanasovDaniel Atanasov
703
703
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Daniel Atanasov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
add a comment |
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
I would up vote this if I could.
– adpatter
yesterday
I would up vote this if I could.
– adpatter
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
@adpatter if it solves your problem you could click the check mark.
– Jeff Schaller
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
It's a clever approach to understanding the problem, but it doesn't answer the question of where the setting is stored on the disk - or if it is.
– adpatter
yesterday
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
I tried searching for the name of one of the connections, "System eth0", but it didn't turn up anything.
– adpatter
1 hour ago
add a comment |
NetworkManager supports various plugins, which can define new storage locations for configuration information. The currently enabled plugins can be found in /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
The generic default plugin is keyfile, which stores configurations in /etc/NetworkManager/system-connections directory, in files similar to Windows .ini files.
Other plugins may be distribution-specific:
Fedora and RedHat use
ifcfg-rh, which will both read and write/etc/sysconfig/network-scripts/ifcfg-*files.Debian and Ubuntu use
ifupdown, which is a read-only plugin: it reads/etc/network/interfacesbut does not make any changes to it. Any configuration changes you make through NetworkManager will be saved using thekeyfileplugin instead.SuSE apparently used to have
ifcfg-suse, but it seems to be deprecated.Other distributions may have their own plugins.
Having said that, the 802-11-wireless.band setting probably gets its default value from the WiFi NIC capabilities reported by the driver. It would be saved only if you wanted to explicitly restrict the NIC to only some types of WiFi networking.
If your WiFi NIC can only transmit in the 2.4 GHz band, you cannot add a or ac capabilities by just reconfiguring the software or the driver: it would require a new radio module and a new antenna tuned for the 5.0 GHz band.
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
add a comment |
NetworkManager supports various plugins, which can define new storage locations for configuration information. The currently enabled plugins can be found in /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
The generic default plugin is keyfile, which stores configurations in /etc/NetworkManager/system-connections directory, in files similar to Windows .ini files.
Other plugins may be distribution-specific:
Fedora and RedHat use
ifcfg-rh, which will both read and write/etc/sysconfig/network-scripts/ifcfg-*files.Debian and Ubuntu use
ifupdown, which is a read-only plugin: it reads/etc/network/interfacesbut does not make any changes to it. Any configuration changes you make through NetworkManager will be saved using thekeyfileplugin instead.SuSE apparently used to have
ifcfg-suse, but it seems to be deprecated.Other distributions may have their own plugins.
Having said that, the 802-11-wireless.band setting probably gets its default value from the WiFi NIC capabilities reported by the driver. It would be saved only if you wanted to explicitly restrict the NIC to only some types of WiFi networking.
If your WiFi NIC can only transmit in the 2.4 GHz band, you cannot add a or ac capabilities by just reconfiguring the software or the driver: it would require a new radio module and a new antenna tuned for the 5.0 GHz band.
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
add a comment |
NetworkManager supports various plugins, which can define new storage locations for configuration information. The currently enabled plugins can be found in /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
The generic default plugin is keyfile, which stores configurations in /etc/NetworkManager/system-connections directory, in files similar to Windows .ini files.
Other plugins may be distribution-specific:
Fedora and RedHat use
ifcfg-rh, which will both read and write/etc/sysconfig/network-scripts/ifcfg-*files.Debian and Ubuntu use
ifupdown, which is a read-only plugin: it reads/etc/network/interfacesbut does not make any changes to it. Any configuration changes you make through NetworkManager will be saved using thekeyfileplugin instead.SuSE apparently used to have
ifcfg-suse, but it seems to be deprecated.Other distributions may have their own plugins.
Having said that, the 802-11-wireless.band setting probably gets its default value from the WiFi NIC capabilities reported by the driver. It would be saved only if you wanted to explicitly restrict the NIC to only some types of WiFi networking.
If your WiFi NIC can only transmit in the 2.4 GHz band, you cannot add a or ac capabilities by just reconfiguring the software or the driver: it would require a new radio module and a new antenna tuned for the 5.0 GHz band.
NetworkManager supports various plugins, which can define new storage locations for configuration information. The currently enabled plugins can be found in /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
The generic default plugin is keyfile, which stores configurations in /etc/NetworkManager/system-connections directory, in files similar to Windows .ini files.
Other plugins may be distribution-specific:
Fedora and RedHat use
ifcfg-rh, which will both read and write/etc/sysconfig/network-scripts/ifcfg-*files.Debian and Ubuntu use
ifupdown, which is a read-only plugin: it reads/etc/network/interfacesbut does not make any changes to it. Any configuration changes you make through NetworkManager will be saved using thekeyfileplugin instead.SuSE apparently used to have
ifcfg-suse, but it seems to be deprecated.Other distributions may have their own plugins.
Having said that, the 802-11-wireless.band setting probably gets its default value from the WiFi NIC capabilities reported by the driver. It would be saved only if you wanted to explicitly restrict the NIC to only some types of WiFi networking.
If your WiFi NIC can only transmit in the 2.4 GHz band, you cannot add a or ac capabilities by just reconfiguring the software or the driver: it would require a new radio module and a new antenna tuned for the 5.0 GHz band.
answered yesterday
telcoMtelcoM
17.9k12347
17.9k12347
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
add a comment |
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
One of my connections (nmcli con show) is named "System eth0" I cannot find that string anywhere in any of the files in any of the relevant directories. I wonder if Network Manager is encrypting its settings.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
/etc/NetworkManager/system-connections is empty on my system (Centos 7 Arm) and none of the plugins are explicitly enabled in the config file.
– adpatter
1 hour ago
add a comment |
adpatter is a new contributor. Be nice, and check out our Code of Conduct.
adpatter is a new contributor. Be nice, and check out our Code of Conduct.
adpatter is a new contributor. Be nice, and check out our Code of Conduct.
adpatter is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501260%2fwhere-does-network-manager-store-settings%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown