I updated from 16.04 to 17.04 a couple days ago. After doing so I found that when I connect my Ethernet cable, it doesn't connect or show connection as it did in 16.04. I Have an HP-15 laptop. I checked for drivers in update area, but it didn't find anything related to Ethernet network.

Here is what I did: To do this - in a terminal:

sudo nano /etc/NetworkManager/NetworkManager.conf

change the line managed=false to managed=true

Save, stop and start network manager:

sudo service network-manager restart

But still have the problem.

It looks like it tries to connect to LAN wired connection but then goes directly to WiFi and connects, then doesn't show any Ethernet connection like it did in 16.04. Any help would be appreciated. I'm almost ready to revert to 16.04

  • [main] plugins=ifupdown,keyfile [ifupdown] managed=true
    – casawyer
    Apr 25 '17 at 6:42
  • Went there followed the directions, rebooted and still no ethernet connection showing.
    – casawyer
    Apr 25 '17 at 6:54
  • # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # is the systemd-resolved stub resolver. # run "systemd-resolve --status" to see details about the actual nameservers. nameserver
    – casawyer
    Apr 25 '17 at 7:00
  • systemd-resolve --status the out put is to big to post in this. I followed that links instructions earlier didn't work.
    – casawyer
    Apr 25 '17 at 7:06
  • 1
    you can post the output at Paste Ubuntu and link it in the question, also update the information that we discussed in the comments to your question and delete comments Apr 25 '17 at 7:09

According to this bug report, the solution is to add a missing configuration file to NetworkManager, then to restart it.

It worked for me :

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager
  • 3
    That worked for me as well. 2 1/2 years later though. Is this still a bug???
    – alle_meije
    Oct 21 '19 at 10:14
  • After so much struggle. THANK YOU!
    – sas
    Nov 10 '20 at 9:33
  • Thanks for this. I was missing the config after having installed Ubuntu 20.04 while using a wireless adapter, and later removed the wireless and had no ethernet. I could get a connection temporarily with sudo dhclient enp2s0 and service network-manager restart but it would disappear again after restart. Adding the globally managed devices conf file resolved it for me. May 29 at 21:14

Open an Terminal window. There are many different methods for this. The easist is to Alt + Ctrl + T at the same time.

Step 1 Type in or copy this command: sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf Then press the Enter key. Now type in your user password and press the Enter key again.

Step 2 Do the same for this command: sudo systemctl restart NetworkManager


I entered this into terminal:

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf

entered and then rebooted and it is there.

  • This fixed my problem. My Ethernet adapter was completely missing from ifconfig output but is available now.
    – Pedro_Uno
    Sep 6 '17 at 22:56
  • This fixed my problem also...in Ubuntu 20.04 LTS. So I give you an upvote.
    – A.G.
    Apr 8 at 16:07

For temporary solution use

sudo dhclient
  • This command actually made my ethernet connection come back alive after I've broken it using autoremove...
    – Fusseldieb
    Jan 31 at 8:20

Ethernet Network not showing or connecting in Ubuntu 18.04

It is working fine. Just open the terminal and update the system using WiFi-connection:

sudo apt-get update

After compliantion of the update


Now open the New terminal:

sudo nano /etc/NetworkManager/NetworkManager.conf

change the line managed=false to managed=true

Save, stop and start network manager:

if you find any problem else more try this:

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf

sudo systemctl restart NetworkManager

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