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
96
votes
7answers
116k 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 ...
16
votes
3answers
3k 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 ...
15
votes
5answers
66k 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 ...
14
votes
5answers
12k 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.
13
votes
2answers
25k 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 ...
13
votes
4answers
11k 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 ...
12
votes
2answers
17k 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 ...
12
votes
2answers
21k 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 ...
12
votes
0answers
4k 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 ...
11
votes
1answer
9k 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 ...
11
votes
3answers
18k 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 unusable ...
11
votes
1answer
4k 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 ...
11
votes
2answers
30k 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 ...
11
votes
4answers
5k 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
10k 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 ...
11
votes
2answers
23k 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@...
10
votes
2answers
20k 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. ...
10
votes
1answer
9k 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 ...
10
votes
3answers
23k 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 ...
10
votes
5answers
102k 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 ...
10
votes
2answers
53k 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
9k 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
3answers
34k 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 ...
9
votes
1answer
26k 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-...
9
votes
4answers
2k 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 ...
8
votes
4answers
26k 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. ...
8
votes
2answers
22k 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 ...
8
votes
2answers
37k 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
40k 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
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 ...
7
votes
1answer
4k 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 ...
7
votes
1answer
2k 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 ...
7
votes
1answer
2k 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
495 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 ...
7
votes
1answer
1k views

Set NetworkManager to ignore rfkill

My notebook does not have a hardware button to disable wireless. But NetworkManager and rfkill see wireless as hard blocked. Wicd and iwconfig works well. Is there any way to disable hard block check ...
7
votes
1answer
4k views

Linux Mint 15 WiFi hotspot options

I'm trying to configure a hotspot in my Linux Mint 15. There are no specific manuals for 15, but I found this video which describes hot to make a hotspot in Mint 14. Creating it in Mint 15 not much ...
7
votes
1answer
2k views

nmcli no longer allow settings modification?

When I try to modify network manager settings with nmcli, it says Error: 'con' command 'modify' is not valid. So if nmcli con modify XXX command is no longer supported, what is the substitute? EDIT ...
7
votes
2answers
796 views

Firefox unable to access domains defined in /etc/hosts if Network Manager is disconnected from a network

For developing web sites, I define test domains in /etc/hosts : 127.0.0.1 example.org I can then access example.org in the browsers. However I when the Network Manager is not connected to any ...
6
votes
2answers
935 views

What is reliable, autoconnecting wifi manager?

openSUSE 11.4, one wifi connection with static IP. Requirements: after autologin connection should be automatically established with defined static IP after connection dropped, manager should try ...
6
votes
4answers
11k 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 ...
6
votes
2answers
16k 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 ...
6
votes
3answers
64k 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 ...
6
votes
9answers
16k views

File /etc/resolv.conf deleted on every reboot, why or what?

I am having an issue where DHCP (I though as I read in other similar topics) is clearing the /etc/resolv.conf file on each boot. I am not sure about how to deal with this since the post I have found (...
6
votes
1answer
2k 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 ...
6
votes
1answer
2k views

nmcli: dns settings duplicate? IP4.DNS vs. ipv4.dns

~ $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 18 Sarah Release: 18 Codename: sarah ~ $ uname -r 4.4.0-21-generic ~ $ nmcli -v nmcli ...
6
votes
1answer
6k views

Configure wireless network from the command line

I know I can use ifconfig to configure my ethernet network interfaces. But can I also configure my wireless network interfaces using ifconfig. (It seems to be listed as eth1 in ifconfig output, why is ...
6
votes
4answers
16k views

NetworkManager issues in Arch Linux

Have had WiFi working fine via wifi-menu on command line for a while, but would much prefer the gnome icon, so i switched to NetworkManager, and now nothing will connect. I enabled my dhcp daemon in ...
6
votes
1answer
926 views

How to let networkmanager repeat trying to connect DSL until succeeded?

I'm using nm-applet to dial up DSL pppoe connections. As there are a great number of users in my local network, I sometimes have to try many times to establish a successful connection. I wonder is ...
6
votes
4answers
9k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...