GNOME Bugzilla – Bug 765123
ath5k wireless card detected as ethernet device
Last modified: 2016-04-21 11:42:56 UTC
I've been asked to report this bug - https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1569590 - here. From the original report: Using xenial on Asus EeePC 900 Network manager has worked fine with the wireless card on this machine, until the update of 12 April. Now the wireless card appears greyed out in the nm-applet interface with no SSIDs visible. Ethernet still works. wicd works on this machine, but I'd prefer not to have to install that. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: network-manager 1.1.93-0ubuntu3 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic i686 ApportVersion: 2.20.1-0ubuntu1 Architecture: i386 Date: Wed Apr 13 09:55:01 2016 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d IpRoute: default via 192.168.1.1 dev enp3s0 proto static metric 100 192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.67 metric 100 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-dev: DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH enp3s0 ethernet connected /org/freedesktop/NetworkManager/Devices/1 Wired connection 1 745074e0-abba-4f29-8c5d-1bcfbcb13e3a /org/freedesktop/NetworkManager/ActiveConnection/0 wlp1s0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- -- -- lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/0 -- -- -- nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'. As noted in a subsequent comment, I can work around this by disabling wifi with hotkey, then re-enabling it and checking the "enable wifi" box. However, that has to be done on each (re)boot.
The logs from the referenced bugs both have a line "nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed" That is certainly a bug, but not clear why that happens. As to why the device is wrongly detected, it's also not visible in the log. Please attach a logfile with debug logging enabled. Edit /etc/NetworkManager/NetworkManager.conf and put [logging] level=TRACE and restart NM. Thank you.
Created attachment 326144 [details] Log after restarting NetworkManager Portion of syslog after restarting NetworkManager
Created attachment 326145 [details] NetworkManager log when rebooting Restarting NetworkManager reconnected immediately to the wireless card. I've added this additional log which covers the case where NetworkManager isn't able to manage the wireless card.
*** This bug has been marked as a duplicate of bug 764803 ***