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
11
votes
3answers
19k 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 ...
0
votes
0answers
12 views

Allow multiple simultanous connections on one ethernet interface with NetworkManager

I have an ethernet interface connected and I currently have 2 configs created for that one with NetworkManager. One with DHCP and the other with static ip addresses for ranges I want to use for local ...
6
votes
4answers
13k 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 ...
3
votes
1answer
32 views

Identify GSM Carrier of SIM Card Inserted into a Linux Host

The SIM card used in each Linux gateway for the GSM connection will vary from location to location due to signal coverage by different GSM carrier networks. But in order to automate setting the APN ...
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/...
0
votes
2answers
152 views

NetworkManager doesn't change IP-Address when dracut.cmdline provided static IP differs

Centos 7.6 fresh installation. I need a static IP during boot for decrypting my LUKS-Container by using Clevis / TANG and following dracut.conf kernel_cmdline="ip=10.30.0.25 netmask=255.255.255.0 ...
3
votes
2answers
8k 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. ...
12
votes
3answers
18k 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 ...
0
votes
1answer
18 views

Headless CentOS 7 in VirtualBox: edit / verify /etc/sysconfig/network-scripts/ifcfg-enp0sN scripts

I have a non-gui CentOS 7 linux running in a VirtualBox on my (Windows) desktop computer. Recently, we had some trouble with our networking setup, making the DHCP-based networking fail; for a few days,...
0
votes
1answer
61 views

Connect printer to pc directly with an ethernet cable

I have a home network where ip addresses are assigned with DHCP. I want to connect an HP Color Laserjet 3600n to one of my pc's directly through an ethernet cable and not via my router. The PC has one ...
0
votes
1answer
12 views

How to release (remove) route from previous connection to public WIFI network using `nmcli` or `dhcpcd`?

Once I connected to public network then after awhile (1-2 hours) it won't give me access to internet. I assume this is because my routing is configured with previous IP given by DHCP of the public ...
0
votes
0answers
28 views

Network Manager not working [Ubuntu]

Checking via systemctl status NetworkManager: Image of problem? When trying to do sudo service network-manager restart, it comes with this result: job for networkmanager.service failed because ...
0
votes
1answer
28 views

Find if “consistent network device naming” is available

I have a piece of custom software that needs to know the name of a certain network interface on multiple systems (two of them to be more exactly) on which I cannot change anything like disabling the "...
2
votes
1answer
2k views

Use nmcli to display the status of a connection

I'm wondering how to display a connection status using nmcli. I understand that the following will display a list of configured connections: nmcli con show And I also understand that the following ...
0
votes
2answers
1k views

Where does Network Manager store settings?

When I type: nmcli con show wlan0 One of the settings is: 802-11-wireless.band: bg Where is this setting stored on disk? It isn't in: /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
0
votes
1answer
22 views

How to install wpasupplicant, when there is package libnl-genl-3-200 & libnl-route-3-200 not installed?

Note: I do not have network manager install. To install it, I require wpasupplicant. This means I have to use my mobile phone to download necessary packages, and transfer it via pendrive using OTG. ...
0
votes
0answers
11 views

Whats NetworkManager Strategy to pick Wifi Network

When several configured WiFi networks are available, it seems that NetworkManager does not always pick the one with the strongest signal. How does NetworkManager choose the preferred WiFi and is it ...
0
votes
0answers
10 views

Masquerading does not work in Qubes OS

What I've tried: Arch Linux wiki page on internet sharing (used iptables) Tried using NetworkManager (by going to wired connection, and setting method to 'Shared to other computers') What I'm trying ...
6
votes
3answers
17k 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 ...
5
votes
1answer
4k views

How to debug DHCP timeout on WiFi connect

I've recently moved to a place with public wifi (so I don't have access to the router or their DHCP config), and am running into issues connecting with my Arch laptop. I've tried using both ...
2
votes
1answer
163 views

Network Manager user-side dispatcher scripts

This answer gives a solution to run scripts when a connection has been set up by NetworkManager. However, I'd like to run my script (that auto-connect to some special kinds of hotspot) as a non-root ...
0
votes
2answers
1k views

My wifi is hard blocked in Ubuntu, how to bring it up despite rfkill

My wifi is not working in Ubuntu 16.04, it is hard blocked, but there is no any physical switch that i can turn it on. This question was asked and answered more than 50 times all over the Internet ...
2
votes
2answers
4k views

How to enable wireless support in Mint Cinnamon 18.2

Summary: I have a usb wifi adapter plugged in and recognized by the kernel, but there is no where in the UI to configure it. The computer is a 4+ year old HP desktop (i7-4790S CPU, 16GB RAM). More ...
1
vote
0answers
13 views

Accessing SSH of a device connected on a separate interface (Ubuntu)

I've got the following network setup: Windows PC <-ethernet-> Odroid XU4 <- USB Ethernet-> nVidia Jetson I would like to be able to have network access from the Windows PC to Odroid (SSH) and ...
5
votes
3answers
15k views

how do I attach devices to connections using nmcli?

An installation of CentOS 7 has two connections and three devices. How can I attach the device ens7 to the connection my-bridge? And how can I attach the device eth0 to the connection my-eth1? ...
13
votes
1answer
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 ...
0
votes
1answer
22 views

Wifi disconnects instantly

Hi I installed qubes on the x220 I bought on Ebay. Now I got the problem that wifi is not connecting. Qubes uses the sys-net VM to for internet connection based on fedora 29. It uses networkmanager ...
3
votes
1answer
4k 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: ...
0
votes
0answers
17 views

UDP not working for secondary IP in ubuntu

I have dco-access named interface configured on VM based on ubuntu wherein I configured 8 IP from same pool, but only global dco-access accepts udp and no other IP from global secondary accepts udp, ...
0
votes
1answer
498 views

How do you remove Mobile Broadband Networks from the Gnome menu bar?

I currently have a gnome menu that looks like this: Can anyone tell me how I can remove the 3/4G mobile networks? I have an inbuilt mobile network device, which I've never used and would rather not ...
0
votes
1answer
7k views

Ping 'Name or service not known' how can I clear cache

For several days now, after several reboots I still am faced with the issue of my CentOS 7 machine not being able to ping my domain. [root@ip126 ~]# ping sub.mydomain.eu ping: sub.mydomain.eu: Name ...
1
vote
1answer
1k views

DNS is not applied with systemd-resolved [closed]

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-...
1
vote
0answers
16 views

Something is overwriting the ZONE setting in CentOS 7 network configuration files

I have multi-homed CentOS 7 servers, and I configure their NICs by editing the ifcfg-* files in /etc/sysconfig/network-scripts (automatically with Ansible). In particular, that's where I specify the ...
0
votes
0answers
16 views

NetworkManager Not Connecting to, but Listing, Networks

I'm running Manjaro Linux and i3wm. There are some Wifi networks which I can see using nmcli dev wifi list -- and have strong signal -- but cannot connect to using nmcli dev wifi connect <ssid>,...
2
votes
0answers
42 views

what's the difference between executing linux commands by ssh tool and adding commands to my program?

I configure both a static IP and dhcp on a NIC of Orangepi Zero by creating two connections in NetworkManager-connections. The installed system is armbian Ubuntu. In my program, I use the popen ...
0
votes
2answers
4k views

No Internet Connection

I installed Nitrux Os(Ubuntu Based) It's successfully connecting to Wifi or Wired connection but Internet ain't sending any traffic. Whenever I am trying to Open a website it is saying This site can'...
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 ...
5
votes
1answer
5k views

grub recovery mode: etc/resolv.conf: no such file or directory

I’ve installed Ubuntu 16.04 on my laptop a few months ago and suddenly I can t get past the splash screen. (I see the red dots gradually becoming white and vice-versa, so something is happening, but ...
-1
votes
0answers
134 views

/usr/sbin/NetworkManager error 127 / No internet can't get past boot Kali Linux

I have made the NetworkManager file say true - I have to be in recovery mode - as I can not log into the system. I have no internet is there a way I am lost at what to do at this point. /usr/sbin/...
0
votes
2answers
34 views

How to remove the grey border in network manager applet

I'm using nm-applet in xfce, however it displays a grey border like the following: I tried to debug the panel by doing: gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true xfce4-...
0
votes
0answers
17 views

Network Manager wont start after extensive troubleshooting

I'm having a really hard time troubleshooting network manager (NM). I installed and configured VPNbook and soon after my NM stopped working. I've tried nearly every thread and each solution appears ...
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 ...
2
votes
1answer
33 views

Use nmcli to set the “all users may connect to this network” checkbox?

In the NetworkManager gui, under Edit Connections, there is a checkbox for "All users may connect to this network". How can I set this option using nmcli?
11
votes
2answers
21k 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
3answers
35k 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 ...
2
votes
1answer
938 views

How to avoid duplicate connection names? (32) Connection 'Auto Ethernet' is already active on enpXXX

Is there any way that I can make networkmanager to assign some unique names or device derrived name instead of Auto Ethernet so that we can avoid the names conflict? After I've upgraded to Ubuntu ...
0
votes
0answers
32 views

Disable internet sharing for WiFi hotspot in NetworkManager

I have used NetworkManager to create a WiFi hotspot. This seems to be working well, however I don't want to share the internet connection (from ethernet) on the WiFi access point. I want only local ...
0
votes
1answer
978 views

nmcli - save wifi connection

I used command-line tool for controlling NetworkManager (nmcli) to "Turn On Wi-Fi Hotspot", like following: # nmcli device wifi hotspot ssid X password X ifname wlan1 Device 'wlan1' successfully ...
0
votes
1answer
961 views

Location of Wifi SSID configs and how to make a hotspot in Ubuntu 14.04

What is the location of wifi ssid config in Ubuntu 14.04. Also, making a wifi connection as Hotspot does not work. I am unable to make a hotspot in Ubuntu 14.04 via UI. One of the reasons that I ...
0
votes
0answers
9 views

Add libvirt configured dnsmasq to NetworkManager owned dnsmasq as forwarders for specific domains without adding conf files to NetworkManager?

I'm wondering if there is a way to have libvirt push virtual network DNS information into the NetworkManager instance of dnsmasq. As always I'm working with RHEL 7 (7.6) Background: My team works ...