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
105
votes
7answers
126k 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 ...
11
votes
3answers
27k 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 ...
6
votes
9answers
19k 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 (...
11
votes
3answers
20k 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
5answers
112k 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
4answers
3k 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 ...
11
votes
4answers
6k 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
2answers
22k 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. ...
4
votes
1answer
3k 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?
13
votes
2answers
23k 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 ...
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 ...
3
votes
2answers
2k 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/...
1
vote
2answers
1k 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 ...
5
votes
3answers
8k 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:...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k 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 ...
0
votes
2answers
2k 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 ...
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 ...
12
votes
2answers
28k 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@...
8
votes
2answers
23k 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 ...
6
votes
2answers
23k 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....
6
votes
4answers
12k 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 ...
11
votes
2answers
33k 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 ...
5
votes
2answers
2k 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 ...
3
votes
1answer
9k 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 ...
3
votes
2answers
9k views

how to get dnsmasq private nameserver to work with networkmanager?

Just learning about networking. I'm on Mint-18. Use network-manager. dnsmasq is enabled. I would like addresses that end with a particular domain-name to get resolved through a private-nameserver. ...
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 ...
6
votes
2answers
2k 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 ...
5
votes
2answers
4k 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 ...
4
votes
1answer
4k 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 ...
3
votes
1answer
6k views

nmcli commands for static IP networking in CentOS 7

What specific sequence of nmcli commands can be used to effectively configure static IP networking in CentOS 7? The four step process shown below DOES effectively configure static IP networking. ...
2
votes
1answer
4k views

Connecting to wifi network with captive portal login page using wpa_supplicant

I am currently trying to connect to a BTWi-fi / BT_Openzone unsecured network in my office using my pcengines apu1d4 running debian 8.4 with edimax ew-7811un wifi dongle. When conventionally ...
2
votes
1answer
2k views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/...
0
votes
2answers
1k views

rtl8812ae Wifi Connection Instability in Debian Jessie

I just added a D-Link DWA-582 PCI-e WiFi adapter using the Realtek RTL8812AE chipset. I confirmed the support for the chipset at https://wiki.debian.org/rtl819x#rtl8821ae . I have installed the ...
4
votes
2answers
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 ...
4
votes
2answers
554 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 ...
2
votes
0answers
583 views

veth pair from a single physical nic

I'm trying to setup an all-in-one Openstack kolla on a CentOS-7 with a single physical NIC, but I cannot manage to setup the network for VMs to get ips on the same LAN as the host. According to the ...
2
votes
1answer
7k views

Trouble connecting to VPN using network-manager, while command line works

If I try to connect to my VPN using Network Manager, it fails, and /var/log/syslog reads: Dec 4 17:43:25 zepto nm-openvpn[1696]: OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [...
2
votes
1answer
2k views

Passing the “--float” option to OpenVPN client from NetworkManager

NetworkManager on Fedora14 doesn't support the "--float" parameter of OpenVPN client. Are there any workarounds to connect with NetworkManager to an OpenVPN network using the --float option? Or are ...
1
vote
3answers
3k views

Using multiple NICs for faster internet?

My laptop have a ethernet card and a wifi card. Ethernet line have maximum download rate at 1.5MiB/sec and wifi is over 1MiB/sec too, but it seem only have one NIC can working at a moment (if I turn ...
1
vote
1answer
2k views

network connection only works for a while?

I upgraded my Debian Jessie desktop two days ago but I found that I am not able to connect to internet via eth0 now. I've pinged www.google.com, but it said "unknown host". For the inet addr and ...
1
vote
1answer
851 views

Debian 9: Is there any GUI to add OpenConnect VPN-connection in ConnMan?

On a lightweight Debian machine I am using ConnMan instead of NetworkManager. For this I installed ConnMan based on the following packages: connman connman-vpn cmst Ethernet, wifi, virtual bridges ...
1
vote
3answers
1k views

wpa_supplicant not connecting anymore to eduroam

since a few weeks (probably after a dist-upgrade) my machine can't connect anymore to 802.1x networks. I'm using Debian Buster with i3, but using nm-applet. I've also tryied to connect directly with ...
0
votes
1answer
322 views

In Mint 19.1, how do I bond an ethernet and a wifi adapter?

In Mint 19.1, I can see in "Network Connections" that I can bond 2 ethernet adapters. How do I bond an ethernet adapter and a wifi one without completely disabling the GUI configuration of networks? ...
0
votes
1answer
201 views

Namservers reverted to normal shortly after connecting VPN using Openconnect

I've been working at my company for over a year, and have never had this particular issue with my VPN. Unfortunately, I don't know much about networking so I'm a little confused at what's happening. ...
0
votes
1answer
1k views

Make NetworkManager manage a interface

I am trying to create a WiFi hotspot (from the int connection) on a small test file server running a near stock CentOS 7 (the sort of unsupported 32bit AltArch version), but NetworkManager does not ...