[Bug 1050959] New: NetworkManager doesn't see existing wlan device since kernel 4.4.73, needs nudge. older kernel works fine
http://bugzilla.suse.com/show_bug.cgi?id=1050959 Bug ID: 1050959 Summary: NetworkManager doesn't see existing wlan device since kernel 4.4.73, needs nudge. older kernel works fine Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: PVince81@yahoo.fr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Environment: - Wifi stick TP-Link Archer AC 600 with a driver mt7610u-sta (Ralink) from Github. - Kernel 4.4.74-18.20-default - NetworkManager-1.0.12-4.3.1.x86_64 - KDE 5 / Plasma 5 This USB WLAN stick works fine if I boot back into kernel 4.4.62-18.6 on the same machine with NetworkManager. Starting with kernel 4.4.73-18.17, NetworkManager doesn't display the device anymore. - "ifconfig -a" displays the device as ra0 but is down - "nmcli d" only displays local interface The workaround to make it work is to give it a little nudge: 1. "systemctl stop network" 2. Then run wpa_supplicant with the correct config 3. While wpa_supplicant is running, run "systemctl start network". At this stage the network manager applet will display the wifi access points including the connected one 4. Stop wpa_supplicant Starting from here, NetworkManager will work fine. So it looks like that: - newer kernel versions contain a change that seem to prevent NetworkManager to auto-detect wifi devices - wpa_supplicant seems to properly initialize the devices so that NetworkManager can now see them. Maybe the kernel stopped pre-initializing the device (whatever that means) and now required NetworkManager to do it by itself ? In this forum thread there is a similar talk about a way to use wicked to nudge the network interface: https://forums.opensuse.org/showthread.php/521160-Network-Manager-doesn-t-li... Apparently there might be a patch here https://bugzilla.gnome.org/show_bug.cgi?id=763388 which could help. I haven't been able to test this myself as I'd need to dig deeper into source code / patching, etc. If this patch is working (needs testing) and is present in future versions of NetworkManager and not applied yet, would it be possible to backport this to be present in openSUSE 42.2 and 42.3's version of NetworkManager ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1050959
http://bugzilla.suse.com/show_bug.cgi?id=1050959#c1
--- Comment #1 from Vincent Petry
http://bugzilla.suse.com/show_bug.cgi?id=1050959
http://bugzilla.suse.com/show_bug.cgi?id=1050959#c2
--- Comment #2 from Vincent Petry
http://bugzilla.suse.com/show_bug.cgi?id=1050959
http://bugzilla.suse.com/show_bug.cgi?id=1050959#c3
--- Comment #3 from Vincent Petry
http://bugzilla.suse.com/show_bug.cgi?id=1050959
http://bugzilla.suse.com/show_bug.cgi?id=1050959#c4
--- Comment #4 from Vincent Petry
<info> (ra0): new 802.11 WiFi device (carrier: UNKNOWN, driver: 'usb', ifindex: 4) <info> (ra0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
So when failing it's getting "error 100 getting card mode". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1050959
Chenzi Cao
participants (1)
-
bugzilla_noreply@novell.com