$ nmcli device was the right first-step debug, you did it right. >From there you can see that eth0 is detected and set as unmanaged. Debug logs can tell you why it has been put in unmanaged state... but I think Matteo just highlighted the issue, so probably no more debug is needed.
It seems to be a known Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1638842 Regards, Francesco On 27/03/2017 01:46, Matteo Croce wrote: > Hi, > > I've found this file in latest Ubuntu which seems to avoid NM managing > any interface but WiFi and WWAN: > > $ cat /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf > [keyfile] > unmanaged-devices=*,except:type:wifi,except:type:wwan > > is the same for you? > > Cheers, > > 2017-03-27 0:13 GMT+02:00 Paul Smith <[email protected]>: >> Hi all. Today I upgraded a system from Ubuntu GNOME 16.04 to Ubuntu >> GNOME 16.10. The upgrade went OK, with one exception: my wired >> interface has just disappeared from NetworkManager and I can't figure >> out how to get it back. My wireless interface is still available and >> works, as do my VPNs. >> >> Also, if I modify the /etc/network/interfaces file and add: >> >> iface eth0 inet dhcp >> >> then run "sudo ifup eth0" it comes up just fine, so the hardware/kernel >> etc. seems to be OK. I'd like to see if I can get NM to recognize it >> again; other programs seem to feel that there's no network on the >> system unless NM recognizes it. >> >> I'm not sure where to go to investigate further. Some info which may >> or may not be useful: >> >> $ nmcli device >> DEVICE TYPE STATE CONNECTION >> wlan0 wifi connected MYSSID >> lxcbr0 bridge unmanaged -- >> virbr0 bridge unmanaged -- >> eth0 ethernet unmanaged -- >> lo loopback unmanaged -- >> >> Trying to change the device to "Managed" doesn't work: >> >> $ sudo nmcli device set eth0 managed yes >> >> $ echo $? >> 0 >> >> $ sudo nmcli device >> DEVICE TYPE STATE CONNECTION >> wlan0 wifi connected MYSSID >> lxcbr0 bridge unmanaged -- >> virbr0 bridge unmanaged -- >> eth0 ethernet unmanaged -- >> lo loopback unmanaged -- >> >> >> _______________________________________________ >> networkmanager-list mailing list >> [email protected] >> https://mail.gnome.org/mailman/listinfo/networkmanager-list > > > _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
