[Pkg-utopia-maintainers] Bug#820352: network-manager: usb ath9k wifi asigned default wired connection at boot
Jason Woofenden
jason at jasonwoof.com
Thu Apr 7 17:30:27 UTC 2016
Package: network-manager
Version: 1.1.93-1
Severity: important
Dear Maintainer,
Every time I boot linux (2-ish times per day) NetworkManager won't
connect to my wifi, because it thinks my wifi card is an ethernet
device.
I try this:
nmcli d wifi list
And it outputs nothing.
However, this has lots of output:
iwlist scan
So it appears that the kernel knows it's a wifi card.
This command:
journalctl | grep "ath9k\|wlx00"
produces:
Apr 05 12:42:10 compy kernel: usb 5-3: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
Apr 05 12:42:10 compy kernel: usbcore: registered new interface driver ath9k_htc
Apr 05 12:42:10 compy kernel: usb 5-3: firmware: direct-loading firmware ath9k_htc/htc_9271-1.4.0.fw
Apr 05 12:42:10 compy kernel: usb 5-3: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
Apr 05 12:42:11 compy kernel: ath9k_htc 5-3:1.0: ath9k_htc: HTC initialized with 33 credits
Apr 05 12:42:11 compy kernel: ath9k_htc 5-3:1.0: ath9k_htc: FW Version: 1.4
Apr 05 12:42:11 compy kernel: ath9k_htc 5-3:1.0: FW RMW support: On
Apr 05 12:42:11 compy kernel: ath9k_htc 5-3:1.0 wlx00c0ca81fdaa: renamed from wlan0
Apr 05 12:42:11 compy NetworkManager[665]: <info> [1459874531.9945] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
Apr 05 12:42:11 compy NetworkManager[665]: <info> [1459874531.9976] devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/net/wlx00c0ca81fdaa, iface: wlx00c0ca81fdaa)
Apr 05 12:42:11 compy NetworkManager[665]: <info> [1459874531.9979] device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/net/wlx00c0ca81fdaa, iface: wlx00c0ca81fdaa): no ifupdown configuration found.
Apr 05 12:42:12 compy NetworkManager[665]: <info> [1459874532.0563] manager: (wlx00c0ca81fdaa): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Apr 05 12:42:12 compy NetworkManager[665]: <info> [1459874532.0610] settings: (wlx00c0ca81fdaa): created default wired connection 'Wired connection 2'
Apr 05 12:42:12 compy NetworkManager[665]: <info> [1459874532.0624] device (wlx00c0ca81fdaa): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 05 12:42:12 compy kernel: IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca81fdaa: link is not ready
Apr 05 12:42:12 compy kernel: IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca81fdaa: link is not ready
Then, I unplug my wifi adapter (usb) and plug it back in. Now I get
this additional output from ``journalctl | grep "ath9k\|wlx00"``
Apr 05 12:43:28 compy NetworkManager[665]: <info> [1459874608.2591] device (wlx00c0ca81fdaa): state change: unavailable -> unmanaged (reason 'removed') [20 10 36]
Apr 05 12:43:28 compy NetworkManager[665]: <warn> [1459874608.2659] device (wlx00c0ca81fdaa): failed to disable userspace IPv6LL address handling
Apr 05 12:43:28 compy NetworkManager[665]: <info> [1459874608.2667] devices removed (path: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/net/wlx00c0ca81fdaa, iface: wlx00c0ca81fdaa)
Apr 05 12:43:28 compy kernel: usb 5-3: ath9k_htc: USB layer deinitialized
Apr 05 12:43:32 compy kernel: usb 5-3: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
Apr 05 12:43:32 compy kernel: usb 5-3: firmware: direct-loading firmware ath9k_htc/htc_9271-1.4.0.fw
Apr 05 12:43:32 compy kernel: usb 5-3: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
Apr 05 12:43:33 compy kernel: ath9k_htc 5-3:1.0: ath9k_htc: HTC initialized with 33 credits
Apr 05 12:43:33 compy kernel: ath9k_htc 5-3:1.0: ath9k_htc: FW Version: 1.4
Apr 05 12:43:33 compy kernel: ath9k_htc 5-3:1.0: FW RMW support: On
Apr 05 12:43:33 compy kernel: ath9k_htc 5-3:1.0 wlx00c0ca81fdaa: renamed from wlan0
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.5156] rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/ieee80211/phy1/rfkill1) (driver ath9k_htc)
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.5213] device (wlan0): interface index 5 renamed iface from 'wlan0' to 'wlx00c0ca81fdaa'
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.5265] devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/net/wlx00c0ca81fdaa, iface: wlx00c0ca81fdaa)
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.5265] device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3:1.0/net/wlx00c0ca81fdaa, iface: wlx00c0ca81fdaa): no ifupdown configuration found.
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.5266] device (wlx00c0ca81fdaa): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 05 12:43:33 compy kernel: IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca81fdaa: link is not ready
Apr 05 12:43:33 compy kernel: IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca81fdaa: link is not ready
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.7440] sup-iface[0x9aeea88,wlx00c0ca81fdaa]: supports 4 scan SSIDs
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.7455] device (wlx00c0ca81fdaa): supplicant interface state: starting -> ready
Apr 05 12:43:33 compy NetworkManager[665]: <info> [1459874613.7456] device (wlx00c0ca81fdaa): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Apr 05 12:43:33 compy kernel: IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca81fdaa: link is not ready
Apr 05 12:43:34 compy NetworkManager[665]: <info> [1459874614.9209] device (wlx00c0ca81fdaa): supplicant interface state: ready -> inactive
Apr 05 12:43:34 compy NetworkManager[665]: <info> [1459874614.9346] device (wlx00c0ca81fdaa): Activation: starting connection [...]
[...]
And it connects to my wifi network automatically, and works
beautifully until next time I start linux up.
The log is from a couple days ago because I've been waiting to see
if this problem was consistent. It happens exactly like this every
time for me.
Several days ago, I had a similar problem, but it was intermittent,
and I could fix it with ``/etc/init.d/network-manager restart``.
Now if I run that, it still won't connect.
My wifi device is:
Wireless N USB GNU/Linux Adapter
Atheros AR9271
Model: TPE-N150USBL
purchased from ThinkPenguin
It gets great reception, is very reliable, and works flawlessly
(including auto-connect on boot) under Windows.
Please let me know if there's further experiments, information
gathering, etc. that I can do that would help diagnose this problem.
Thank you, - Jason
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.4.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages network-manager depends on:
ii adduser 3.114
ii dbus 1.10.8-1
ii init-system-helpers 1.29
ii isc-dhcp-client 4.3.3-9+b1
ii libbluetooth3 5.36-1
ii libc6 2.22-5
ii libglib2.0-0 2.48.0-1
ii libgnutls30 3.4.10-4
ii libgudev-1.0-0 230-3
ii libmm-glib0 1.4.14-1
ii libndp0 1.4-2
ii libnewt0.52 0.52.18-3
ii libnl-3-200 3.2.27-1
ii libnm0 1.1.93-1
ii libpam-systemd 229-3
ii libpolkit-agent-1-0 0.105-14.1
ii libpolkit-gobject-1-0 0.105-14.1
ii libreadline6 6.3-8+b4
ii libsoup2.4-1 2.52.2-1
ii libsystemd0 229-3
ii libteamdctl0 1.23-1
ii libuuid1 2.27.1-6
ii lsb-base 9.20160110
ii policykit-1 0.105-14.1
ii udev 229-3
ii wpasupplicant 2.3-2.3
Versions of packages network-manager recommends:
ii crda 3.13-1+b1
ii dnsmasq-base 2.75-1
ii iptables 1.6.0-2
pn iputils-arping <none>
ii modemmanager 1.4.14-1
ii ppp 2.4.7-1+2
Versions of packages network-manager suggests:
pn libteam-utils <none>
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list