NetworkManager is a daemon, accessible via dbus, that provides high-level interface management. There are a number of ways for end users to access it: the command line `nmcli` program, the text-based-UI `nmtui` program, and the Gnome `nm-applet` program, among others.
Questions tagged [networkmanager]
153 questions
57
votes
4 answers
How to manage DNS in NetworkManager via console (nmcli)?
I have CentOS 7.2 (guest in VirtualBox, vagrant box centos/7, no GUI).
I see there is a nameserver in file:
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.0.2.3
But how to add or replace with new one?
I have done this manually…

Kirby
- 1,009
- 1
- 10
- 16
33
votes
8 answers
NetworkManager is not changing /etc/resolv.conf after openvpn dns push
I've got a problem which is "NetworkManager is not updating /etc/resolv.conf after openvpn connection with dns push configured".
Here's my openvpn server config: (I've changed domain name to ABC.COM for security reason…

jaor
- 435
- 1
- 4
- 7
30
votes
4 answers
No network connectivity to/from Docker CE container on CentOS 8
I just installed the latest release of docker-ce on CentOS, but I can't reach published ports from a neighboring server and can't reach the outside from the container itself.
Running a plain vanilla CentOS 8 with NetworkManager and FirewallD…

Saustrup
- 1,183
- 1
- 8
- 12
24
votes
7 answers
How do I force NetworkManager to update /etc/resolv.conf?
If I add a new DNS server using nmcli connection modify eth0 +ipv4.dns 8.8.8.8, I still have to update /etc/resolv.conf for the resolver to pick up the changes, right? So how do I force the update?
The only way I found was restarting the network…

Mihai
- 3,076
- 3
- 14
- 12
21
votes
6 answers
"RTNETLINK answers: File exists" /etc/network/interfaces Does'nt contain 2 gateways, so what's wrong?
This is my /etc/network/interfaces file contents
The only way this is taking effect is when the system reboots.
I'm trying to get it effected manually. My attempts below.
auto eth0
iface eth0 inet static
address 192.168.1.57
…

wolfgang
- 315
- 1
- 2
- 6
15
votes
3 answers
What is the relation between NetworkManager and network service in Fedora/RHEL/Centos?
Hi I am new to Fedora/Centos/RHEL. I am confused about NetworkManager and network service in these Linux OS. May I know what is the relation between NetworkManager and network service?
If I am using NetworkManager, do i need to turn off network…

userpal
- 613
- 4
- 10
- 17
10
votes
2 answers
NetworkManager does not bring up interface after reboot
I create an OVS bridge with:
# ovs-vsctl add-br br-int
This create a netdevice that I can see in ifconfig. And then I create a NetworkManager connection and bring it up:
# nmcli connection add type generic con-name br-int autoconnect yes ifname…

user389238
- 632
- 4
- 8
- 18
10
votes
17 answers
Inexpensive Network Monitoring tools for Windows
I'm looking for a free or inexpensive Windows-based network monitoring tool for a small network. I'm familiar with Nagios, but we run a Windows-only shop and I don't want one oddball Linux machine to worry about. What options do I have?
(Note: I…
user640
9
votes
3 answers
Network Manager: failover between two default gateways
Is Network Manager able to check if a default gateway can route packages to the internet?
I have two interfaces, both provide a route to the internet.
When I unplug a cable from any of them, default gateway is being updated and my internet…

Volodymyr Linevych
- 193
- 1
- 1
- 8
9
votes
1 answer
teaming with nmcli: bringing connection down and up again fails
On a centos 7 virtual box, I create a team like this:
nmcli connection add type team con-name team0 ifname veteam0
nmcli connection modify team0 team.config roundrobin.conf
[root@rhce1 ~]# cat roundrobin.conf
{
"device": …

Isaac
- 1,215
- 3
- 26
- 44
9
votes
4 answers
How can I set a search domain (and other resolv.conf parameters) in Ubuntu?
I like Ubuntu's NetworkManager -- it does a great job keeping track of all my WiFi parameters and passwords. However, when I actually plug in an Ethernet cable, the frustration begins.
When hooked up to my work LAN, I'd like to force a particular…

mike
- 3,963
- 11
- 30
- 27
9
votes
3 answers
Ubuntu resolv.conf, not going to next nameserver?
I am using Ubuntu 10.04 Desktop, which comes by default with the "Network Manager" (which I am highly suspicious of).
I am having an issue with resolving DNS zones on 2 different nameservers.
resolv.conf:
$ cat /etc/resolv.conf
#Generated by…

Cory J
- 1,568
- 5
- 19
- 28
8
votes
1 answer
Linux self recovering DHCP after really long downtime?
I have a few CentOS 6/7 systems (non-production, experimental purposes) that have been configured to use DHCP for their IP address. Last week there was a big network disruption and I found that those systems had lost their IP address and the DHCP…

Niels Basjes
- 2,196
- 3
- 19
- 26
7
votes
4 answers
NIS failing to bind
I have a bunch of machines which authenticate via NIS to a central server. I just bought a new CentOS 6.2 client machine, and it can't authenticate.
The following is a list of the classics people get wrong/forget when dealing with NIS:
1) The…

Alex
- 451
- 1
- 5
- 15
7
votes
3 answers
How to connect to VPN from the command line in Linux?
I have different tunnels that I configured using the network manager GUI.
When I login to my desktop, I'm connected to the internet without any tunnels. To connect to a tunnel, I usually click on the network manager tray icon > VPN connections >…

HappyDeveloper
- 654
- 2
- 6
- 13