PDA

View Full Version : [SOLVED] 17.04 updrade wired ethernet show 'device not managed'



raccoonstrait
April 15th, 2017, 08:42 PM
Hi,

I upgraded to 17.04 yesterday and now my Qualcom Atheros Killer E2400 Gigabit Ethernet controllers are not working. Network Manager tells me that the devices are not managed. Wireless works, but wired does not. Previous to the upgrade, wireless was disabled and all networking went over the wired connections. No problems.

ifconfig -a shows



enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::82fa:5bff:fe2c:1ba5 prefixlen 64 scopeid 0x20<link>
ether 80:fa:5b:2c:1b:a5 txqueuelen 1000 (Ethernet)
RX packets 14191 bytes 2521883 (2.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20131 bytes 23185754 (23.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18

enp4s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 80:fa:5b:2c:1b:a4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 713 bytes 286073 (286.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 713 bytes 286073 (286.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2319:4938:994d:a346 prefixlen 64 scopeid 0x20<link>
ether a4:34:d9:65:02:34 txqueuelen 1000 (Ethernet)
RX packets 734 bytes 111677 (111.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 208 bytes 30961 (30.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


but then sudo dhclient eth0 returns 'Cannot find device "eth0"./

I have deleted and added both connections using Network Manager, and when I checked /etc/NetworkManager/NetworkManager.conf
it showed managed=false, which I have now changed, but it has not helped and Network Manager still tells me the devices are not managed.




[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true



I followed suggestions from this forum for device not managed threads, but they are all older, and may not related to 17.04, none of them helped in any case.

My system is Xubuntu running XFCE. The devices both work when I reboot into Windows, so I am fairly sure it is not a hardware issue.

Racconstrait

raccoonstrait
April 17th, 2017, 06:49 PM
Working with System76 support, they noticed this bug and solution:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1638842
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1658921

The current fix is to run this command:



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


That worked. See message 6 and 7 in the thread for 1658921

Raccoon

laidbackwebsage
May 26th, 2017, 02:47 PM
The solution above did not work for me.

However, the following did work for me:


sudo vi /etc/NetworkManager/NetworkManager.conf

Here is what my default file looked like:


[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false


Under
[ifupdown], I changed
managed=false to
managed=true

Then,
sudo service network-manager restart

Enjoy!