Ubuntu 16.04: Where is the network configuration?
I am using Ubuntu 16.04. In the past, I have always configured my network through the /etc/network/interfaces file but for this install, I have used the 'Edit Connections' option from the Gnome taskbar network menu. My network is configured and works, but the interfaces file just contains
auto lo
iface lo inet loopback
So, where is the actual configuration for the network stored and why is it not in the interfaces file?
16.04 networking
This question has an open bounty worth +50
reputation from anonymous2 ending in 7 days.
One or more of the answers is exemplary and worthy of an additional bounty.
I keep coming back to this answer. Maybe it's my bad memory, but whatever the case, I'd like to award it an extra thank you. :)
add a comment |
I am using Ubuntu 16.04. In the past, I have always configured my network through the /etc/network/interfaces file but for this install, I have used the 'Edit Connections' option from the Gnome taskbar network menu. My network is configured and works, but the interfaces file just contains
auto lo
iface lo inet loopback
So, where is the actual configuration for the network stored and why is it not in the interfaces file?
16.04 networking
This question has an open bounty worth +50
reputation from anonymous2 ending in 7 days.
One or more of the answers is exemplary and worthy of an additional bounty.
I keep coming back to this answer. Maybe it's my bad memory, but whatever the case, I'd like to award it an extra thank you. :)
1
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46
add a comment |
I am using Ubuntu 16.04. In the past, I have always configured my network through the /etc/network/interfaces file but for this install, I have used the 'Edit Connections' option from the Gnome taskbar network menu. My network is configured and works, but the interfaces file just contains
auto lo
iface lo inet loopback
So, where is the actual configuration for the network stored and why is it not in the interfaces file?
16.04 networking
I am using Ubuntu 16.04. In the past, I have always configured my network through the /etc/network/interfaces file but for this install, I have used the 'Edit Connections' option from the Gnome taskbar network menu. My network is configured and works, but the interfaces file just contains
auto lo
iface lo inet loopback
So, where is the actual configuration for the network stored and why is it not in the interfaces file?
16.04 networking
16.04 networking
asked Aug 20 '17 at 15:43
SpeakjavaSpeakjava
4212
4212
This question has an open bounty worth +50
reputation from anonymous2 ending in 7 days.
One or more of the answers is exemplary and worthy of an additional bounty.
I keep coming back to this answer. Maybe it's my bad memory, but whatever the case, I'd like to award it an extra thank you. :)
This question has an open bounty worth +50
reputation from anonymous2 ending in 7 days.
One or more of the answers is exemplary and worthy of an additional bounty.
I keep coming back to this answer. Maybe it's my bad memory, but whatever the case, I'd like to award it an extra thank you. :)
1
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46
add a comment |
1
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46
1
1
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46
add a comment |
1 Answer
1
active
oldest
votes
If you setup a connection using Network Manager, it is stored in
/etc/NetworkManager/system-connections/
A file for each connection is created there.
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common isnmcli
. In RHCA it suggest that only usenmcli
for editing NIC profiles . @MichaelBay
– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about theinterfaces
file ;-)
– Pilot6
Aug 20 '17 at 16:18
|
show 1 more comment
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
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%2faskubuntu.com%2fquestions%2f948078%2fubuntu-16-04-where-is-the-network-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you setup a connection using Network Manager, it is stored in
/etc/NetworkManager/system-connections/
A file for each connection is created there.
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common isnmcli
. In RHCA it suggest that only usenmcli
for editing NIC profiles . @MichaelBay
– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about theinterfaces
file ;-)
– Pilot6
Aug 20 '17 at 16:18
|
show 1 more comment
If you setup a connection using Network Manager, it is stored in
/etc/NetworkManager/system-connections/
A file for each connection is created there.
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common isnmcli
. In RHCA it suggest that only usenmcli
for editing NIC profiles . @MichaelBay
– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about theinterfaces
file ;-)
– Pilot6
Aug 20 '17 at 16:18
|
show 1 more comment
If you setup a connection using Network Manager, it is stored in
/etc/NetworkManager/system-connections/
A file for each connection is created there.
If you setup a connection using Network Manager, it is stored in
/etc/NetworkManager/system-connections/
A file for each connection is created there.
answered Aug 20 '17 at 15:47
Pilot6Pilot6
52.9k15108197
52.9k15108197
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common isnmcli
. In RHCA it suggest that only usenmcli
for editing NIC profiles . @MichaelBay
– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about theinterfaces
file ;-)
– Pilot6
Aug 20 '17 at 16:18
|
show 1 more comment
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common isnmcli
. In RHCA it suggest that only usenmcli
for editing NIC profiles . @MichaelBay
– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about theinterfaces
file ;-)
– Pilot6
Aug 20 '17 at 16:18
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
Is it advisable to manually edit those? If not then a note/warning perhaps is a good idea?
– user692175
Aug 20 '17 at 15:50
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
You can edit those manually. I see no problem with that. Some of the setting are not available from GUI.
– Pilot6
Aug 20 '17 at 15:51
3
3
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common is
nmcli
. In RHCA it suggest that only use nmcli
for editing NIC profiles . @MichaelBay– Ali Ghasempour
Aug 20 '17 at 16:11
In new Network manager it's recommend that won't edit configuration file manually . There are some rich commands for editing persistent NIC configuration . Most common is
nmcli
. In RHCA it suggest that only use nmcli
for editing NIC profiles . @MichaelBay– Ali Ghasempour
Aug 20 '17 at 16:11
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
Thanks for clearing that up. I'd still like to know why this tool can't just put this configuration information in the /etc/network/interfaces file. Why use one way when you can have multiple confusing ways to do the same thing, eh?
– Speakjava
Aug 20 '17 at 16:17
These are different ways of setting network. If you edit
/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about the interfaces
file ;-)– Pilot6
Aug 20 '17 at 16:18
These are different ways of setting network. If you edit
/etc/network/interfaces
, NM will be disabled. Nothing is confusing. For a desktop forget about the interfaces
file ;-)– Pilot6
Aug 20 '17 at 16:18
|
show 1 more comment
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f948078%2fubuntu-16-04-where-is-the-network-configuration%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
1
It is stored in Network Manger
– Pilot6
Aug 20 '17 at 15:46