Questions tagged [network-manager]

NetworkManager is the default networking suite for Ubuntu. It is a set of co-operative tools developed by GNOME. The NetworkManager service can be controlled using the nmcli tool (Network Manager Command Line Interface) as well as by its GUI.

1,442 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
4answers
9k views

How do I use OpenConnect via Network Manager to connect to Juniper VPN?

The more general question: How do I pass arguments/switches to the client in Network Manager? In order to connect to a Juniper VPN using OpenConnect, I use the following command-line: sudo ...
9
votes
2answers
8k views

getting openconnect vpn to work through network-manager

this is the same issue as here: Getting openconnect vpn to work through gui , but my additions to it were deleted and i was asked to create a new question. in fact, there are a number of folks asking ...
7
votes
1answer
281 views

How do I remove the long name given to my internet connection?

The other day my computer randomly started displaying the full name of my ethernet controller as you can see here: I'm fine with it saying Ethernet Controller like it used to but having the whole ...
7
votes
1answer
2k views

How can I get NetworkManager to autoconnect to a Openconnect VPN via nmcli without prompting for a user and password

I am trying to set up a script driven VPN connection with nmcli on Lubuntu 12.10 using Openconnect and NetworkManager and I cannot seem to get it to connect either with the saved credentials or via ...
6
votes
0answers
183 views

nm-applet - (dynamically) expand menu size

When having many WiFi SSIDs available, I need to scroll through the right-click menu of nm-applet widget menu by hovering over the arrow (see first screenshot below), yet the menu only spreads to a ...
6
votes
0answers
387 views

Odd network icon

ubuntu 18.04, gnome shell 3.28.2 Recently at times in the status bar area at the top right of the desktop I have been seeing a strange icon for the wired network connection: the top and bottom left "...
6
votes
2answers
692 views

Whoopsie and NetworkManager seem to be crashing causing network connectivity issues

I've recently installed Ubuntu 16.04 LTS on a Lenovo W540 Thinkpad, and I am having issues with my wireless network allowing network traffic. The /var/log/syslog and journalctl -xe output during the ...
6
votes
1answer
2k views

Is L2TP over IPsec possible in Ubuntu 16.04 LTS?

I am trying to connect to a VPN via L2TP over IPsec in Ubuntu 16.04. I know a small handful of posts here and bug reports have begun to document this issue, but I believe my experience, if somewhat ...
6
votes
0answers
2k views

vpnc works but network-manager-vpnc fails

I am trying to connect to a vpnc vpn. I first created a conf file /etc/vpnc/clientvpn.conf looking like this: ## generated by pcf2vpnc IPSec ID mygroupid IPSec gateway some.ip.add.ress IPSec secret ...
5
votes
0answers
8k views

dnsmasq : failed to create listening socket for port 53: Address already in use

I'm trying to configure dnsmasq to work along with NetworkManager, the problem is when I try to run the service it fails with: dnsmasq: failed to create listening socket for port 53: Address already ...
5
votes
0answers
3k views

A stop job is running for WPA supplicant - slow to shut down

Been running Ubuntu 17.10 for a while. All was fine till the other day when I did a sudo apt update and upgrade. Now it takes 9.5 minutes for it to shut down.. I press esc on shut down and it shows: ...
5
votes
1answer
2k views

Unable to connect wireless networks requiring password

I am able to connect to wifi networks that don't require password. But when I try to connect to a network that requires password, the password is not asked, Network Manager just tries to connect and ...
5
votes
0answers
1k views

Run nmcli as unprivileged user

I wrote a Python program to switch WiFi connections via the Network Manager dbus interface, which (I believe) is basically equivalent to the nmcli command-line tool. The script (and nmcli) work ...
5
votes
0answers
5k views

OpenVPN does not connect via network manager plugin

I am trying to connect to my OpenVPN server via the network manager plugin (network-manager-openvpn), after importing the ovpn config file. However, I receive a time-out error: $ grep VPN /var/log/...
5
votes
0answers
724 views

Difference between iwconfig and nmcli

When I run the command nmcli dev wifi in my console I get the list of wifi networks, including the one I'm connected to * SSID MODE CHAN RATE SIGNAL BARS SECURITY * ...
5
votes
0answers
1k views

How do I force nmcli to reconnect to different uuid?

I have a bash script that checks my network environment and mounts shares accordingly. If I'm at work and have a hard-wire connection to the LAN, then I'd like to activate a hotspot connection for ...
5
votes
1answer
2k views

Cannot change Wifi settings, stuck on WEP Security

I just started using Linux and as such do not have a proper knowledge of how to use the command line and all of those sorts of things, so please try to bear with me :). I have been able to connect to ...
5
votes
1answer
2k views

Do I need dnsmasq?

When I nmap localhost get this: 53/tcp open domain dnsmasq 2.59 What is it and do I really need it? I tried to remove it with sudo apt-get remove dnsmasq-base but it said if I would continue it ...
5
votes
1answer
157 views

Openvpn connection problem using network manager

I have problem with connecting to vpn my company gave me those files along with a password I tried to import them this way 1- I go to Network Setting 2- then I press the plus button to add new ...
4
votes
0answers
873 views

How can I prevent DNS leakage when using a VPN in Ubuntu 18.04?

I recently installed Ubuntu 18.04. I want to ensure that my DNS requests use my VPN DNS rather than my ISP DNS. In 16.04, preventing DNS leakage was easy: just disable the dnsmasq entry in /etc/...
4
votes
0answers
7k views

Unstable wifi connection - “activation of network connection failed” Ubuntu 18.04

I have installed Ubuntu 18.04 on my HP laptop. LAN cable works fine, but WIFI connection is terrible. It might work sometimes but starts weakening too soon - starts "connecting" and eventually says "...
4
votes
1answer
373 views

Ubuntu forgets custom DNS server after a while

I am using ubuntu 18.04 LTS and I have configured the IPv4 DNS to manual resolution always (Automatic = Off) and added 192.168.0.5 as my DNS server. So for a while it all works, pinging some servers ...
4
votes
0answers
167 views

dnsmasq for local resolution works after running dhclient, then stops working after a few minutes

I'm running into a strange issue. For the record, I'm using Ubuntu 17.10. I'm trying to configure a custom TLD, call it .mytld, to resolve to 127.0.0.1 so I can host local websites without needing to ...
4
votes
0answers
2k views

Ubuntu GNOME + OpenVPN - DNS Leaks. Howto configure?

I'd like my DNS queries to not be used to advertise/track me. I'm using this site to check for leaks. The client is Ubuntu GNOME 16.04 and the server is configured like this. The VPN works. ...
4
votes
0answers
5k views

wpa_supplicant[949]: wlan0: Failed to initiate sched scan

I installed ubuntu 14.04 lts with gnome, I connect normally to wifi of my house, but in my college i can't, my colleges wifi is an open wifi with a html login page. My notebook is a dell Inspiron 14. ...
4
votes
1answer
1k views

How to make Network Manager ignore VMware virtual network adapters

I'm running Ubuntu 16.04, fully updated. The 2 devices listed that are not being managed didn't show up until I installed VMware Workstation 12.1.1. I believe they are from the VMware host-only/NAT ...
4
votes
0answers
4k views

How to connect to WiFi with WPS pin in Ubuntu 14.04

Is there any way to connect to WiFi router with WPS pin? There is a question for previous version of Ubuntu, but I have not wpa_supplicant.conf file. wpa_gui react against correct pin and show "...
4
votes
1answer
28k views

“NetworkManager is not running”- error. After manually upgrading nmcli to 1.0.6 on ubuntu 12.04

I need to use the new version of NetworkManager on ubuntu 12.04. I've installed NetworkManager-1.0.6 from source code, from gnome Projects web site (And allot of it's dependencies). After ...
4
votes
0answers
2k views

cat: /var/lib/misc/dnsmasq.leases: No such file or directory

I've searched all over the internet, but couldn't find any answers of my problem.. I want to connect my Raspberry Pi to my laptop. But whenever i try to check the ip address of my raspberry, i get ...
4
votes
0answers
7k views

How to see log of nmcli “Network connection failed :unknown reason”

My country has network block, so when i use "nmcli connection up uuid", it always show "connection establish successful" and then show "Network connection failed :unknown reason:" right now, I find ...
4
votes
0answers
3k views

enable MSCHAP and MPPE for VPN connection

I have setup a VPN configuration file, the connection is responding but in order to actually connect to it I need to enable MSCHAP, MSCHAPv2 and MPPE, just like the picture here: The problem ...
4
votes
1answer
2k views

How To debug and fix a PPTP VPN client connection

I have just installed Ubuntu 13.10 and I'm trying to set up a VPN client. I have configured it with the same settings I use on a Mac and I am able to connect from that without any problem. When I ...
4
votes
0answers
4k views

Do I need NetworkManager on Ubuntu Server?

I've seen several posts suggesting using nmcli, nm-tool and similarly named utilities for network related tasks. In my case, I was trying to see what DNS my Ubuntu server installation is trying to ...
4
votes
1answer
3k views

How to bring up wireless after it sometimes goes down on reboot (wlan0 up gives error)?

I run (K)Ubuntu 12.10/12.04 in a triple boot with Windows 7 and access the Intenet wirelessly. This works perfectly most of the time. Sometimes after a normal reboot, the wireless connection ...
4
votes
1answer
3k views

How do I achieve a PPPoE connection over wifi?

I am trying to move my PPPoE dialling from my router to two machines on that router, a Windows 7 and an Ubuntu 12.04 machine. (Actually one machine with dual boot for now). I set up a DSL (PPPoE) ...
3
votes
2answers
143 views

mount failing on /etc/NetworkManager/dispatcher.d/

I have a script that tries to mount a cifs share when the VPN is connected (after I've already logged in to the desktop - so kerberos ticket is issued). It's in : /etc/NetworkManager/dispatcher.d/ #!/...
3
votes
0answers
91 views

WiFi Adapter Not Found in 18.04 on XPS 13 9360

I've been using my XPS 13 9360 under 18.04 for quite a while now, but as of a few days ago, Ubuntu is no longer detecting my wireless adapter. I've tried googling for a solution, but nothing I've ...
3
votes
0answers
72 views

Wifi disconnects and is unable to detect networks

I run Ubuntu 19.04, and recently I've been unable to connect to WiFi. Upon startup it will detect the available networks, but then changes to showing no networks available. I'm currently dual-booting ...
3
votes
0answers
191 views

RTL8812AU Failing While Attempting Hotspot Setup

Fresh install of 19.04, running alongside an installation of Windows 10 (different drives). I have an ethernet cable coming into my onboard port, which I use for my main connection. I also have the ...
3
votes
0answers
601 views

Cannot find Wifi networks with Ubuntu 18.04.01 MATE

My problem is that I am unable to discover new wireless networks using the network manager. There is no option to do so under tray, and System > Preferences > Internet and Network > Network ...
3
votes
0answers
500 views

Cannot connect Kubuntu 18.04 to Enterprise WPA2 PEAP authentication

I'm having trouble connecting to my institution's wifi on Kubuntu 18.04. The laptop I'm using can connect just fine when using Windows 10. I can also connect using my username and password on my ...
3
votes
1answer
212 views

My university network is changing resolv.conf. How do I prevent that?

When I connect to the internet in my university, through a PEAP, MSCHAPv2 protected WPA2 wifi network, it changes my resolv.conf to this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated ...
3
votes
1answer
536 views

Connecting Ubuntu to Algo VPN

Does anyone have experience with connecting to an Algo VPN on a Ubuntu 16.04 client (running Gnome)? Would really love to know how to best do this, thanks!
3
votes
0answers
88 views

How to directly connect computers that are also on the same LAN?

Here is the layout of my local network: Client (Running Ubuntu 17.10). Server (Running Ubuntu Server 16.04). Simplified ASCII art of my network: Client~~~~~~~Server | | | ...
3
votes
1answer
8k views

Job for NetworkManager.service failed because the control process exited with error code

I am Running Ubuntu 16.04 KDE. See this for specifications. $ uname -a Linux ElMaverick 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/...
3
votes
0answers
482 views

Network manager times out using OpenVPN, but VPN is working

I'm trying to connect to a VPN service using the gnome network manager applet. It times out when I try to do this and this is what I see in /var/log/syslog: Sep 15 18:50:13 mylaptop NetworkManager[...
3
votes
0answers
422 views

Prevent Network Manager controlling RNDIS interfaces

Is there a way to prevent network manager from auto-connecting to new RNDIS devices? Android RNDIS devices cannot be configured using Network Manager because they connect with a random MAC address. ...
3
votes
1answer
690 views

DNS leaking on Ubuntu 16

I use a VPN. When I check DNS leak testing sites, my original ISP is shown. My government in the UK logs and spies on every internet connection legally and I don't want this to happen because although ...
3
votes
0answers
347 views

Wifi problems with HP Stream

My wireless model is: According to the label: BCM943142Y According to lspci: BCM43142 (rev 01) My network adapter's ID is: 14e4:4365 (rev 01) bcmwl-kernel-source is installed, and the Ubuntu ...
3
votes
0answers
614 views

wireless connection and nic card aren't recognized and doesn't come back until I reboot even if I restart network manager

My wireless connection completely disappears and isn't recognized along with my NIC card and doesn't come back until I reboot even if I restart network manager. Steps: 1) I boot up type in sudo ...