Questions tagged [networkmanager]

NetworkManager is an application tool to simplify the multi network model on a single or multiple interfaces.

Filter by
Sorted by
Tagged with
115
votes
7answers
147k views

Cause a script to execute after networking has started?

I am relatively new to systemd and am learning its architecture. Right now, I'm trying to figure out how to cause a custom shell script to run. This script needs to run after the networking layer has ...
24
votes
2answers
14k views

How exactly are NetworkManager, networkd, netplan, ifupdown2, and iproute2 interacting?

I am learning about Linux networking on my Kubuntu 18.04 workstation, and I see there that both NetworkManager and networkd-dispatcher are running: oleg@eclectic:~$ sudo ps -ef | grep -i net root ...
23
votes
3answers
47k views

How to delete connection by name via Network Manager

How do you use nmcli to delete a wifi connection by name? From what I've read, it only allows deletion via UUID: nmcli connection delete <uuid> The simplest way I've found to delete by name ...
20
votes
4answers
22k views

How to export and migrate NetworkManager settings to new system?

How to export and migrate NetworkManager settings to new system? Use cases are: reinstalling a machine moving network configuration from laptop to desktop system (or vice-versa) All settings should ...
16
votes
8answers
34k views

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

Using NetworkManager on Arch Linux on a MacBookPro14,3, I am unable to connect to any wireless network. I've tried connecting to a number of different WiFi networks (home, mobile hotspot, work) all ...
16
votes
3answers
4k views

Who reads /etc/resolv.conf?

My Centos 7 server doesn't resolve domain names properly. From what I see, in modern Linux systems /etc/resolv.conf is often generated with dhclient, dnsmasq or Network Manager. Thus I have a ...
16
votes
3answers
24k views

How to disable useless “audit success” log entries in dmesg

Short version: How to disable audit messages (dmesg) on a Fedora system? A Fedora system keeps logging "audit: success" messages in dmesg - in such an extreme way that dmesg has become ...
16
votes
5answers
77k views

How to set DNS resolver in Fedora using network-manager?

I want to try out Google public DNS. For this I need to change the nameserver address. I know it's in the file /etc/resolv.conf, but whenever I start network-manager, it overwrites the values in that ...
15
votes
5answers
20k views

Is there a tool to display WiFi information in console?

Can I view detected WiFi networks details (like signal strength, encryption etc.) in command line? The more detailed - the better.
15
votes
3answers
24k views

Import VPN config files to NetworkManager from command line

One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration.... My goal is to ...
15
votes
2answers
39k views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE root@...
14
votes
2answers
25k views

Where are NetworkManager's WiFi settings stored?

I remember the days of playing with /etc/$WE/wpa_supplicant.conf to try and force a semi-secure network on a debian based system, but now on to xubuntu, I haven't needed to do any *.conf-ing in a ...
14
votes
1answer
5k views

Random “deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING)”

I'm running uname -r 4.10.6-1-ARCH on my dell XPS 13 developer edition (2014). I'm currently having strange problems with my wifi (I use Networkamanger with nm-applet for KDE): 1) at the most ...
13
votes
1answer
12k views

Internet stops working, “Failed to add /run/systemd/ask-password to directory watch: No space left on device”

I'm running Lubuntu 16.04. After running the system for a while the wireless internet will stop working. Dutifully, I run: sudo service network-manager restart But this returns the message: Failed ...
13
votes
2answers
24k views

Hotspot and Internet access together — why not?

If I try to set up a hotspot in GNOME, I get the following message: If you have a connection to the Internet other than wireless, you can use it to share your internet connection with others. ...
13
votes
1answer
8k views

Where does GNOME Network Manager store passwords?

In Network Manager, under the Identity tab, I can enter a username and password for my OpenVPN connection. I can also enter a password for the "User private key". Both password fields have the ...
12
votes
4answers
38k views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
12
votes
3answers
41k views

Why are post-up commands in /etc/network/interfaces ran multiple times at boot?

Here is the content of /etc/network/interfaces: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp post-up /etc/network/if-up.d/sshstart And sshstart is a script with the following in ...
12
votes
1answer
6k views

Failed to request VPN secrets #3

I am using Arch Linux with Gnome and I want to use openconnect to connect to an VPN server. I can do this at the command-line without a problem, but I can't do this with Gnome; I get the following ...
12
votes
5answers
136k views

network.service Failed to start LSB: Bring up/down networking - Centos 7

I am experiencing an issue on Centos7 when attempting to start the network service. I receive the below error message. Failed to start LSB: Bring up/down networking The issue arised when I realised ...
12
votes
2answers
37k views

What is the purpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what is ...
12
votes
1answer
3k views

Cannot connect to WiFi with nmcli, although secrets are provided

I am using nmcli on ArchLinux (version 1.14.5dev+17+gba83251bb-1 from the official package repository) to connect to wifi. This works perfectly for all wireless networks apart from this one Vodafone ...
11
votes
3answers
35k views

How to make NetworkManager add a DNS server at the top of /etc/resolv.conf?

Right now, my /etc/resolv.conf looks like this: # Generated by NetworkManager nameserver 10.165.246.33 nameserver 192.135.82.60 nameserver 10.165.74.2 The first two nameservers are automatically ...
11
votes
3answers
24k views

How to get networkmanager to configure domain specific name servers with openresolv + dnsmasq

I often connect to multiple network simultaneously. Each of these networks provide nameserver configuration via dhcp. E.g. Network 1: (eth0): domain company1.corp # nameserver 192.168.0.253 ...
11
votes
1answer
11k views

Dispatcher script of network-manager no longer works

Soon after upgrading to networkmanager 0.9.8, I got the following message when it starts, Dispatcher failed: (32) Unit dbus-org.freedesktop.nm-dispatcher.service failed to load: No such file ...
11
votes
4answers
7k views

NetworkManager: disabled network when sending system to sleep

When I suspend my notebook, NetworkManager disables the wireless network (in nm-manager.c:do_sleep_wake). However, I'd love to still use the network for a very short time (to unmount cifs mounts, ...
11
votes
1answer
11k views

Create a wifi hotspot on Gnome 3 / Arch Linux

I'm trying to create a wifi hotspot in gnome shell and Arch Linux. I open "System Settings" > "Network", then I select "wifi" on the LH side and click "Use as Hotspot..." on the bottom. The system ...
10
votes
3answers
25k views

configure gsm connection using nmcli

I have a system without X display and I want to use nmcli to configure my cell modem to connect to a certain apn. I can get it going with this modem just fine on Ubuntu (with X) and I would like to ...
10
votes
1answer
32k views

Install Network-manager-applet (tray-icon) on Arch Linux GNOME 3.20

I am using Arch Linux with GNOME 3.20. I am trying to get a network manager applet (tray-icon) using which I could easily connect to WiFi networks. I installed networkmanager and network-manager-...
10
votes
3answers
10k views

RHEL 8 Deprecated Network Scripts

I was reading about RHEL 8, and this statement is made: Network scripts are deprecated in Red Hat Enterprise Linux 8 and they are no longer provided by default. The basic installation provides a ...
10
votes
4answers
12k views

NetworkManager fails with “Could not find source connection”

When trying to connect to a VPN using openvpn through NetworkManager, it fails with Apr 17 02:03:17 GAMINGSTATION NetworkManager[1922]: <info> [1523923397.5294] audit: op="connection-...
10
votes
4answers
4k views

Bonding wired and wireless while using Network Manager

I'm running Linux Mint 17.3 on my laptop. When docked, I'm connected via Ethernet, but when I undock, I'd like not to break my ssh sessions, ongoing downloads, etc., and to use the same IP address on ...
10
votes
2answers
56k views

Restarting all the network in Ubuntu after hibernating

When my Ubuntu 14.04 machine awakes from hibernation, sometimes the network is disable and enabling it does not make it work again. Running sudo service network-manager restart alone does not solve ...
10
votes
3answers
10k views

Terminal commands equivalent to NetworkManager's “Use as Hotspot” option

I'm making a gui application which will control my laptop in order to make it act as a wifi hotspot. I may change distributions so I want to find a solution which will work generally for all ...
9
votes
4answers
17k views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
8
votes
1answer
5k views

Linux disables ethernet auto-negotiation on plugging-in the cable?

I recently noticed I am only getting 100Mbit/s of througput on my gigabit home network. When looking into it with ethtool I found my ArchLinux Box was using 100baseT/Half as link speed instead of ...
8
votes
2answers
5k views

WiFi not working after restoring from hibernation (authentication times out)

My Intel 6205 wireless network card does not work after hibernating. It sometimes also does not work on boot, failing in the same way. Occasionally, it also stops working after ~10 minutes of ...
8
votes
2answers
39k views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
7
votes
3answers
4k views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
7
votes
3answers
34k views

CentOS7: Network Manager is using wrong search domain

With Network Manager in Red Hat 7, I am seeing an issue where the old/wrong search domain is being used after changing the hostname. In /etc/resolv.conf, I see: # Generated by NetworkManager search **...
7
votes
2answers
4k views

NetworkManager: Set current connection of device as metered

With NetworkManager, how do I set the currently connected connection on my device (say wlp2s0) as metered? How do I unset it in such a way that guessing of the metered/unmetered state will still ...
7
votes
3answers
101k views

Cannot connect to internet after using airmon-ng check kill

In new version of Kali 2.0 with updated "aircrack-ng" tool, there is a problem between Internet connection and using cracking tools. I have my wireless card as wlan0. And the Internet connection is ...
7
votes
3answers
46k views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
7
votes
3answers
24k views

How to update the gateway with nmcli

I'm using CentOS 7 and I setup a new connection with nmcli. I set the gateway but it doesn't seem it took. When I check the connection with nmcli con show conn-name the gateway is listed as: gw = 0....
7
votes
3answers
14k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
7
votes
2answers
3k views

How can I trigger a systemd unit on suspend before networking is shut down?

(On Stock Debian testing aka stretch aka 9, so I have a regular systemd+logind+NetworkManager+GNOME stack) I have a pair of script that I want to run on startup/shutdown and resume/suspend. This ...
7
votes
1answer
9k views

nmcli connection activation failed

I was able to create a wifi hotspot on my debian 8 install using network tab under gnome settings. I was trying to do the same using nmcli but it always shows $nmcli con up id Hotspot Error: ...
7
votes
2answers
25k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd /etc/hostapd....
7
votes
1answer
3k views

Non-root user cannot control NetworkManager. polkit rule has no effect

I have disabled slim and lightdm, using startx instead. Almost everything works, except I cannot control the network connections with NetworkManager when logged in as the non-root user. Enable ...
7
votes
1answer
500 views

Networking looks OK, but does not work at all [closed]

I am trying to get networking to work on Sabayon X KDE Edition. I have configured wireless networking using the NetworkManager applet and networking looks OK. However, I can't connect to the ...

1
2 3 4 5
16