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.
2,061
questions with no upvoted or accepted answers
13
votes
2
answers
16k
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 ...
9
votes
0
answers
472
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 ...
8
votes
0
answers
10k
views
Ubuntu 22.04 Activation of Network Connection Failed
I have tried all the methods I have found but nothing works.
The connection I am trying to get to work is wired ethernet, the cable goes to the wall socket, back to a tp-link tl-sg108, which takes the ...
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 ...
7
votes
1
answer
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 ...
7
votes
1
answer
297
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
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 ...
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 ...
6
votes
3
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 ...
6
votes
2
answers
4k
views
Ubuntu 20.04 - Disable periodic WiFi Scanning
In reference to this issue about the rtl8821ce WiFi chip that faces a lag and packet drops when dealing with periodic WiFi Scan requests, I looked for a way to disable periodic WiFi Scan requests ...
6
votes
0
answers
3k
views
VPN: openconnect how to indicate a form field for authentication purposes?
I am trying to connect to a corporate vpn using openconnect (protocol Global Protect):
perret at perret-pc in ~
$ openconnect --protocol=gp [vpn-address]
POST [vpn-address]/ssl-vpn/prelogin.esp?tmp=...
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 ...
6
votes
0
answers
2k
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
* ...
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,...
6
votes
1
answer
5k
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 ...
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 ...
6
votes
1
answer
4k
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 will ...
5
votes
0
answers
938
views
Available networks stopped showing 5GHz networks on Ubuntu 22.10, 22.04
I was able to connect my home 5GHz wifi (with _5G suffix on name) on Ubuntu 22.04. After an update via Software Updater, my network list stopped showing 5Ghz networks. I then upgraded Ubuntu to 22.10, ...
5
votes
1
answer
2k
views
Wifi Network-manager icon in green color Ubuntu 20.04
Ubuntu 20.04, does any of you knows why the icon tray is displayed as green?
When this happen also the wifi stops working.
I found this on the web but they trolled the poor guy.
It only happens when I ...
5
votes
0
answers
1k
views
Ubuntu 19.10: "Add" OpenVPN connection is grayed out
I'm trying to add a new OpenVPN connection on a fully-updated Ubuntu 19.10 PC, but the Add button uptop is grayed out:
I already tried to:
zane@zane-pc:~$ sudo apt-get install network-manager-...
5
votes
1
answer
763
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 ...
5
votes
0
answers
9k
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 "...
5
votes
0
answers
5k
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
1
answer
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
0
answers
8k
views
How to backup/export connections in network-manager in Ubuntu 16.04?
If you have a number of configured wired/wireless or VPN connections in network-manager, how can you backup/export those connections together with the username/password (if you have VPN connections), ...
5
votes
0
answers
3k
views
/var/run/user/1000 owned by root
I am running Ubuntu 14.04 and having an intermittent problem where /var/run/user/1000 is getting the wrong ownership. UID 1000 is my uid for a standard user, however for some reason the ownership of ...
5
votes
0
answers
2k
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
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 ...
5
votes
0
answers
5k
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 ...
5
votes
3
answers
6k
views
Ubuntu 18.04: Two wireless interfaces
I just install Ubuntu 18.04 on my laptop.
The laptop already has a wireless interface, when i try to plug in a USB wireless interface and try to turnoff one of them the other will stop too.
And i can'...
4
votes
0
answers
4k
views
Ethernet device is strictly unmanaged on Ubuntu 20.04
Trying to enable Ethernet using nmtui on my laptop that is connected using a USB to Ethernet adapter fails with error "Ethernet connection is not available because device is strictly unmanaged&...
4
votes
0
answers
4k
views
bpfilter kernel log
I am using ubuntu 20.04.3 with a kernel 5.14.11-051411-generic. When I examine the kernel log, I find numerous and seemingly useless messages such as:
tail -f /var/log/kern.log
Oct 19 18:04:03 hugo-MS-...
4
votes
0
answers
19k
views
No Wi-Fi device found by NetworkManager
System: Ubuntu 20.04 on Asus Vivobook 15 (X415 / M415) [no other OS]
Problem: No Wi-Fi device found by NetworkManager:
root@bhagirathi:~# nmcli device wifi list
root@bhagirathi:~# nmcli device wifi ...
4
votes
1
answer
3k
views
Ubuntu 18.04 DNS Not Working
I'm having a problem with DNS on Ubuntu 18.04. I think there is a misconfiguration somewhere between netwrok-manager, systemd-resolved and resolvconf.
I can ping IP addresses ok, but not host names:
$ ...
4
votes
0
answers
1k
views
Using "sudo openconnect" sets VPN DNS, but Gnome VPN setups don't on Ubuntu 20.04
OK, forgive me, but this is my first time posting about openconnect issues. Before my disk crash, I was using Ubuntu 18.04 LTS. I reinstalled it and remembered that to make it connect to my ...
4
votes
2
answers
881
views
WIFI keeps disconnecting every half an hour
I have a Lenovo thinkpad with intel wireless: Cannon Point-LP CNVi [Wireless-AC] 9560.
It worked great until I upgraded from Ubuntu 18.04 to 20.04.
Ever since it disconnects from the internet every ...
4
votes
0
answers
3k
views
Wireless Authentication Problem [20.04]
Wireless Authentication Problem on Ubuntu 20.04
Issue Description:
I am unable to connect to any wireless network, so far I have tested 3 networks on both 5, and 2.4GHz bands. Every test I have ...
4
votes
0
answers
964
views
Network manager slow to connect
On Kubuntu 20.04 the NetworkManager is slow to connect via LAN. It is in the "Setting network address" state for about 20-30 seconds, while dhclient from console connects (obtains IP) immediately. I'm ...
4
votes
1
answer
4k
views
Network connection: Make available to other users
which configuration file controls the option "Make available to other users" in the Network settings?
For users, who are in the netdev group, this option is checked by default. I would like to change ...
4
votes
0
answers
2k
views
Where are all the network-bridges coming from, ifconfig shows me?
I'm using Ubuntu 18.04.3 LTS
As I'm a developer, I have Docker, docker-compose and Virtualbox and Vagrant installed
If I enter in a terminal:
$ ifconfig
I got a long list of network bridges.
...
4
votes
1
answer
9k
views
How to add second extra network interface on Ubuntu 18.04 VM on OpenStack
I have a public interface on a Ubuntu 18.04 VM hosted by a provider that uses OpenStack. Now I want to add a second extra interface for the internal network. I'm not sure how to do that.
Using the ...
4
votes
0
answers
910
views
Unable to connect to Azure VPN on Ubuntu 18.04
I have one Azure P2S VPN gateway configured for my subscription. I am able to connect to it from any windows machine with no error.
I want to connect to it through Ubuntu Machine. So I followed steps ...
4
votes
0
answers
946
views
Network Manager blocked result in hang system
I've encounter this problem, which hangs the operational use of my OS as such.
- Not able to sudo, su -, launch a new terminal
- Not able to reboot (cli or gui)
- No network
- Not able to launch new ...
4
votes
0
answers
1k
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
1
answer
526
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
3
answers
9k
views
I can't connect to VPN under Ubuntu, what is possible on Windows
I was provided with an access to the VPN server. All I got were server's IP, username and password. Under Windows connecting to the server was easy - I just had to type the information I received.
...
4
votes
0
answers
419
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
0
answers
949
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[...
4
votes
0
answers
423
views
Where do I look to see if my sent crash reports is being tracked?
Recently I've been having an issue with NetworkManager crashing on boot or on resume from suspend. I enabled apport specifically, so I can report and track this issue.
When the problem occurs I get ...
4
votes
0
answers
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. ...