Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
146 votes
7 answers
228k 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 ...
fdmillion's user avatar
  • 2,898
4 votes
1 answer
5k views

Theoretical: TAP interface w/ WIFI parent interface

I'm trying to create multiple Linux TAP interfaces and allow them to send/receive packets over a single WIFI adapter. For all intents and purposes I'd like the TAP interfaces to act as full fledged ...
TheFunk's user avatar
  • 153
16 votes
3 answers
62k 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 ...
Newbie Linux User's user avatar
8 votes
12 answers
69k 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 (...
ReynierPM's user avatar
  • 843
18 votes
4 answers
39k 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-...
F43nd1r's user avatar
  • 281
14 votes
4 answers
8k 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 ...
P Daddy's user avatar
  • 375
8 votes
1 answer
11k views

Use nmcli to modify VPN password?

With nmcli, I can modify VPN data like this: nmcli con modify myvpn vpn.data 'refuse-pap = yes, user = xxx' So I'm wondering if I can set password this way as well?
daisy's user avatar
  • 54.7k
7 votes
5 answers
8k views

sshd failed due to network not yet available

I'm running Arch Linux. After I reboot, the sshd.service fails to start due to the network not yet being up. I have to manually run: sudo systemctl restart sshd Once I do that, the sshd service ...
MountainX's user avatar
  • 18k
24 votes
3 answers
40k 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 ...
basic6's user avatar
  • 6,285
21 votes
3 answers
86k 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@...
guanghai lu's user avatar
17 votes
2 answers
30k 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. ...
user16538's user avatar
  • 1,803
16 votes
4 answers
37k 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 new ...
KevinO's user avatar
  • 855
15 votes
2 answers
34k 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 ...
Andrew Bolster's user avatar
15 votes
6 answers
191k 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 ...
dlyxzen's user avatar
  • 151
12 votes
4 answers
11k 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, ...
C-Otto's user avatar
  • 407
10 votes
4 answers
25k views

NetworkManager changes default routing policy

I have a machine with a built-in NIC (eth0), which serves as a DHCP server for a Raspberry Pi. I also have a USB 3G modem, which shows up as ethernet device eth1. eth0 has the static ip 192.168.100.1 ...
appas's user avatar
  • 211
10 votes
3 answers
4k views

How to generate a hotspot that does not requires password?

Is there a way to create a hotspot that doesn't have a password? The "hotspot command" of nmcli : wifi hotspot [ifname ifname] [con-name name] [ssid SSID] [band {a | bg}] [channel channel] [...
user123456's user avatar
  • 5,058
7 votes
3 answers
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 ...
Daniel's user avatar
  • 1,207
6 votes
4 answers
13k views

Network connection drops after a few seconds

I am on Debian. I configured my NIC with a static IP (192.168.1.56). When I try to connect to a network, initially with ifconfig eth2 I get (correctly): eth2 inet addr:192.168.1.56 .... inet6 addr:...
user avatar
3 votes
1 answer
17k views

How to setup network without wicd or NetworkManager?

I am working on a raspberry pi box with ubuntu(15.10) installed. It has limited memory so I want to same as much as possible. In memory usage report wicd/NetworkManager and subprocesses usage aprox ...
Hemant's user avatar
  • 6,910
3 votes
2 answers
7k views

CentOS 7 DHCP Client - How to use "classless-static-routes" ("code 121")?

According to this answer... https://unix.stackexchange.com/a/457577/61742 ... I can use the following configuration to use pushed routes from my DHCP server in my DHCP client by placing in the /etc/...
Eduardo Lucio's user avatar
2 votes
1 answer
3k views

How to reorder /etc/resolv.conf at load time [duplicate]

I have a CentOS system that retrieves its upstream DNS servers via DHCP. I want to run DNSMasq on this box and use it as a server to resolve some hostnames for development. The problem is when my ...
alfreema's user avatar
  • 385
2 votes
1 answer
4k views

3G connection with wvdial gets no IP, exits with code 16

I am trying to establish a 3G connection with Raspbian, a 3G USB dongle, usb_modeswitch and wvdial. I followed this tutorial which has worked well before with a different 3G dongle. My 3G dongle is a ...
nicolaus-hee's user avatar
1 vote
1 answer
324 views

Host is getting an IP from a bridged device but a virt-manager VM is not

First, my question is similar to How to set up bridged network with virtual machine and host with KVM (Virt-Manager)? but the marked answer does not work for me, and since the question is marked as ...
IMTheNachoMan's user avatar
0 votes
2 answers
3k views

network connection on kali

I have installed Kaliv2 64bit (all packages updated) on vmware and I want to connect to internet with usb wlan (tp-link wn722nn) so I don't use virtual vmware network and just connect directly to my ...
Mohammad Yousefi's user avatar
0 votes
1 answer
4k views

Can't connect to my wireless network though GNOME

I managed to install Archlinux today. But I have no access to my wifi for some reason. I get internet access in my terminal with wifi-menu but gnome tells me that it can not connect to my wireless ...
Maik Klein's user avatar
44 votes
4 answers
151k 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 ...
Cerin's user avatar
  • 1,698
21 votes
3 answers
41k 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 ...
petRUShka's user avatar
  • 1,272
19 votes
3 answers
6k 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 ...
Boris Burkov's user avatar
  • 4,000
18 votes
5 answers
113k 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 ...
wvxvw's user avatar
  • 627
17 votes
1 answer
18k 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 ...
lofidevops's user avatar
  • 3,189
14 votes
3 answers
55k 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 ...
stdcerr's user avatar
  • 2,069
13 votes
3 answers
178k 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 ...
Sagaryal's user avatar
  • 315
13 votes
6 answers
7k 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 ...
David's user avatar
  • 269
13 votes
2 answers
48k 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 ...
Microsoft Linux TM's user avatar
12 votes
1 answer
13k views

How can I share my WiFi connection through Bluetooth?

I'm trying to setup a NAT on a Raspberry Pi using a WiFi and Bluetooth dongle. The idea would be to access my WiFi (obviously I've got that part working) and make this connection available to devices ...
Mulle's user avatar
  • 125
12 votes
1 answer
52k 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-...
Severus Tux's user avatar
  • 1,035
12 votes
3 answers
29k 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 ...
Gary van der Merwe's user avatar
10 votes
4 answers
24k 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 ...
Dissident Rage's user avatar
10 votes
3 answers
11k 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 ...
Daniel's user avatar
  • 678
10 votes
1 answer
6k 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 ...
canochordo's user avatar
9 votes
2 answers
7k 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 ...
Tom Hale's user avatar
  • 30.8k
8 votes
3 answers
26k 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 ...
Daniel's user avatar
  • 1,167
7 votes
2 answers
29k views

Setting up hostapd with an iwlwifi device to run a hotspot

I am trying to configure my openSUSE 13.1 system to function as a hotspot (on my Dell XPS 13 computer). So I tried setting up hostapd as explained in Set up a hotspot with Linux, but I get an error: ...
dorien's user avatar
  • 333
6 votes
3 answers
39k views

How To Persist ip Rule And Route Whenever Server Rebooted?

I'm using Centos 7 Server And I Would Like To Save ip Rule And Route Whenever Server Rebooted. ip rule add from x.x.x.x table 128 ip route add table 128 to y.y.y.y/y dev eth0 ip route add table 128 ...
αԋɱҽԃ αмєяιcαη's user avatar
5 votes
2 answers
2k views

ip-tools vs old ifconfig

When after I change dhcp to static in network-scripts and then I restart servicesystemctl restart NetworkManager. The static ip settings suppose to be updated but it doesn't. so I try ip link set ...
ppc's user avatar
  • 123
5 votes
1 answer
2k views

Network manager registering thousands of IPv6 addresses

I was noticing Network Manager and nm-applet were taking a lot of CPU, and in the process of inspecting it, I ran ip a. There were thousands of temporary addresses associated with my Ethernet device. ...
giusti's user avatar
  • 1,737
5 votes
2 answers
5k views

Linux network stops functioning after random time (wired)

I'm unsure if this is hard or software issue but I really need to find out. I was running Windows 8.1 for some time, then swapped to Linux mint with kernel 3.13 which worked fine. I updated kernel to ...
Philip Wiberg's user avatar
5 votes
1 answer
6k views

Why is this static route not taking effect?

Original Question I am running Ubuntu and network manager. I have two different interfaces, eth0 and eth1. Network manager has (as far as I can tell) correctly added this manual route: ~$ ip route ...
Reinderien's user avatar
4 votes
2 answers
2k views

Using startx on Fedora 17, a non-root user cannot join new wireless networks -- how to fix?

I have Fedora 17 installed on a Lenovo X230, and if I leave it configured to boot into Gnome using systemd's runlevel5.target (or graphical.target), which is the default, networking seems to work just ...
Lars Rohrbach's user avatar