FS#52741 - [linux] 4.9.6-1 - WPA_Suppliant DEAUTH_LEAVING

Attached to Project: Arch Linux
Opened by Mike Devine (tibrob) - Friday, 27 January 2017, 21:30 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 27 February 2022, 10:44 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

Since today's update I cannot connect to any wifi via netctl, wifi-menu or manual mode. I've also tried to reinstall arch but got the same error after installation. When I start from Arch iso (archlinux-2016.10.01-dual), Wifi works perfectly.

--> sudo netctl start homeWlan
Job for netctl@homeWlan.service failed because the control process exited with error code.
See "systemctl status netctl@homeWlan.service" and "journalctl -xe" for details.

--> journalctl -xe
Jan 27 22:15:56 archlinux kernel: wlp5s0: authenticate with 5c:dc:96:bc:20:44
Jan 27 22:15:56 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 1/3)
Jan 27 22:15:57 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 2/3)
Jan 27 22:15:58 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 3/3)
Jan 27 22:15:59 archlinux kernel: wlp5s0: authentication with 5c:dc:96:bc:20:44 timed out
Jan 27 22:16:01 archlinux kernel: wlp5s0: authenticate with 5c:dc:96:bc:20:44
Jan 27 22:16:01 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 1/3)
Jan 27 22:16:02 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 2/3)
Jan 27 22:16:03 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 3/3)
Jan 27 22:16:04 archlinux kernel: wlp5s0: authentication with 5c:dc:96:bc:20:44 timed out
Jan 27 22:16:07 archlinux kernel: wlp5s0: authenticate with 5c:dc:96:bc:20:44
Jan 27 22:16:07 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 1/3)
Jan 27 22:16:07 archlinux kernel: wlp5s0: send auth to 5c:dc:96:bc:20:44 (try 2/3)
Jan 27 22:16:08 archlinux network[14619]: WPA association/authentication failed for interface 'wlp5s0'
Jan 27 22:16:08 archlinux kernel: wlp5s0: aborting authentication with 5c:dc:96:bc:20:44 by local choice (Reason: 3=DEAUTH_LEAVING)
Jan 27 22:16:08 archlinux network[14619]: Failed to bring the network up for profile 'homeWlan'
Jan 27 22:16:08 archlinux systemd[1]: netctl@o2Wlan.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 22:16:08 archlinux systemd[1]: Failed to start Networking for netctl profile homeWlan.
Jan 27 22:16:08 archlinux sudo[14613]: pam_unix(sudo:session): session closed for user root

Additional info:
* package version(s)
wpa_supplicant 1:2.6-4
linux 4.9.6-1
netctl 1.12-2

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 27 February 2022, 10:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed upstream
Comment by Baptiste Desbiolles (Babiol) - Monday, 30 January 2017, 13:18 GMT
Hi,

I'm not sure if it is the same bug but wifi is broken for me since linux 4.9.6-1.
I managed to connect via networkmanager but the connection appeared to break quickly and I was impossible to reconnect afterwards.

I tried to connect manually via wpa_supplicant manually and I had the following message:
CTRL-EVENT-DISCONNECTED bssid=somebssid reason=4 locally_generated=1

with:
linux 4.9.6-1
wpa_supplicant 1:2.6-4
Kernel driver: rtl8192ce

Downgrading to linux 4.8.14-1 solved the issue.
Comment by Mike Devine (tibrob) - Monday, 06 February 2017, 15:37 GMT
Just tried it with 4.9.7-1.


--> systemctl status wpa_supplicant@wlp5s0

wpa_supplicant@wlp5s0.service - WPA supplicant daemon (interface-specific version)
Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant@.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2017-02-06 16:25:34 CET; 31s ago
Main PID: 16490 (wpa_supplicant)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/system-wpa_supplicant.slice/wpa_supplicant@wlp5s0.service
└─16490 /usr/bin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf -iwlp5s0

Feb 06 16:25:34 archlinux systemd[1]: Started WPA supplicant daemon (interface-specific version).
Feb 06 16:25:34 archlinux wpa_supplicant[16490]: Successfully initialized wpa_supplicant
Feb 06 16:25:34 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Feb 06 16:25:52 archlinux wpa_supplicant[16490]: wlp5s0: SME: Trying to authenticate with 5c:dc:96:bc:20:44 (SSID='homeWlan' freq=2447 MHz)
Feb 06 16:26:06 archlinux wpa_supplicant[16490]: wlp5s0: SME: Deauth request to the driver failed
Feb 06 16:27:24 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="homeWlan" auth_failures=1 duration=10 reason=CONN_FAILED
Feb 06 16:27:24 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="homeWlan" auth_failures=2 duration=23 reason=CONN_FAILED
Feb 06 16:27:58 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="homeWlan"
Feb 06 16:27:58 archlinux wpa_supplicant[16490]: wlp5s0: SME: Trying to authenticate with 5c:dc:96:bc:20:44 (SSID='homeWlan' freq=2447 MHz)
Feb 06 16:28:12 archlinux wpa_supplicant[16490]: wlp5s0: SME: Deauth request to the driver failed
Feb 06 16:28:12 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="homeWlan" auth_failures=3 duration=46 reason=CONN_FAILED
Feb 06 16:28:12 archlinux wpa_supplicant[16490]: wlp5s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="homeWlan" auth_failures=4 duration=77 reason=CONN_FAILED

--> lspci
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

--> networkctl list
3 wlp5s0 wlan no-carrier configuring
Comment by Daniel Appelt (daniel.appelt) - Tuesday, 07 February 2017, 21:34 GMT
Same problem here with linux 4.9.6-1. WIFI connection is lost after some time using the network. Wifi driver is rtl8192ce.

For now, downgrading to linux 4.8 is a work-around for the problem.
Comment by Mike Devine (tibrob) - Tuesday, 07 February 2017, 21:40 GMT
linux 4.9.7-1
[dev@archlinux]: ~>$ sudo systemctl status wpa_supplicant@wlp5s0
wpa_supplicant@wlp5s0.service - WPA supplicant daemon (interface-specific version)
Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant@.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2017-02-07 22:37:34 CET; 8s ago
Main PID: 15012 (wpa_supplicant)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/system-wpa_supplicant.slice/wpa_supplicant@wlp5s0.service
└─15012 /usr/bin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf -iwlp5s0

Feb 07 22:37:34 archlinux systemd[1]: Started WPA supplicant daemon (interface-specific version).
Feb 07 22:37:34 archlinux wpa_supplicant[15012]: Successfully initialized wpa_supplicant
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: SME: Trying to authenticate with 5c:dc:96:bc:20:44 (SSID='homeWlan' freq=2447 MHz)
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: Trying to associate with 5c:dc:96:bc:20:44 (SSID='homeWlan' freq=2447 MHz)
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: Associated with 5c:dc:96:bc:20:44
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: WPA: Key negotiation completed with 5c:dc:96:bc:20:44 [PTK=CCMP GTK=CCMP]
Feb 07 22:37:36 archlinux wpa_supplicant[15012]: wlp5s0: CTRL-EVENT-CONNECTED - Connection to 5c:dc:96:bc:20:44 completed [id=0 id_str=]

Connected, but cannot ping anything.
Comment by Ivan P (Soukyuu) - Wednesday, 08 February 2017, 19:09 GMT
For rtl8188CE, it's an issue with firmware loading, see https://github.com/lwfinger/rtlwifi_new/issues/203
Workaround I am using at the moment is installing the rtlwifi_new-dkms aur package.
Comment by Christoph Renner (Lemy) - Thursday, 09 February 2017, 09:43 GMT
Installing the rtlwifi_new-dkms aur package solved the problem for me as well. I'm using rtl8192ce. Thanks.
Comment by razer raz (razer) - Friday, 10 February 2017, 07:13 GMT
I have the exact same issue with a ralink chipset : RT5370 Wireless Adapter
Downgrade to 4.8 kernel solve the issue
Seems no dkms package in AUR for ralink
Comment by Mike Devine (tibrob) - Friday, 17 February 2017, 21:36 GMT
Downgrade to 4.8 solved the issue, but that can not be the solution in the long run ...
Comment by Mike Devine (tibrob) - Friday, 17 February 2017, 21:40 GMT
btw: sudo pacman -Syu --ignore xf86-video-ati --ignore acpi_call --ignore linux --ignore linux-headers ... is not very great
Comment by Shinto (Shinto) - Sunday, 26 February 2017, 14:06 GMT
Since 4.9.11 I don't experience this issue anymore.
Comment by Mike Devine (tibrob) - Tuesday, 28 February 2017, 02:23 GMT
Thank you. 4.9.11 solved the problem.

Loading...