Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [networkmanager]

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.

0
votes
0answers
12 views

How to build network-manager-openvpn and network-manager-openvpn-gnome [closed]

Long story short, I want to build network-manager-openvpn and/or network-manager-openvpn-gnome from source, to fix an oooold bug in this tool (ask by many persons for more than 10 years...) and add ...
2
votes
0answers
33 views

What is the meaning of using netplan?

I’m running a few Ubuntu servers and recently started upgrading from 16.04 to 18.04. In this context I came in contact with NetworkManager and netplan. After sticking to ifupdown first, I finally ...
0
votes
0answers
22 views

Cannot resolve some domains with dnsmasq

My machine runs ArchLinux, with NetworkManager and dnsmasq. Dnsmasq should forward all requests to Google's DNS 8.8.8.8, and therefore should simply act as a local cache in front of Google's DNS. For ...
0
votes
1answer
19 views

How do use nmcli to enable dhcp for ipv4 and ipv6 on a specific interface?

I recently switch an interface from not being managed by NetworkManager to being managed but it does not get an IP. I would like to know what is the correct way to usen nmcli to enable dhcp on this ...
1
vote
0answers
70 views

Centos 7.3x & 7.4x VM's fail to bringup login service and network manager after a yum update and restart

I'm running into an odd problem that I've never encountered before. On any of our Centos 7.3x or 7.4x after I do a yum update and restart the VM will eventually come back up, but hangs during the ...
0
votes
1answer
50 views

OpenVPN exits when network connectivity is restored

I'm using OpenVPN as a daemon and when I lose the internet connection, OpenVPN waits for 2 minutes before it tries to restart each 5 seconds. This is as I want it to behave. However when the internet ...
0
votes
1answer
65 views

How to get a nameserver IP from Linux CLI? [duplicate]

When I connect to a wireless network from my laptop, Network Manager somehow requests a DNS nameserver IP from the router and writes it to /etc/resolv.conf. How can I request a nameserver address ...
0
votes
0answers
7 views

Docker container port mapping only works once per restart

My system info. Gentoo 64 bit Docker version 18.03.1-ce, build 9ee9f40 Systemd NetworkManager After I installed and started the docker service, I was able to launch the nginx container and access ...
0
votes
3answers
204 views

How to configure already statically routed IPv6 block on CentOS 7

My question is very simple yet I didn't find a solution, probably because of my lack of networking knowledge. I have a dedicated server and I manipulate it through IPMI remotely. Recently I asked for ...
0
votes
0answers
19 views

Starting Linux NetworkManager caused probable disruption in network connectivity

i had a situation on my Linux machines on Production networks, where I had used a script to start the NetworkManager, because I needed to fetch some NMCLI output details, and NMCLI was not running ...
1
vote
0answers
266 views

Disabling NetworkManager, lost connectivity

I am trying to figure out why my CentOS 7 server is not able to connect to the internet after disabling NetworkManager (installation requirement by cPanel). I have followed this tutorial here on how ...
1
vote
1answer
262 views

What is the unit of Signal as output in “nmcli dev wifi”

I want to know the unit in which The Signal is calculated. Is it in dBM ? Usually I see the dBM values are in -. What would the - and + values signify in dBM ? Also more the value is positive, does it ...
0
votes
0answers
65 views

Maintaining openVPN connection on CentOS 7 Server

Morning all, I have a headless CentOS 7 server that has an openVPN tunnel to another server at a different location. I have looked around the net and found that if I place a script inside the /etc/...
0
votes
1answer
40 views

How to undo NetworkManager changes

I accidentally modified NetworkManager with the command. nmcli con modify eno1 ipv4.dns-options 'single-request-reopen timeout:2 ndots:0' I think the modification hasn't been activated since I haven'...
0
votes
1answer
141 views

Bind NetworkManager managed dnsmasq to device when it appears

I have couple of servers running in VirtualBox interconnected by hosted-only network. The parent system is Ubuntu running NetworkManager which manages the DNS according to the connected network so my ...
0
votes
2answers
319 views

How do I set the single-request option in NetworkManager?

In our environment (lots of CentOS 7 VMs), we routinely encounter the oft-discussed issue where name service lookups result in a 5 second delay as a request times out, even on "successful" requests. ...
0
votes
2answers
2k views

NetworkManager & dnsmasq - ignore auto DNS settings

I'm running Arch Linux with NetworkManager and dnsmasq set up. It all seems to work fine, except that I try to use the new CloudFlare 1.1.1.1 DNS, but the resolver keeps using the DNS that is ...
0
votes
1answer
34 views

How to route default destination not via VPN tunnel?

There a millions of sites which describe how to configure the network routing to send all traffic through the VPN tunnel. However, what is the exact opposite? There is an OpenVPN server configured on ...
0
votes
1answer
269 views

Qubes OS OpenVPN UDP works from terminal, not from NetworkManager

TCP works either way. I've fresh installed Qubes OS 3.2. I am trying to connect to NORDVPN from the sys-net. If I open a terminal and type "sudo openvpn --config us512.nordvpn.com.udp1194.ovpn" (asks ...
6
votes
1answer
151 views

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 ...
1
vote
1answer
193 views

NetworkManager - do not allow user to disable network or connection

By default, users that are logged in on the system are able to completely disable network or connection, is there a way to disable this? Thanks
0
votes
1answer
2k views

How do I enable the wireless network adapter on centos 7 minimal install?

I have just installed CentOS 7 over an old windows PC. The CentOS 7 image was of minimal install as I had only 4 GB of pendrive available. The wifi driver named wlp18s0b1 shows in the list if I do ip ...
1
vote
0answers
147 views

Teamed port with activebackup and arp-ping link checking fails when one port dies

I have two machines which are interconnected over 2 ports and I want both ports to be teamed to have a single interconnect link. I've configured the team runner to be activebackup and the link state ...
0
votes
1answer
423 views

Avoid Replacing DHCP-discovered DNS Resolvers?

I am on CentOS 7.4 attempting to configure dnsmasq for DNS caching and per-zone DNS servers for running Consul. Essentially, the dnsmasq configuration boils down to this: # filter everything with ...
2
votes
1answer
1k views

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 ...
1
vote
0answers
266 views

Fedora 26: Docker, NetworkManager, dnsmasq startup order

I am using Docker with Consul. I have configured NetworkManager to use dnsmasq and I configured dnsmasq to listen on the Docker interface docker0. When the machine is booting, dnsmasq cannot find the ...
0
votes
1answer
205 views

Domain names not getting resolved after adding ethernet port to Open vSwitch

For a QoS experiment, I wanted to connect two VMs to Open vSwitch. I created two tap interfaces and attached the VMs to them. I added the two tap interfaces to Open vSwitch. Finally, I added the ...
0
votes
1answer
256 views

How can I have NetworkManger automatically connect to a network?

I am trying to prepare several machines that will be used at a single location. I know the SSID of the network and it will be unsecured. Is there a way to add the network in NetworkManager so that ...
0
votes
1answer
466 views

nmcli is not working in Kickstart script

I have the following commands in a Kickstart post-install script: firewall-offline-cmd --new-zone=management firewall-offline-cmd --zone=management --add-service=ssh --add-service=snmp firewall-...
0
votes
0answers
64 views

How do I configure NetworkManger-OpenVPN to only use a VPN for some IPs?

My company is using a pfsense router to manage a simple VPN for the office. The idea is that I should be able to connect to the VPN from home and use it to (a) access servers on the office LAN and (b)...
7
votes
2answers
4k views

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 ...
5
votes
2answers
5k views

How do I supply a password to NetworkManager-openconnect automatically?

I am running a RedHat Enterprise Linux 7.3 server with NetworkManager 1.4 that needs periodic access over VPN to a client's network using openconnect 7.06-1.el7. I can use nmcli to connect with the --...
5
votes
2answers
14k views

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 ...
0
votes
1answer
43 views

I'm trying to ascertain how is my Networkmanager receives specific name server information- possibly Cobbler related

When I: cat /etc/resolve.conf I see: # Generated by NetworkManager nameserver 10.100.48.19 nameserver 10.100.48.17 When I change this info then reboot, the original information returns. I'm ...
0
votes
1answer
504 views

manually configure resolv.conf

I am trying to setup dnsmasq on my machine, however I am having an issue with setting the order or nameservers correctly. My interface is assigned DNS servers via NetworkManager and DHCP, and those ...
1
vote
0answers
237 views

CentOS - Network card suddenly unable to communicate with devices outside of the local subnet

I have a CentOS 7 (previously CentOS 6) HP DL385p server which is connected via a single NIC (using SFP converter to copper) to the local LAN. On top of that, it uses the F5 VPN client in order to ...
1
vote
1answer
421 views

How to convert ip configuration from dhcp to static using nmcli?

is there a way to use nmcli to convert dhcp acquired IP configuration (IP,Mask,Gateway,DNS) to static configuration? Preferable in a way that i can use in a script? Thanks
3
votes
2answers
162 views

Find which program is replacing my resolv.conf file

I use network-manager on Debian 8. My config contains some custom DNS servers, so my /etc/resolv.conf file generated by network-manager looks like this: # Generated by NetworkManager search rudloff....
4
votes
0answers
613 views

nmcli static routes are ignored

I'm in doubt about how NetworkManager through nmcli manages static routes. I have a CentOS 7.1.1503 server with three network interfaces: [root@brick ~ ]# nmcli con show NOMBRE UUID ...
1
vote
2answers
4k views

dnsmasq on virbr0 (libvirt) and network manager

I want to run dnsmasq on my local machine in order to configure a wildcard to resolve to 127.0.0.1 for testing purposes. However, when I went to start dnsmasq with systemd I got the following error ...
10
votes
3answers
51k views

“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 ...
0
votes
0answers
1k views

no default gateway on interface that is set up with DHCP on CentOS7

I am using CentOS7 with multiple interfaces (ens161, ens192, ens224, ens256). The box has all static IP's with the exception of one interface that is set up to DHCP (ens192). ens192 is set up as ...
1
vote
1answer
31 views

Can't reach outside of network boundary without NetworkManager

This is more a sanity check than anything... Using RHEL 6.6 So, we had a machine that was taken off the network during some upgrades. In that time I must have decided to switch it from using ...
0
votes
2answers
409 views

Centos 7 nmcli creating new connections after reload

I have a Centos 7 server, on which I have configured two connections for the two NICs the server has. When I issue the command nmcli con show, I get this: [root@aplicaciones ~ ]# nmcli con show ...
1
vote
1answer
664 views

Routing issue on Linux with Mobile Broadband

Note: This is a "cross-post", I asked this same question on "superuser" StackExchange site, but without obtain any answers, just a comment (now curiously disappeared). I've thought this site is ...
2
votes
1answer
299 views

How to persist on a wifi network in a ubuntu machine?

I've got a Ubuntu machine running a software that requires internet. However, sometimes the wifi fails (router reboot for example) and doesn't find the network again, until I manually service network-...
12
votes
3answers
17k views

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? ...
5
votes
1answer
3k views

Bridge on vlan on teaming for KVM

I have problem to create bridge on vlan on teaming. Why I do something like that? - Kvm needs bridge - Vlans because I need vm’s in different subnets - Teaming in option active-backup (small HA) I do ...
2
votes
1answer
683 views

Are there good reasons not to disable /etc/init.d/network on centos-7 in favor of exclusively using NetworkManager?

rhel-7/centos-7 network configuration is bizarre -- largely because they are straddling between the old (shell scripts usually invoked by /etc/init.d/network which mutate configuration state of ...
0
votes
1answer
656 views

CentOS 7.0 1406 installation fails on NetworkManager time out

Installing CentOS 7 on Supermicro SYS-6027TR-HTRF. The installer stops at: Error calling StartServiceByName for org.freedesktop.NetworkManager: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: ...