1

I have just installed Ubuntu 18.04 LTS from mini.iso using Ethernet/cable.

Then I have installed MATE desktop to it by sudo apt-get install ubuntu-mate-desktop^.

But the NetworkManager tray icon/nm-applet says that Ehernet Networkdevice not managed:

What is the simplest method to setup the system to use NetworkManager back?


Note: please do not close this as duplicate - I need complete reproducible solution in one place.

4

To transform the system to normal MATE one should:

Remove systemd-networkd renderer:

sudo rm /etc/netplan/01-netcfg.yaml

Restore NetworkManager renderer:

cat <<EOF | sudo tee /etc/netplan/01-network-manager-all.yaml 
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
EOF

Apply netplan configuration with:

sudo netplan apply

Restart NetworkManager

sudo service network-manager restart

Optionally restore contents of /etc/network/interfaces

cat <<EOF | sudo tee /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
EOF

Note: this method is also applicable to Ubuntu MATE 19.10 and 20.04 LTS.

| improve this answer | |
  • Thank you! I have edited the great answer to get all pieces into it. For now it is really reproducible. I appreciate the first clue about /etc/netplan/01-network-manager-all.yaml. Manually compared the contents of /etc folders and discovered the same. – N0rbert Jul 8 at 21:38
  • Please do not recommend disabling the networkd service. This is not necessary, and diverges from the normal state of an installed system. – slangasek Jul 9 at 2:53
  • @slangasek thanks for the edit. For now I know more about netplan than before :) – N0rbert Jul 9 at 7:18
  • This works very well indeed, thanks for the edit. – mikewhatever Sep 19 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.