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.
4,260
questions
214
votes
4
answers
678k
views
How to connect to WiFi from the command line?
Other posts seems to be addressing more complicated network connection issues from the command line.
The Unity panel Network indicator/button doesn't respond too well sometimes - it keeps trying to ...
200
votes
2
answers
302k
views
Connect/disconnect from VPN from the command line
I have two VPNs setup on my Ubuntu machine, one using vpnc and one using PPTP. These were both setup using the GNOME network manager interface and work great. However on occasion I need to access this ...
192
votes
12
answers
508k
views
network manager says "device not managed"
I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 .
Now are there no wired connections ...
190
votes
9
answers
562k
views
How can I use a .ovpn file with Network Manager?
I have a .ovpn file with my VPN config - it works fine when I do
sudo openvpn --config ~jrg/Documents/vpn-config.ovpn
in the terminal, but I'd like to use Network Manager. How can I do this?
165
votes
7
answers
573k
views
How to setup OpenVPN Client
I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
161
votes
4
answers
478k
views
How can I display the list of available Wi-Fi networks?
My Ubuntu laptop's Wi-Fi works fine on various Wi-Fi networks. But the list of available networks accessed from the toolbar icon of nm-applet no longer appears. I just see the known networks. The list ...
155
votes
9
answers
395k
views
After modifying /etc/hosts which service needs to be restarted?
After modifying /etc/hosts, which service(s) need(s) to be restarted for the change to take effect?
141
votes
5
answers
418k
views
How to connect and disconnect to a network manually in terminal?
Since the network manager is troubling me so much I want to replace it (possibly wicd orNM from ppa:volanin).
I do not know how to connect and disconnect to the network through the terminal without ...
117
votes
7
answers
257k
views
How can I troubleshoot "VPN Connection Failed"?
Is there anyway to get an error log for a failed VPN connection attempt? All I get is this notification and I have no idea where to go from there.
104
votes
8
answers
430k
views
How to restart WiFi connection?
I think I do not have problem with hardware. Sometimes the WiFi connection simply disconnects, apparently. So this is not necessarily the same as this case, I might not need to reload any modules.
...
101
votes
5
answers
495k
views
How to successfully restart a network without reboot over SSH?
In Ubuntu 14.04 neither sudo service networking restart nor sudo /etc/init.d/networking restart do anything any more. They also both exit with code 1. Something has obviously changed (or half changed) ...
98
votes
8
answers
265k
views
How to disable wireless from command line
How do you disable the wireless Internet from the command line?
I tried sudo ifconfig eth1 down but network-manager seems to ignore this and keeps trying to reactivate it. What's worse is the network-...
98
votes
6
answers
70k
views
How to manage available wireless network priority?
I'd like to move up and down available wireless access points, setting priorities as we can do in Microsoft Windows. I can't remember to have ever succeeded in this since using network-manager. Maybe ...
89
votes
7
answers
516k
views
How do I fix DNS resolving which doesn't work after upgrading to Ubuntu 13.10 (Saucy)
After upgrade to 13.10 my DNS resolving fails. It seems the DNS servers which I get by DHCP (LAN) are not used.
I could temporary solve the problem by adding nameserver 8.8.8.8 to /etc/resolv.conf. ...
86
votes
7
answers
94k
views
Last upgrade crashes network manager (no internet connection, no applet)
While upgrading today, something caused my wireless network manager to disappear. Not even connecting via wired connection.
This error is being shown by files:
**(nm-applet:2716): WARNING **: Could ...
81
votes
2
answers
325k
views
restart network interface after editing /etc/network/interfaces [duplicate]
restart the network service:
service networking restart
When I give the above command I get something like
stop: Unknown instance:
networking stop/waiting
I would like to know if the network ...
79
votes
4
answers
148k
views
What does NetworkManager-wait-online.service do?
NetworkManager-wait-online.service fails at boot and it delays my startup
77
votes
15
answers
250k
views
What is the proper way to change the DNS IP?
I suspect that the name server provided by my ADSL modem/router is buggy. Whenever I browse to a website for the first time in ubuntu, resolving the domain name takes at least 15 seconds.
To work ...
75
votes
7
answers
217k
views
Ubuntu 18.04: switch back to /etc/network/interfaces
Starting sometime around Ubuntu 18.04, the Ubuntu devs stopped using the classic /etc/init.d/networking and /etc/network/interfaces method of configuring the network and switched to some thing called ...
64
votes
6
answers
89k
views
Unable to load VPN connection editor in Ubuntu 14.04 LTS
Some time ago I created a VPN connection using Ubuntus own Network Manager, which worked fine! Now, a few months later, I want to go in and edit the connections details, but instead I get this error: ...
63
votes
1
answer
120k
views
Ubuntu GNOME 17.04: wi-fi not working -- mac address keeps changing?
My Panda USB wi-fi adapter works just fine on 16.10, but when I try to connect to my wi-fi router in 17.04, GNOME network manager reports "Connection failed." I did some tinkering, and noticed that my ...
63
votes
13
answers
126k
views
Cannot log in to public open Wifi connection
As a long time user of Ubuntu (10y+) I have noticed the relationship between Ubuntu and public Wifi hotspots (without wifi security) that require login through a web page have not always been easy...
...
63
votes
5
answers
60k
views
What is the difference between Network Manager and 'ifconfig' 'ifup', etc?
Ubuntu seems to provide at least two network "toolsets" (for lack of a better term). I'm running into conflicts between these two.
Network Manager
Something which is more like the traditional network ...
62
votes
9
answers
562k
views
How do I set a static IP in Ubuntu?
I am a new with Linux, having years experience with Windows servers/desktops and am having issues setting a static IP. I am using a method used for previous versions of Ubuntu, which doesn't seem to ...
59
votes
5
answers
183k
views
Ethernet device not managed
I am using Ubuntu 16.10 and recently I have not been able to connect to internet using Ethernet. The network manager shows device not managed.
The WiFi network is working fine.
I've tried the ...
54
votes
5
answers
288k
views
How do I configure the search domain correctly?
I recently installed Ubuntu GNOME on my work computer, replacing Windows 7, because I will be doing a lot of Linux development work.
Many of our configuration and development scripts use shortened ...
54
votes
12
answers
73k
views
"error: the plugin does not support import capability" when attempting to import openvpn config file
Gnome network manager can't import any openvpn config file (.ovpn) after upgrading ubuntu to 16.04 version;
I get the following error message
when I try to import openvpn config file:
The file '...
53
votes
2
answers
119k
views
Where are VPN configuration files imported by Network Manager saved?
I've imported an OpenVPN configuration file that behaves differently when trying to connect from Network Manager and command line. I would like to see what the imported configuration file looks like.
50
votes
12
answers
98k
views
cannot import saved openVPN configuration file in Ubuntu 16.04 LTS
I am trying to import a .ovpn file from the network manager.
Here are the steps I follow.
Network Manager → VPN Connections → configure VPN
This opens the Network Connections dialogue.
Then,
...
49
votes
13
answers
294k
views
How to reinstall network manager without internet access?
Unfortunately, I uninstalled network-manager-gnome using sudo apt-get remove --purge network-manager. I was trying to reinstall it from but without internet connection I cannot do so. What is the ...
49
votes
7
answers
231k
views
OpenVPN GUI client for UDP/TCP
Is there any easy solution for OpenVPN being executed from Desktop for non technician people so they only push a button and get connected to a external VPN?
Most of my colleagues are non Linux ...
48
votes
16
answers
57k
views
Ubuntu 18.04 - Ethernet disconnected after suspend
Ethernet does not resume after suspend.
sudo service network-manager restart
does not work. Only restart solves problem.
48
votes
2
answers
208k
views
How to reset network manager
I'm using Mobile Broadband using a nokia mobile to connect to Internet. All I did in my Ubuntu 12.10 is add 'new mobile broadband' (in terms of networking, no other tweaks).
Problem:
Yesterday i just ...
48
votes
2
answers
98k
views
Where are network manager logs? (16.04)
I have new Ubuntu and I want to debug some errors in network settings.
I cannot find log for NetworkManager.
/var/log/syslog and /var/log/daemon.log - what people recommend on this stack exchange in ...
46
votes
6
answers
173k
views
How can I completely remove NetworkManager?
I want to disable NetworkManager entirely, and have my eth0 and wifi connections unmanaged. My eth0 on my main linux box is unmanaged and I have no issues with it, I want to do the same to my other ...
45
votes
4
answers
599k
views
connect: Network is unreachable? - ping
When I attempt to ping google's dns or any outside the network I get
connect: Network is unreachable?
I can't update either which I put down to this
I am new to networking... And Ubuntu. But these ...
44
votes
6
answers
98k
views
How do I change / spoof my MAC address and easily switch between multiple ones?
My router can do port-forwarding based on MAC addresses. That is, a specific MAC will get a specific IP, for which I can configure a set of ports to be forwarded. In order to easily change that set of ...
43
votes
5
answers
101k
views
NetworkManager not populating resolv.conf
I recently upgraded from 11.10 to 12.04, and now NetworkManager isn't populating /etc/resolv.conf when connecting to wireless networks, when it had been working perfectly in 11.10. I'm not seeing any ...
40
votes
10
answers
50k
views
gray button for saving "editing VPN connection" in network-manager
I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my ...
40
votes
5
answers
165k
views
How to make dhclient forget its last DHCP lease?
What I'm trying to achieve is to get cold-start, zero-state DHCP lease which means forcing dhclient through the full discovery and configuration process (DHCPDISCOVER–DHCPOFFER–DHCPREQUEST–DHCPACK as ...
40
votes
7
answers
58k
views
Network manager forgets wireless password after sleeping or powering off
Every time I restore my computer from sleep or turn it on a window pops up asking for my wireless password. Once I enter it it connects successfully, but this happens every time. I'm using Ubuntu 11....
39
votes
4
answers
109k
views
Where are the NetworkManager logs?
A previous poster on the regular forums ( http://ubuntuforums.org/showthread.php?t=843991 ) said /var/log/daemon.log, but I don't seem to have such a file. Do I need to enable logging?
37
votes
8
answers
139k
views
Create WiFi hotspot on ubuntu
Although many questions have already been asked regarding WiFi hotspot, I didn't get any of the solutions working for me.
I connect to the Internet using a 3G Dongle of Huawei 3772 (Vodafone). The ...
35
votes
4
answers
67k
views
Connect to network before user login
As a learning experiment, I'm trying to turn Ubuntu Desktop into a server. I was able to disable X at boot time and now, I am trying to get my computer to connect to my WiFi network at boot time, ...
35
votes
3
answers
45k
views
How to restart the network manager applet
Sometimes my network manager indicator (applet) shows as if I'm not connected to wifi (no bars) and when I right click it it says "networking disabled" although I am connected to the internet. Maybe ...
34
votes
3
answers
73k
views
Am I running NetworkManager or networkd?
I am learning to use netplan. When writing a YAML configuration file I need to know which renderer to use, either NetworkManager or networkd.
How do I know if I am running NetworkManager or networkd?
34
votes
2
answers
82k
views
How do I disable network manager permanently?
I'm using Ubuntu 18.04.1 LTS. I want to disable network manager on an Ubuntu machine, because (1) I don't need it, (2) I prefer having hardcoded configuration, and (3) network manager regularly causes ...
33
votes
7
answers
77k
views
How to disable IPv6 when connecting to an OpenVPN server using Network Manager on a dual-stack system?
I'm using the OpenVPN client through the OpenVPN Network Manager plugin on a dual stack (meaning configured both for IPv4 and IPv6 connectivity) Ubuntu 13.10 to redirect all traffic through the VPN (...
32
votes
3
answers
48k
views
Ubuntu 16.04 LTS Network Manager cannot add VPN - greyed out
I'm trying to add a VPN to my network, but the option is greyed out.
Screenshot of the greyed-out indicator
I installed network-manager-openvpn but still no luck. Editing my connection does not show ...
32
votes
12
answers
88k
views
How to automatically connect to VPN with Network-Manager
I do have a working VPN connection. Now I want this VPN connection to automatically activate when I'm in a certain wireless network. Is there a non-intrusive graphical way using network-manager-applet?...