GNU/Linux >> Linux Esercitazione >  >> Linux

Casuale "deauthentication By Local Choice (motivo:3=deauth_leaving)"?

Sto correndo

uname -r
4.10.6-1-ARCH

sulla mia edizione per sviluppatori Dell XPS 13 (2014). Al momento sto riscontrando strani problemi con il mio wifi (uso Networkamanger con nm-applet per KDE):

1) al livello più superficiale ho osservato che a volte funziona perfettamente:quando avvio il mio pc, è già connesso al wifi e qualche volta non si connetterà in alcun modo (il wifi è sempre lo stesso);

2) Provo a riavviare NM:e il problema persiste.
3) A volte, se riavvio il portatile funziona di nuovo, a volte no.

4) Ho provato a usare nmcli

nmcli connection up My-WiFi 

poi osservo

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

c'è sempre lo stesso errore. non so come risolvere. Si noti quanto segue:

1) Il mio pc è linux friedly (è stato venduto con ubuntu), in particolare

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) Tutti i servizi necessari sono attivi

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                
[email protected]:intel_backlight.service loaded active exited  Load/Save Screen Backlight Brightness of backl
[email protected]: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 utilizzo uno shield eth cablato usb posso connettermi con NM senza problemi;

Correlati:passare F10 all'applicazione in Gnome-terminal?

4) Ho provato anche a connettermi direttamente con wpa_supplicant , ma era impossibile, a causa di errori di autenticazione tuttavia Sottolineo che il mio userid e pwd sono corretti poiché a volte riesco a connettermi senza alcun problema

Cosa devo fare?

Risposta accettata:

Vedo che hai sia NetworkManager che wpa_supplicant in esecuzione. Il mio laptop (Inspiron 7590) con scheda wifi Intel 9560-ac ha avuto un problema simile. Dopo aver sostituito wpa_supplicant con NetworkManager, le cose sono state risolte. Prima di allora ho provato ogni singolo suggerimento su Internet senza alcun successo.

EDIT:il problema erano più client dhcpcd. Il sistema ora è stabile anche con wpa_supplicant.


Linux
  1. Configurazione dell'archiviazione locale in Linux con Stratis

  2. 10 modi per generare una password casuale su Linux

  3. Gestione degli account di gruppo locali in Linux

  4. Generazione di UUID casuali in Linux

  5. Installa gem nella cartella locale

Imposta l'ambiente di sviluppo locale di WordPress in Linux

alternativa all'abbonamento redhat | Repo locale

Come generare una password casuale in Linux usando /dev/random

C'è mai un buon motivo per correre Sudo Su?

Procedura:Introduzione alla programmazione – Programmazione orientata agli oggetti

Criteri di gruppo locali di Windows