Score:0

NetworkManager not handling connections

th flag

I am facing a problem where although I am connected to the network I cannot find any connections on my NM applet. I added a VPN configuration also there and whenever I try to log into it i get a prompt that says

Could not find source connection.

My /etc/network/interfaces contents are:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
#source-directory /etc/network/interfaces.d

#auto eno1
#iface eno1 inet dhcp

#gateway my_gateway_address

iface eno1 inet static
        address my_ip_address
        gateway my_gateway_addres

I have tried re-installing all the network manager packages and I had no luck with making my connections appear...

Here is the output of the nmcli -p -f general device show eno1:

===============================================================================
                             Device details (eno1)
===============================================================================
GENERAL.DEVICE:                         eno1
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/2
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        Ethernet Connection (7) I219-LM
GENERAL.DRIVER:                         e1000e
GENERAL.DRIVER-VERSION:                 3.2.6-k
GENERAL.FIRMWARE-VERSION:               0.5-4
GENERAL.HWADDR:                         E4:54:E8:D6:3A:68
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               3 (limited)
GENERAL.IP6-CONNECTIVITY:               3 (limited)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1f.6/net/eno1
GENERAL.IP-IFACE:                       eno1
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     no
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
---------------------------------------------

Here is the output of the nmcli device status:

DEVICE   TYPE      STATE      CONNECTION 
docker0  bridge    connected  docker0    
eno1     ethernet  unmanaged  --         
lo       loopback  unmanaged  --      

I tried managing the device by: sudo nmcli dev set eno1 managed yes but without success.

Lastly, here are the contents of /etc/NetworkManager/NetworkManager.conf file:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[device]
wifi.scan-rand-mac-address=no

Lastly, I use Ubuntu 20.04

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.