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
159
votes
11answers
344k 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 ...
148
votes
4answers
390k 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 ...
134
votes
2answers
179k 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 ...
118
votes
8answers
316k 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?
114
votes
4answers
325k 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 ...
98
votes
5answers
465k 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) ...
85
votes
7answers
86k 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 ...
78
votes
6answers
158k 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?
75
votes
4answers
195k views

How can I display the list of available WiFi networks?

My Ubuntu laptops's WiFi works fine on various Wifi networks. But the list of available networks accessed from the toolbar icon of nm-applet by no longer appears. I just see the known networks. The ...
71
votes
7answers
138k 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.
69
votes
5answers
31k 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 ...
64
votes
7answers
245k 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. ...
64
votes
5answers
300k 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. ...
63
votes
2answers
248k 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 ...
57
votes
1answer
105k 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 ...
56
votes
9answers
490k 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 ...
56
votes
12answers
164k 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 ...
53
votes
4answers
39k 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 ...
44
votes
6answers
86k 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 ...
43
votes
2answers
176k 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 ...
42
votes
5answers
89k 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 ...
41
votes
4answers
87k 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 ...
38
votes
8answers
97k 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-...
36
votes
7answers
54k 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....
35
votes
6answers
124k 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 ...
34
votes
8answers
120k 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 ...
34
votes
9answers
51k 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... ...
32
votes
4answers
48k 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 ...
32
votes
10answers
49k 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, ...
32
votes
2answers
74k 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.
32
votes
8answers
33k 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 '...
32
votes
3answers
49k views

Why nm-tool is no longer available in Ubuntu 15.04?

Why is the nm-tool command line tool not available in Ubuntu 15.04?
31
votes
3answers
57k views

How do I setup OpenVPN so I can securely use the internet from an unsecured hotspot?

Goal: I want to be able to securely use the internet via my home PC while my notebook is connected to an open hotspot/access point. I do know that I can use a SSH tunnel/SOCKS proxy, but I don't want ...
30
votes
3answers
36k 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 ...
30
votes
4answers
36k views

14.04 - Network manager stopped working

When I started my laptop, there was no network service, and also no network icon in the top bar. It gives an error when I start OS like "Sorry, Ubuntu 14.04 experienced an internal error". When I ...
29
votes
14answers
26k 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.
28
votes
5answers
40k views

Cannot Import VPN connection

Since 12.04 I cannot connect to my VPN. my ovpn file is the following http://email.uoa.gr/help/download/vpn/edunet.ovpn When I try to import the VPN file i get the following error The file '...
28
votes
4answers
109k 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 ...
27
votes
6answers
84k views

NetworkManager tray (nm-applet) is gone after upgrade to 14.04 Trusty [duplicate]

I upgraded from 13.10 to 14.04 and now the nm-applet no longer shows in the system tray. I already tried purging and reinstalling the network-manager-gnome package but that didn't help. When I run nm-...
27
votes
4answers
64k views

Network manager indicator missing

I recently upgraded from 11.10 to 12.04. My first attempt failed, and I received an error stating that not all of the required packages were downloaded. Before (successfully) attempting again, I ...
26
votes
12answers
146k 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 ...
26
votes
6answers
114k 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 ...
26
votes
3answers
33k 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 ...
26
votes
1answer
11k views

Automatically disable wifi (wireless) when wired?

What's the best way to automatically disable my Wifi/wireless connection whenever I plug in a wired Ethernet cable? I'd like it to be re-enabled when I later unplug the wire. Also, I sometimes like ...
26
votes
4answers
35k views

Use Network-Manager to connect to a WiFi Access Point on the command-line

I'd like to connect to a wireless access point from the command-line. Ideally, I'd only need the name of the AP. But the hardware-address would work as well. I know I can use nmcli to connect to a ...
25
votes
2answers
105k 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 ...
25
votes
3answers
46k views

How can I disable the DNS that Network Manager uses?

Ubuntu uses a DNSMasq instance for Network Manager starting in 12.04 - how can I disable it?
25
votes
6answers
44k views

No more AnyConnect compatible vpn transport in Ubuntu 16.04?

Following my previous experiences with setting up Cisco AnyConnect VPN connections on Ubuntu 14.04 I tried the same approach here by installing packages: sudo apt-get install -y network-manager-...
25
votes
4answers
56k 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?
25
votes
2answers
34k views

Where to add the Pre-Shared Key for the Server Authentication with Network Manager for L2TP/IPSEC?

Previously, I was trying to figure out how to install the L2TP/IPSEC manager code. I guess Ubuntu/Canonical switched away from OpenSwan to StrongSwan, but didn't really announce it. So that was ...