GNU/Linux >> LINUX-Kenntnisse >  >> Linux

Zufälliges „Deauthentifizieren durch lokale Wahl (Grund:3=deauth_leaving)“?

Ich laufe

uname -r
4.10.6-1-ARCH

auf meinem Dell XPS 13 Developer Edition (2014). Ich habe derzeit seltsame Probleme mit meinem WLAN (ich verwende Networkamanger mit nm-applet für KDE):

1) Auf der oberflächlichsten Ebene habe ich das manchmal beobachtet Es funktioniert perfekt:Wenn ich meinen PC starte, hat er sich bereits mit dem WLAN verbunden, und manchmal es wird keine Verbindung hergestellt (das WLAN ist immer das gleiche);

2) Ich versuche, NM neu zu starten:und das Problem bleibt bestehen.
3) Manchmal, wenn ich meinen Laptop neu starte, funktioniert es wieder, manchmal nicht.

4) Ich habe versucht, nmcli zu verwenden

nmcli connection up My-WiFi 

dann beobachte ich

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

es kommt immer der selbe fehler. Ich weiß nicht, wie ich das beheben soll. Beachten Sie Folgendes:

1) Mein PC ist Linux-freundlich (wurde mit Ubuntu verkauft), insbesondere

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) Alle notwendigen Dienste sind aktiv

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) Wenn ich ein USB-kabelgebundenes Eth-Schild verwende, kann ich mich problemlos mit NM verbinden;

Verwandte:Übergeben Sie F10 an die Anwendung im Gnome-Terminal?

4) Ich habe auch versucht, mich direkt mit wpa_supplicant zu verbinden , war aber aufgrund von Authentifizierungsfehlern jedoch nicht möglich Ich betone, dass meine Benutzer-ID und mein Passwort korrekt sind, da ich mich manchmal problemlos verbinden kann

Was soll ich tun?

Akzeptierte Antwort:

Wie ich sehe, laufen sowohl NetworkManager als auch wpa_supplicant. Mein Laptop (Inspiron 7590) mit Intel 9560-ac WLAN-Karte hatte ein ähnliches Problem. Nach dem Ersetzen von wpa_supplicant durch NetworkManager wurden die Dinge gelöst. Davor habe ich jeden einzelnen Vorschlag im Internet ausprobiert, ohne Erfolg.

BEARBEITEN:Das Problem waren mehrere dhcpcd-Clients. Das System läuft jetzt auch mit wpa_supplicant stabil.


Linux
  1. Verwalten lokaler Gruppenkonten in Linux

  2. „Aborting Authentication By Local Choice (reason:3=deauth_leaving)“ beim Versuch, eine WLAN-Verbindung herzustellen?

  3. Multicasting mehrerer Mdns-Namen?

  4. Gem im lokalen Ordner installieren

  5. Windows vs. Linux Ortszeit?

Richten Sie die lokale WordPress-Entwicklungsumgebung unter Linux ein

Redhat Subskriptionsalternative | Lokales Repository

So generieren Sie ein zufälliges Passwort unter Linux mit /dev/random

Gibt es jemals einen guten Grund, Sudo Su auszuführen?

Gewusst wie:Einführung in die Programmierung – Objektorientierte Programmierung

Erzwingen Sie lokalen IP-Verkehr zu einer externen Schnittstelle