After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765123 - ath5k wireless card detected as ethernet device
ath5k wireless card detected as ethernet device
Status: RESOLVED DUPLICATE of bug 764803
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-04-15 20:23 UTC by Jane Atkinson
Modified: 2016-04-21 11:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log after restarting NetworkManager (135.41 KB, text/plain)
2016-04-16 01:58 UTC, Jane Atkinson
Details
NetworkManager log when rebooting (96.29 KB, text/plain)
2016-04-16 02:02 UTC, Jane Atkinson
Details

Description Jane Atkinson 2016-04-15 20:23:48 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.
Comment 1 Thomas Haller 2016-04-15 20:47:49 UTC
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.
Comment 2 Jane Atkinson 2016-04-16 01:58:43 UTC
Created attachment 326144 [details]
Log after restarting NetworkManager

Portion of syslog after restarting NetworkManager
Comment 3 Jane Atkinson 2016-04-16 02:02:27 UTC
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.
Comment 4 Beniamino Galvani 2016-04-21 11:42:56 UTC

*** This bug has been marked as a duplicate of bug 764803 ***