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.

Filter by
Sorted by
Tagged with
11 votes
1 answer
5k views

Ubuntu16.04 wired connection not working after suspend

I have a dell vostro 14-5480 laptop installed Ubuntu 16.04. I recognize that after suspend, my wired connection does not work anymore. I tried restart network-manager service by sudo service network-...
arshavindn's user avatar
11 votes
2 answers
8k views

Sharing connection in Ubuntu 17.10

Initial situation, context For a number of Ubuntu releases, connection sharing was made easy. With Ubuntu 16.04, my wi-fi connected laptop can easily share its connection to a local LAN (with a ...
Stéphane Gourichon's user avatar
11 votes
1 answer
18k 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 <UUID>", it always show "Connection establish successful" and then show "Network connection failed :...
cimi3386284gt's user avatar
11 votes
5 answers
25k views

Can't connect to WPA2 Enterprise PEAP network

I know there are about a dozen other questions like this, but so far none have helped me. My school uses a WPA2 Enterprise PEAP/MSCHAPv2 network without a cert(which I determined from a windows ...
Ashwin Gupta's user avatar
11 votes
4 answers
23k views

Screen-Sharing "no network selected for sharing" problem in unity control center (18.04)

I'm using ubuntu unity desktop unity control center > sharing > screen sharing > no network selected for sharing connection is working fine / but don't show in sharing setting / please check ...
Wai Yan Myo Hsat's user avatar
11 votes
3 answers
12k views

How to specify additional search domains for resolver in 16.04 GUI network settings when using DHCP?

With Gnome Ubuntu 14.04, it was possible to specify additional search domains for the resolv.conf, when editing a network connection, like so: But where do I find this field for the "additional ...
alexs77's user avatar
  • 653
10 votes
1 answer
10k views

What's the difference between network-manager.service and NetworkManager.service in Systemd?

I can't seem to be able to Google this easily and I'm not exactly sure where to find more information. I'm using Ubuntu 16.04 and my Systemd shows both network-manager.service and NetworkManager....
Rtsne42's user avatar
  • 1,207
10 votes
2 answers
21k 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 ...
Ravexina's user avatar
  • 55.7k
10 votes
2 answers
54k views

What do I put in the "Search Domains" field?

This one has always confused me. What do I put in this field?
Alan's user avatar
  • 2,770
10 votes
5 answers
38k views

Can not connect Huawei e3372 modem on Ubuntu 15.10. Please help

I got a new Huawei E3372 modem for my 4G data connection. I have not been able to make it work, since it does not show up in my Network Manager. Can some one point me to the correct direction on how ...
Tojo Chacko's user avatar
10 votes
2 answers
16k views

Network only using one DNS when connected to VPN

My company has a VPN that I need to connect to. In OSX, I do this by using openvpn with the following configuration: client dev tun proto udp remote <GATEWAY_ADDRESS> <PORT> resolv-retry ...
Tommy Brunn's user avatar
  • 9,741
10 votes
1 answer
22k views

Getting openconnect vpn to work through gui

I'm trying to add a vpn connection through the openconnect and using the gui. Even though it says that I am connected, I can't access any of the websites on the network I'm trying to connect to. ...
yob-v-u's user avatar
  • 123
10 votes
4 answers
22k views

In Wired Connection settings save option is getting grayed out

Each time I switch to manual configuration, of wired connection in Ubuntu 12.10, the save button gets grayed out. As soon as I start setting it in Manually, it gets grayed out.Please help ! One ...
sourav gupta's user avatar
10 votes
2 answers
34k views

Network Manager not working when installing ubuntu-desktop on a Ubuntu 18.04 Server installation

I have installed a Ubuntu 18.04 Server to be able to install on a RAID, followed by a ubuntu-desktop install. The problem is that the Network Manager does not work now, it does not allow me to see or ...
Óscar's user avatar
  • 1,006
9 votes
3 answers
23k views

Config import on network-manager-openvpn

I'm trying to use a free service using the OpenVPN protocol using OpenVPN's GUI module in the network manager. The config worked perfectly well as .ovpn on Windows. The behavior in Windows is such ...
Oxwivi's user avatar
  • 17.8k
8 votes
4 answers
58k views

Check VPN connection status (connect/disconnect) from the command line

How to check that a VPN connection is connected or disconnected using command line?
Saeed Zarinfam's user avatar
8 votes
2 answers
2k views

How to programatically sign into a hotspot-type network?

I often connect to a network, that is open, but requires a key-pass authentication before used in a webpage. Is it possible to automate the authentication with a script?
Vadim Peretokin's user avatar
8 votes
1 answer
84k views

how to configure 2 network interfaces with different gateways

Here is what is in my /etc/network/interfaces file: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 172.168.10.252 netmask 255.255.255.0 network 172.168....
aimbots's user avatar
  • 83
8 votes
2 answers
3k views

How do I ban a wifi network in Network Manager?

My wifi connection drops sometimes and, for some reason, Network Manager attempts to connect to my neighbor's network, which requires a password that I don't know. The network in question is not ...
Chris Conway's user avatar
8 votes
2 answers
12k views

Configuration of the Network Manager via DBus: how to set the ad hoc mode

I have an hard nut to crack: a nice bottle of italian Chianti wine to the solver! :) To automatically configure WiFi, I first have to kill the Network Manager and than activate the WiFi via the ...
Andrea's user avatar
  • 81
8 votes
5 answers
25k views

I have to issue "rfkill unblock wifi" at every boot

Config: Laptop, standard working wifi card, Ubuntu 14.04 At every boot, Wifi/Wlan is off/SoftBlocked, I can get it to work with the command sudo rfkill unblock wifi but after every reboot I have to ...
3pic's user avatar
  • 467
7 votes
2 answers
21k views

Can't save VPN passwords in Network manager (Xubuntu 16.04)

Just upgraded to Xubuntu 16.04, and wanting to set up my VPN. I'm trying to save my password in the network manager, but it refuses to save. Anytime I go back to it it's gone. I can also see that I ...
gammapoint's user avatar
7 votes
1 answer
4k 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 ...
Luke's user avatar
  • 279
7 votes
2 answers
12k views

restart network-manager

I followed the steps provided in this answer. However, one of the steps is to restart the network manager: sudo restart network-manager If I try this I will get the following error message: $ sudo ...
jukey's user avatar
  • 125
7 votes
2 answers
8k views

Why Network Manager Can't Detect My ZTE USB 3G Modem!

I am using ubuntu 12.10. I use a ZTE USB 3G Modem to connect to internet. I connect that modem through a driver software which was provided with the modem. This modem works fine. I can browse , use ...
Ashfaqur Rahaman's user avatar
7 votes
1 answer
44k views

Change MAC address via Terminal [duplicate]

Is there any way to change MAC address via Terminal ?And of course any command for this job ?
pyprism's user avatar
  • 377
7 votes
2 answers
19k views

How to enter password on console with NetworkManager's nmcli

I want to connect to a VPN with nmcli. Is there a way to allow me to provide a password to nmcli from the console? There seem to be ways to store the password in /etc/NetworkManager/system-...
Peter V. Mørch's user avatar
7 votes
1 answer
4k 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 ...
Dennis Hostetler's user avatar
7 votes
2 answers
10k views

WireGuard Management in Network-Manager on Jammy

On Ubuntu 20.04 (Focal), I was able to use the instructions outlined in this question to manage my WireGuard VPN connections through the regular Gnome VPN management. However, this is no longer ...
Dakota Brown's user avatar
7 votes
2 answers
13k views

NetworkManager broken after upgrade to Kubuntu Saucy

I had Kubuntu 13.04 on my ThinkPad X220, and I upgraded to 13.10 and I am not able to connect to a wired or wireless connection. The new network tray icon does not show any entries at all. In the ...
Martin Ueding's user avatar
7 votes
4 answers
2k views

Wifi connected but Internet drops frequently

I spent more than 2 weeks searching for a solution to the following problem without success: On my Ubuntu 18.04, I am connected to a Wifi (named "SmartCampus") but the internet keeps dropping ...
user avatar
6 votes
1 answer
37k views

How to connect to WiFi from Lubuntu?

After add the Manage Networks icon into the panel, I can see my Wi-Fi network on the list. So I click on the SSID and it prompt for a password. I enter the right or wrong password but nothing happens. ...
Lucio's user avatar
  • 18.8k
6 votes
3 answers
10k views

Prioritize VPN's DNS Server

Is there a way to prioritize a particular DNS server only when connecting to a VPN (OpenVPN) through Network Manager or one of its configuration files? I have a VPN (192.168.1.*) I frequently connect ...
Uyghur Lives Matter's user avatar
6 votes
2 answers
17k views

Network Manager script when interface up?

Because I am using Bionic Beaver/Ubuntu 18.04, the network settings in /etc/network/interfaces are being ignored and the settings in /etc/NetworkManager/system-connections/'eth0' are being used for i) ...
jsstuball's user avatar
  • 267
6 votes
2 answers
2k 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 ...
FilBot3's user avatar
  • 81
6 votes
4 answers
10k views

How to configure a fallback static IP address when there is no DHCP server present

I am working with an embedded linux device, which we typically connect to by static IP address during development. However, on-site we have a requirement to connect using DHCP and so, I would like to ...
user5265160's user avatar
6 votes
3 answers
5k views

How to whitelist / blacklist certain urls not to use VPN connection?

Sidenote: I turns out that our OpenVPN server is indeed setup for split tunneling, but our clients are pushing their own gateways: redirect-gateway def1 bypass-dhcp bypass-dns This was done as a ...
k0pernikus's user avatar
  • 6,105
6 votes
2 answers
11k views

How can I update a Network Manager connection from the command line?

I have a bunch of Ubuntu machines on my work ethernet LAN and I need to modify the default gateway. I'd rather not traipse round, interrupt people's work, to right click an applet, preferring instead ...
artfulrobot's user avatar
  • 8,543
6 votes
1 answer
1k views

Network Manager icon disapear 14.04

After installing hostapd (Ubuntu 14.04) Network Manager icon disappears. Even after removing hostapd, still Network Manager icon is not appearing. During boot up: Waiting up to 60 seconds to ...
Manku's user avatar
  • 181
6 votes
3 answers
34k views

Can't connect to WiFi with "Connection activation failed" error after upgrade from 14.04 -> 15.04

I recently upgraded from 14.04 to 14.10 to 15.04 in succession. I lost internet capabilities each time, thanks to my having to use a Realtek WiFi dongle. I was able to resolve those issues both times,...
RPiAwesomeness's user avatar
6 votes
4 answers
36k views

Stuck at getting IP configuration

Recently, whenever I try to connect to Ethernet, Ubuntu detects the LAN wire but takes a long time(about 10min) to get the IP address. Output of nm-tool: Type: Wired Driver: r8169 State: connecting (...
nitishch's user avatar
  • 705
6 votes
1 answer
3k views

Laptop wakes up by itself a few seconds after suspend or lidclose

I am running an Ubuntu 18.04.1 with kernel 4.15.0-29-generic, and my laptop (Macbookpro retina 15inch, mid 2015, MacBookPro11,5) wakes up automatically a few seconds after sleep. When I look at the ...
Mostafa's user avatar
  • 161
6 votes
1 answer
964 views

Why does Network-Manager close when it cannot bind to any connection?

When Network-Manager is not able to bind my Ubuntu to any connection, after a while it closes. The icon in the notification area (or indicator area) disappears, and it does not run any more. For ...
Agmenor's user avatar
  • 16.2k
6 votes
3 answers
4k views

resolv.conf permissions/ownership change after VPN disconnect

I recently installed Ubuntu 18.04. I set up a VPN through the standard Settings->Network GUI. I can connect to the VPN with no problems, but when I disconnect the VPN I cannot access the internet ...
ds1848's user avatar
  • 61
6 votes
3 answers
15k views

Why will network manager not allow me save my VPN settings?

I am trying to configure am OpenVPN client on my laptop. I am running Ubuntu 11.10 64-bit. When I open network manager and import the VPN settings from the premade config folder everything takes. The ...
AtomicPorkchop's user avatar
6 votes
1 answer
27k views

Unable to connect L2TP IPSec VPN from ubuntu 16.04 [duplicate]

I am trying to connect L2TP IPSec VPN connection from my Ubuntu 16.04 laptop. Every time I am facing same error since the same credentials working properly to connect VPNs server from any windows ...
Pratip Ghosh's user avatar
6 votes
0 answers
3k 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 ...
alci's user avatar
  • 5,839
5 votes
1 answer
3k 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 ...
user277062's user avatar
5 votes
2 answers
4k views

Network Manager crash out of nowhere Ubuntu 20.04

Basically, once in a while, the Network Manager dies out of nowhere. The computer still seems connected to the wifi but it says there is no connection to the internet; When I try to open the wifi ...
Pepe's user avatar
  • 151
5 votes
1 answer
272 views

How do I set networking enabled by default?

When I log into my computer, networking is disabled. I always have to enable it so I can connect to the internet. Does anyone know how to set it to enabled by default?
jumpnett's user avatar
  • 5,965

1
5 6
7
8 9
13