Thank you very much, Francesco. With your info, I blanked the content of file "/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf" and my wired connection came back!
My summary: 1. The code dealing with 10-globally-managed-devices.conf may have somewhat wrong parsing. 2. If I swap the order of wifi and wwan in "[keyfile] unmanaged-devices=*,except:type:wifi,except:type:wwan", then it's wifi that doesn't work. 3. The network info/control of ubuntu unity doesn't have good sync with NetworkManager. Try the point 2. best regards, jarvis 2017-09-22 0:01 GMT+08:00 Francesco Giudici <[email protected]>: > > > On 21/09/2017 16:56, Jarvis Carlos wrote: > > Hi, > > > > Thanks. It's: > > > > $ /usr/sbin/NetworkManager --print-config > > # NetworkManager configuration: /etc/NetworkManager/NetworkManager.conf > > (lib: 10-dns-resolved.conf, 10-globally-managed-devices.conf) (etc: > > default-wifi-powersave-on.conf) > > > > [main] > > plugins=ifupdown,keyfile > > dns=systemd-resolved > > > > [keyfile] > > unmanaged-devices=*,except:type:wifi,except:type:wwan > > Hi Jarvis, > seems NetworkManager does not manage your ethernet devices. > Conf snippet just above allows NetworkManager to manage just wifi and > wwan devices. > > You may want to give a look at: > https://askubuntu.com/questions/882806/ethernet-device-not-managed > > Francesco > > > > > > [ifupdown] > > managed=false > > > > [connection] > > wifi.powersave=3 > > > > NB: I've never touched its configuration. However, when it failed, I've > > ever tried changing "[ifupdown] managed=false" to true, but it didn't > help. > > > > 2017-09-21 19:23 GMT+08:00 Thomas Haller <[email protected] > > <mailto:[email protected]>>: > > > > On Thu, 2017-09-21 at 19:10 +0800, Jarvis Carlos wrote: > > > Hi, > > > > Hi, > > > > what gives > > > > /usr/sbin/NetworkManager --print-config > > > > ? > > > > Thomas > > > > > > > > > > _______________________________________________ > > 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
