Aleatório "desautenticação por escolha local (Razão: 3 = DEAUTH_LEAVING)"

14

Estou correndo

uname -r
4.10.6-1-ARCH

na minha dell XPS 13 developer edition (2014). No momento, estou tendo problemas estranhos com o meu wifi (uso o Networkamanger no nm-appletKDE):

1) no nível mais superficial, observei que às vezes funciona perfeitamente: quando inicializo meu PC, ele já está conectado à rede wifi e às vezes não se conecta de maneira alguma (a rede wifi é sempre a mesma);

2) Tento reiniciar o NM: e o problema persiste. 3) Às vezes, se eu reiniciar meu laptop, ele funcionará novamente, às vezes não.

4) eu tentei usar nmcli

nmcli connection up My-WiFi 

então eu observo

dmesg
[  250.165837] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[  250.255882] wlp2s0: Limiting TX power to 14 dBm as advertised by 00:3a:9a:32:62:d3
[  272.004204] wlp2s0: deauthenticating from 00:3a:9a:32:62:d3 by local choice (Reason: 3=DEAUTH_LEAVING)
[  275.432861] wlp2s0: authenticate with 00:3a:9a:32:62:d3
[  275.435513] wlp2s0: send auth to 00:3a:9a:32:62:d3 (try 1/3)
[  275.440164] wlp2s0: 00:3a:9a:32:62:d3 unexpected authentication state: alg 0 (expected 0) transact 256 (expected 2)
[  275.538092] wlp2s0: send auth to 00:3a:9a:32:62:d3 (try 2/3)
[  275.540879] wlp2s0: authenticated
[  275.544662] wlp2s0: associate with 00:3a:9a:32:62:d3 (try 1/3)
[  275.546811] wlp2s0: RX AssocResp from 00:3a:9a:32:62:d3 (capab=0x431 status=0 aid=4)
[  275.548267] wlp2s0: associated
[  275.653364] wlp2s0: Limiting TX power to 14 dBm as advertised by 00:3a:9a:32:62:d3
[  297.004547] wlp2s0: deauthenticating from 00:3a:9a:32:62:d3 by local choice (Reason: 3=DEAUTH_LEAVING)
[  300.433810] wlp2s0: authenticate with 00:3a:9a:32:62:d3
[  300.437019] wlp2s0: send auth to 00:3a:9a:32:62:d3 (try 1/3)
[  300.438771] wlp2s0: authenticated
[  300.441086] wlp2s0: associate with 00:3a:9a:32:62:d3 (try 1/3)
[  300.443198] wlp2s0: RX AssocResp from 00:3a:9a:32:62:d3 (capab=0x431 status=0 aid=4)
[  300.444175] wlp2s0: associated
[  300.530232] wlp2s0: Limiting TX power to 14 dBm as advertised by 00:3a:9a:32:62:d3
[  322.003946] wlp2s0: deauthenticating from 00:3a:9a:32:62:d3 by local choice (Reason: 3=DEAUTH_LEAVING)
[  325.430498] wlp2s0: authenticate with 00:3a:9a:32:62:d3
[  325.433405] wlp2s0: send auth to 00:3a:9a:32:62:d3 (try 1/3)
[  325.435168] wlp2s0: authenticated
[  325.437533] wlp2s0: associate with 00:3a:9a:32:62:d3 (try 1/3)
[  325.439710] wlp2s0: RX AssocResp from 00:3a:9a:32:62:d3 (capab=0x431 status=0 aid=4)
[  325.440978] wlp2s0: associated
[  325.618536] wlp2s0: Limiting TX power to 14 dBm as advertised by 00:3a:9a:32:62:d3
[  347.007641] wlp2s0: deauthenticating from 00:3a:9a:32:62:d3 by local choice (Reason: 3=DEAUTH_LEAVING)
[  347.023798] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[  347.025937] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[  692.002060] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

sempre há o mesmo erro. Eu não sei como consertar. Observe o seguinte:

1) Meu pc é linux fryly (foi vendido com o ubuntu), em particular

lspci -k 
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
    Subsystem: Intel Corporation Dual Band Wireless-AC 7260
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

2) Todos os serviços necessários estão ativos

systemctl --type=service
UNIT                                                LOAD   ACTIVE SUB     DESCRIPTION                                   
dbus.service                                        loaded active running D-Bus System Message Bus                      
gssproxy.service                                    loaded active running GSSAPI Proxy Daemon                           
kmod-static-nodes.service                           loaded active exited  Create list of required static device nodes fo
lm_sensors.service                                  loaded active exited  Initialize hardware monitoring sensors        
NetworkManager.service                              loaded active running Network Manager                               
ntpd.service                                        loaded active running Network Time Service                          
polkit.service                                      loaded active running Authorization Manager                         
rtkit-daemon.service                                loaded active running RealtimeKit Scheduling Policy Service         
sddm.service                                        loaded active running Simple Desktop Display Manager                
systemd-backlight@backlight:intel_backlight.service loaded active exited  Load/Save Screen Backlight Brightness of backl
systemd-backlight@leds:dell::kbd_backlight.service  loaded active exited  Load/Save Screen Backlight Brightness of leds:
systemd-journal-flush.service                       loaded active exited  Flush Journal to Persistent Storage           
systemd-journald.service                            loaded active running Journal Service                               
systemd-logind.service                              loaded active running Login Service                                 
systemd-random-seed.service                         loaded active exited  Load/Save Random Seed                         
systemd-remount-fs.service                          loaded active exited  Remount Root and Kernel File Systems          
systemd-sysctl.service                              loaded active exited  Apply Kernel Variables                        
systemd-tmpfiles-setup-dev.service                  loaded active exited  Create Static Device Nodes in /dev            
systemd-tmpfiles-setup.service                      loaded active exited  Create Volatile Files and Directories         
systemd-udev-trigger.service                        loaded active exited  udev Coldplug all Devices                     
systemd-udevd.service                               loaded active running udev Kernel Device Manager                    
systemd-update-utmp.service                         loaded active exited  Update UTMP about System Boot/Shutdown        
systemd-user-sessions.service                       loaded active exited  Permit User Sessions                          
udisks2.service                                     loaded active running Disk Manager                                  
upower.service                                      loaded active running Daemon for power management                   
[email protected]                                   loaded active running User Manager for UID 1000                     
wpa_supplicant.service                              loaded active running WPA supplicant 

3) Se eu usar uma blindagem et com fio USB, posso conectar-me ao NM sem problemas;

4) Tentei também conectar-me diretamente com wpa_supplicant, mas era impossível, devido a erros de autenticação, mas enfatizo que meu userid e pwd estão corretos, pois às vezes consigo conectar-me sem nenhum problema

O que devo fazer?

MaPo
fonte
3
O XPS anterior a 2016 modela enormes problemas com a interferência entre dispositivos Wi-Fi e USB devido ao fato de as interfaces estarem próximas umas das outras, que foram um pouco atenuadas em versões mais recentes? Você está usando dispositivos USB quando tem esse problema?
Rui F Ribeiro
Notei que conectar o usb eth shield pode modificar o comportamento do erro do wifi. Mas isso não parece ser determinístico. No entanto, pensando racionalmente, deve ser possível identificar o problema.
MaPo 03/04/19
Extarct o iwlwifi -7260-ucode-22.1.7.0.tgz para o seu, em /lib/firmwareseguida, recarregue oiwlwifi
GAD3R
sem usar pacman?
MaPo
1
Quatro respostas upvoted, um aceites, aqui: unix.stackexchange.com/questions/386925/...
Rob

Respostas:

0

Vejo que você tem o NetworkManager e o wpa_supplicant em execução. Meu laptop (Inspiron 7590) com placa wifi Intel 9560-ac teve um problema semelhante. Depois de substituir o wpa_supplicant pelo NetworkManager, as coisas foram resolvidas. Antes disso, tentei todas as sugestões na internet sem sucesso.

Edição: O problema foi vários clientes dhcpcd. O sistema agora está estável com o wpa_supplicant também.

NTwoO
fonte