No wired connection - Wired unmanaged ubuntu 18.04

I had exactly the same problem, but then tracked down the following solution (via this article).

  1. Edit /etc/NetworkManager/NetworkManager.conf (needs to be done with sudo) changing the line managed=false to read managed=true
  2. Restart network manager with

    sudo service network-manager restart
    

I faced wired unmanaged problem when installing ubuntu-desktop in a Ubuntu 18.04 server installation.

The solution that worked for me is to tell netplan to switch to NetworkManager renderer.

Edit /etc/netplan/50-cloud-init.yaml (or other yaml file you find in /etc/netplan/)

network:
    renderer: NetworkManager # add this line
    ethernets:
        enp2s0:
            dhcp4: true
    version: 2

And then run sudo netplan apply

Tags:

18.04

Wired