Skip to main content

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
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 ...
cmo's user avatar
  • 6,398
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 ...
Tim Fountain's user avatar
  • 2,099
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 ...
Daniella Glover's user avatar
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?
jrg's user avatar
  • 60.9k
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?
Nicholas Marshall's user avatar
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 ...
Joshua Fox's user avatar
  • 2,941
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?
Ashish Karpe's user avatar
  • 2,437
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 ...
user7048's user avatar
  • 1,411
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.
Olivier Lalonde's user avatar
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. ...
wifan's user avatar
  • 1,141
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) ...
SimonJGreen's user avatar
  • 2,391
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-...
Cerin's user avatar
  • 6,574
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 ...
jasmines's user avatar
  • 11.1k
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. ...
Witek's user avatar
  • 3,963
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 ...
Adam Albanowicz's user avatar
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 ...
Mahalakshmi Ramanathan's user avatar
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
Sandeep C's user avatar
  • 1,111
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 ...
Wim Coenen's user avatar
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 ...
jdgregson's user avatar
  • 1,044
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: ...
Severin's user avatar
  • 1,511
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 ...
Rebel's user avatar
  • 2,215
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... ...
R Pennese's user avatar
  • 1,165
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 ...
Stefan Lasiewski's user avatar
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 ...
TeeStar's user avatar
  • 723
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 ...
martin49's user avatar
  • 752
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 ...
mkasberg's user avatar
  • 1,404
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 '...
ahooee's user avatar
  • 665
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.
Oxwivi's user avatar
  • 18k
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, ...
Lucosias's user avatar
  • 623
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 ...
sekhar's user avatar
  • 491
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 ...
jglerner's user avatar
  • 643
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.
aaaa's user avatar
  • 1,233
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 ...
totti's user avatar
  • 6,818
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 ...
Karel Bílek's user avatar
  • 2,514
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 ...
Drassx15's user avatar
  • 483
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 ...
user240010's user avatar
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 ...
Stefano Palazzo's user avatar
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 ...
Cerin's user avatar
  • 6,574
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 ...
Forest's user avatar
  • 401
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 ...
ulidtko's user avatar
  • 5,802
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....
codedude's user avatar
  • 592
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?
gatoatigrado's user avatar
  • 1,863
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 ...
Anuj TBE's user avatar
  • 2,536
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, ...
Olivier Lalonde's user avatar
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 ...
842Mono's user avatar
  • 9,860
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?
user avatar
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 ...
Arseni Mourzenko's user avatar
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 (...
Damn Terminal's user avatar
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 ...
Harmonic's user avatar
  • 1,005
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?...
turbo's user avatar
  • 4,632

1
2 3 4 5
86