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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

No DNS on PXE booted Linux Live System with NetworkManager

I've built a custom Debian Live CD (using live-boot and containing a kernel, initrd and a filesystem.squashfs) which includes specific tools we regularly use. The Live CD works flawlessly if booted ...
user avatar
0 votes
1 answer
13 views

Network-Manager automatically disconnects after 20 seconds

I have a Quectel EG25-G setup but whenever I connect (right after a reboot) it connects for 20 seconds and then disconnects. It happens at the Jun 24 06:01:44 linux NetworkManager[5070]: <info> ...
user avatar
  • 101
0 votes
0 answers
16 views

Fedora 35, NetworkManager: <warn> ... conflict for address 192.168.178.9 detected with host 68:54:5A:FB:2A:7F on interface 'eth0'

Whilst tinkering around, I noticed that NetworkManager complained about an IP conflict when I plugged the ethernet cable in. However, arp, nmap and eyeballing various files disagree. Can anyone help ...
user avatar
0 votes
0 answers
24 views

Creating a gsm (LTE) connection without APN in NetworkManager

I work with a device that has an LTE modem, which has been working properly so far for many users out-of-the-box without having to configure its APN - this is not the case for all users, some of them ...
user avatar
  • 101
0 votes
0 answers
18 views

What would cause my IPv6 connectivity to keep dying, with a reboot fixing it each time?

Centos 8 Stream When I first boot my server up, ipv6 works fine. I can ping another ipv6 address without issue. A few (10?) minutes later, it stops working. Rebooting the box fixes it, but I can't ...
user avatar
  • 1,034
0 votes
0 answers
52 views

Debian server network connection keeps dropping

Background I'm working on an internal server running Debian Uname - r output : Linux osteocalcine 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux This server (which is planned ...
user avatar
  • 111
1 vote
0 answers
10 views

Where can I set additional conf files for NetworkManager

I am using Linode and every single time I boot my server, Linode (cloud provider) ovewrites the file below: /etc/sysconfig/network-scripts/ifcfg-eth0 This is well documented and expected in order to ...
user avatar
1 vote
1 answer
76 views

Setting global DNS + MAC address settings on a Debian-based Linux distribution with systemd-resolved + NetworkManager

I'm running a Debian-based Linux distribution, specifically Pop!_OS 22.04 (Ubuntu jammy). I'd like to set custom DNS + MAC address settings globally - that is, to be applied to all network connections ...
user avatar
  • 13
0 votes
0 answers
25 views

Why is NetworkManager in disabled status?

ubuntu 20.04 server host Tell me why when getting nmcli status nmcli general I get STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN disconnected unknown enabled enabled enabled ...
user avatar
  • 111
1 vote
1 answer
57 views

How to connect to a Cisco VPN in "native mode"?

I need to connect to a VPN, but I am not an expert on the subject at all, so if anyone can help me, I would appreciate it. I was given the following data, telling me that this info is for a "...
user avatar
  • 151
0 votes
0 answers
13 views

How to get a static internal IP for a 4G modem using ModemManager and NetworkManager?

I have around 16 EM160R-GL 4G USB modems connected to one Ubuntu server, which I use NetworkManager to dial up to the ISP. The problem is that the network interface I am getting on my machine has an ...
user avatar
0 votes
0 answers
15 views

no NetworkManager - no network services (dns, dhcp etc.)?

Does disabling NetworkManager on RedHat systems break network services? In other words, is it NetworkManager that is in charge to start/stop the network services, or systemd? I don't want to have the ...
user avatar
  • 209
0 votes
0 answers
271 views

Server network interface not working properly

I recently bought a ZT Openrack server from eBay (the seller mentioned it was a OCP server) planning to use it as a simple file server, and it arrived a few weeks ago. However, it appeared to not ...
user avatar
0 votes
0 answers
143 views

No longer have access to server externally - network manager

I have just swapped over an ethernet interface on my ubuntu 20 server to be managed by network manager (the others were already managed by it, this was the straggler) The issue now seems however that ...
user avatar
0 votes
1 answer
311 views

Failed to start the IKEv2 VPN connection to surfshark via NetworkManager

I try to connect to surfshark VPN provider through IKEv2 manually. Here are the logs charon-nm[5070]: 05[CFG] received initiate for NetworkManager connection Surfshark IKE2 charon-nm[5070]: 05[CFG] ...
user avatar
  • 103
0 votes
1 answer
1k views

/etc/resolv.conf is missing after installation of RHEL 8

I have installed RedHat Enterprise Linux 8.4 (minimal install) on my local server, and got some docker related issues. Then I found that /etc/resolv.conf was missing. After executing "systemctl ...
user avatar
  • 236
1 vote
0 answers
55 views

Debian NetworkManager fails to reconnect

Following the NetworkManager description https://wiki.debian.org/NetworkManager the goal of NetworkManager is: NetworkManager attempts to keep an active network connection available at all times. I ...
user avatar
0 votes
0 answers
222 views

PPTP mschapv2 no response

Using NetworkManager PPTP VPN plugin I am trying to connect to VPN. Still get timeouts, logs: July 24 00:26:50 abraham NetworkManager[5654]: Plugin /usr/lib/pppd/2.4.9/nm-pptp-pppd-plugin.so loaded. ...
user avatar
0 votes
2 answers
219 views

What does "ip4 default" mean in NetworkManager nmcli output?

My output of nmcli on my machine is as follows: enp129s0f0: connected to enp129s0f0 "Intel 82599ES SFI/SFP+" ethernet (ixgbe), 00:AB:50:C6:C4:D0, hw, mtu 1500 ip4 ...
user avatar
  • 131
0 votes
0 answers
21 views

Retrieving the name of a NetworkManager connection by its IPv4 subnet

I have some CentOS7 servers with two IP addresses, in two different subnets (say 192.168.1.0/24 and 192.168.2.0/24). Some of the servers have two physical network connections, and different addresses ...
user avatar
  • 25
1 vote
1 answer
560 views

Ubuntu 20.04 forward traffic between two interfaces (wlan0 and eth0) using NetworkManager

Running Ubuntu 20.04 on a Pi with netplan disabled and using NetworkManager only. Have wlan0 running in AP mode and an ethernet cable connected to the Pi. I want connections made to the wifi AP on ...
user avatar
  • 51
1 vote
1 answer
75 views

Hyper-V Ubuntu-Server VM not connecting to Unifi USG

I have a network set up with 2 VLANs, one for personal interconnectivity and internet access for personal devices, and another one for non-trusted devices like IOT devices. Here's the network topology:...
user avatar
2 votes
1 answer
847 views

different DHCP behavior between machines using NetworkManager and not using NetworkManager

can anyone please shed some light on the differences I list below. And maybe explain why NetworkManager does it differently. And please advise if we can change NetworkManager to behave more like the ...
user avatar
  • 25
0 votes
0 answers
149 views

Cannot access to website after installing cockpit

I have no idea what happened in my system. I have installed cockpit then I realize I cannot access to my website, which is hosted in my server, anymore. Even when I remove cockpit, which contains ...
user avatar
1 vote
1 answer
493 views

How to encode Pre-Shared Key (PSK) of and L2TP IPSEC connection managed by Network-Manager

If I create a VPN L2TP IPSEC connection using Network-Manager GUI, I introduce the PSK, but this one looks different on /etc/NetworkManager/system-connection/myvpn.nmconnection I am thinking the PSK ...
user avatar
0 votes
1 answer
542 views

nmcli connection import type wireguard writes additional default route - How to avoid it?

At start I have: [root@client ~]# ip ro | grep default default via 10.0.2.2 dev eth0 proto dhcp metric 100 When i say nmcli connection import type wireguard file /etc/wireguard/wg0.conf I get [root@...
user avatar
2 votes
0 answers
550 views

Ubuntu Server 20.04 network-manager not starting VPN automatically

I am getting desperate here. I need to connect a Ubuntu Server Machine on a VPS to a network to monitor several machines. I can only connect to the network with L2TP over IPsec. I have tried ...
user avatar
0 votes
0 answers
442 views

OpenVPN configuration works under CLI but not on NetworkManager (TLS handshake failed)

sudo openvpn --config [VPN-NAME].ovpn: works NetworkManager configuration: doesn't work (while being the same, copypasted config) [VPN-NAME].ovpn: dev tun persist-tun persist-key ncp-disable cipher ...
user avatar
6 votes
2 answers
4k views

Ubuntu 20.04 Networkmanager OpenVPN: accept pushed DNS but don't route all traffic to tun interface

I am trying to get some Ubuntu 20.04 clients at work to connect to a new OpenVPN server provided by our new server provider. The goal is to route only certain traffic into the tunnel (the ...
user avatar
  • 121
1 vote
0 answers
57 views

How to find the route that has internet connection and set it as default (lowest metric) with NetworkManager (Ubuntu)

~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.30.102 0.0.0.0 UG 100 0 0 eth0 default ...
user avatar
  • 111
0 votes
1 answer
207 views

2 servers show different behavior when DHCP sever goes down

i dont have any control of the DHCP servers on my network and every 2 weeks or so there is an outage of a few hours where my CentOS 7.8 servers do not get responses to DHCP renewal requests. As far as ...
user avatar
  • 25
0 votes
0 answers
24 views

Linux router over VPN

I have a Linux (Ubuntu 18.04) device with 4 Ethernet ports and a LTE wwan card that I want to turn into a bridge and router. However, I don't want to enable NAT via the LTE connection, but route all ...
user avatar
0 votes
1 answer
32 views

No access to .x.x IP range on network

I have following setup: Cellular network connection for Internet access 2 x Ethetnet LANs with no access The LANs are 10.5x.x.x networks. My device is on 10.51.85.x subrange. I can ping / reach ...
user avatar
  • 3
1 vote
1 answer
2k views

NetworkManager bridge is not working

I face the same problem on 2 difference machines: A CentOS 8.1 and an openSUSE Leap 15.2 I want to create a bridge on each host that will be used from libvirtfor bridged networking. On both servers, I ...
user avatar
0 votes
1 answer
291 views

CentOS 8 NetworkManager puts ethernet NIC to sleep

I'm running CentOS 8.2 with a pretty generic install. The system has a single Gb ethernet nic (ens32) which has a static IP address configured. Once a day (or there abouts) the ens32 interface is ...
user avatar
0 votes
2 answers
165 views

Unable to set outgoing IP on multi-IP CentOS 8

Our CentOS 8 server at Hetzner has a primary IP aquired through DHCP, and an additional /29 subnet. No matter what outgoing IP I choose, packets are always sent with the primary IP. I would like to ...
user avatar
  • 1,183
0 votes
2 answers
261 views

Adding multiple IPs on same physical interface - but with different logical interfaces (CentOS 8 + NetworkManager)

I'm adding a secondary IP to my CentOS 8 server running NetworkManager. I would previously have done this with ifcfg-style configuration files, but I'm trying to embrace the future and the direction ...
user avatar
  • 1,183
0 votes
1 answer
2k views

NetworkManager adding extra default gateway

Using NetworkManager, I am trying to setup multiple interfaces on different VLANs; the primary interface, em1, is used on a development VLAN; the secondary interface is on a dedicated iSCSI VLAN. I am ...
user avatar
2 votes
1 answer
2k views

Removing all domains from Network Manager DNS Search List

I'm trying to remove all values from the domain search list that's generated by the network manager. However I cannot get it to provide a blank list. I have tried using "ignore-auto-dns but the ...
user avatar
  • 21
1 vote
1 answer
1k views

Get uuid of connection after adding it using nmcli

I would like to add VPN connections to multiple machines and let them activate automatically when when using the default ethernet connection. However I need the UUID of the VPN connection I just added ...
user avatar
  • 113
0 votes
0 answers
2k views

NetworkManager stop working in Ubuntu Linux

Settings - Network: Oops something has gone wrong. Please contact your software vendor. NetworkManager needs to be running. ~$ NetworkManager NetworkManager: symbol lookup error: /usr/lib/x86_64-...
user avatar
  • 161
0 votes
0 answers
2k views

How to increase wifi beacon timeout in Linux NetworkManager?

I use ESP8266 in AP mode and connect to it using HTTPS. Unfortunately the device is not very powerful and TLS part makes it so busy that it doesn't transmit wifi beacons for a short time (as far as I ...
user avatar
2 votes
0 answers
66 views

Can NetworkManager deactivate connection when all bond slaves lost carrier?

For Ethernet connection, when carrier is lost then NetworkManager sets connection state to 'unavailable': [root@host ~]# ip link set down enp2s0f0 [root@host ~]# journalctl -u NetworkManager --since ...
user avatar
  • 63
1 vote
0 answers
533 views

Centos7 / NetworkManager - how to reload route files?

How can I reload the running NetworkManager routing configuration from the route-XXX files in a Centos/RHEL7 server? I have a few servers which get routes updated directly via the /etc/sysconfig/...
user avatar
0 votes
1 answer
305 views

How-to stop NetworkManager requesting a DHCP lease when configured manually?

I run networkmanager together with cockpit on Debian Buster. I have one physical interface and three VLANs on top of it. All of them are configured to have static IPs (ipv4.method: manual). However, ...
user avatar
1 vote
1 answer
375 views

CentOS7 issue with NetworkManager - interface configured as static (manual) but interacts with DHCP

I have an issue with NetworkManager on CentOS7( I know, but i have to use it, because of REASONS :( ). I have a network interface of a VM configured with static IP. which worked for some time now. ...
user avatar
0 votes
1 answer
252 views

Can a Linux box be configured with IEEE 802.1x while grabbing the info from a Windows box?

A managed Windows device can join the wired network of my corporate company, while a personal Linux one can't. As far as I understand, this is possible thanks to IEEE 802.1x standard. Looking at the ...
user avatar
0 votes
1 answer
499 views

Interface bonding on GRE tunnel with nmcli

I have two Ubuntu server-based routers and I'd like to bond (in broadcast mode, since I only care about redundancy) a radio link (where the radio equipment is connected to an Ethernet port) and a LTE ...
user avatar
  • 11
4 votes
1 answer
1k views

networkmanager-strongswan vpn - routing specific ip through VPN

I'm trying to setting a VPN on Linux Mint 19.2. I'm using the network-manager-strongswan so I added this file named VPN under /etc/NetworkManager/system-connections/ [connection] id=VPN uuid=...
user avatar
0 votes
1 answer
342 views

What Does This L2TP/IPSec Error Mean?

I am trying to connect to a Cisco Meraki VPN that uses L2TP/IPsec. On my side I am using Libreswan/NetworkManager to configure my connection. When I try to connect, I get logs as follows: Mar 02 11:...
user avatar