首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >随机“本地选择的去认证(原因: 3=DEAUTH_LEAVING)”

随机“本地选择的去认证(原因: 3=DEAUTH_LEAVING)”
EN

Unix & Linux用户
提问于 2017-04-03 10:44:31
回答 2查看 8.9K关注 0票数 16

我在跑

代码语言:javascript
运行
复制
uname -r
4.10.6-1-ARCH

在我的Dell 13开发者版(2014年)上,我的WiFi (我用NetworkManager和nm-applet一起使用KDE)出现了奇怪的问题: :

  1. 在最肤浅的层面上,我观察到有时它工作得很完美:当我启动我的PC时,它已经连接到了WiFi,有时它不会以任何方式连接( WiFi总是一样的);
  2. 我试图重新启动NM,但问题仍然存在。
  3. 有时,如果我重新启动我的笔记本电脑,它会再次工作,有时不会。
  4. 我试着用nmcli:nmcli连接我的-WiFi。

然后我观察

代码语言:javascript
运行
复制
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

始终存在相同的错误。 I不知道如何修复。请注意以下内容:

  1. 我的PC是Linux友好的(与Ubuntu一起销售),特别是lspci -k 02:00.0网络控制器: Intel公司无线7260 (rev 6b)子系统: Intel公司双波段无线-AC 7260内核驱动程序在使用中: iwlwifi内核模块: iwlwifi
  2. 所有必要的服务都在积极开展:
代码语言:javascript
运行
复制
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                   
user@1000.service                                   loaded active running User Manager for UID 1000                     
wpa_supplicant.service                              loaded active running WPA supplicant 
  1. 如果我使用USB有线以太网屏蔽,我可以与NM连接,没有问题;
  2. 我也试图直接与wpa_supplicant连接,但由于身份验证错误,这是不可能的。然而,我强调我的用户I和密码是正确的,因为有时我可以毫无问题地连接。

我该怎么办?

EN

回答 2

Unix & Linux用户

发布于 2022-07-04 06:53:28

可能是你的WiFi芯片有问题。我在笔记本电脑和安卓手机上都有这个问题。如果你还没有的话,有一件事可能会有帮助,那就是取下笔记本电脑的后盖,然后用压缩机或罐装空气把它吹灭。有时候,灰尘足以破坏电子线路,因为它会导致建筑/短裤,有可能导致任何事情发生。我不能肯定我已经“修复”了像这样的WiFi卡,但是我可以说我从来没有弄坏过这样的卡,而且当我把所有的灰尘都从板上排出时,通常会有一个明显的速度差异。

或者,考虑到WiFi芯片制造商主要是如何支持的,您所使用的内核模块可能是错误的。我在“棱镜”设备上处理监视器模式时遇到了这个问题(尽管Linux甚至告诉我,棱镜驱动程序在监视器模式下不能很好地工作)。

最后,我情不自禁地注意到您的路由器正在将您的路由器限制在14 but。如果没有天线,这只是25毫瓦的功率(信号的实际功率取决于输入设备的dbm和天线的增益)。在美国,你可以被允许1瓦(1000 mW)或EIRP (这是整个“天线+发射机功率”公式,FCC用于调节功率为1瓦。无论如何,这也可能是问题的一部分原因。25兆瓦=1/40瓦,所以你的WiFi卡可能只限于窃窃私语。要解决这个问题,可以尝试破坏WiFi卡的管理域,iw命令中的txpower选项,或者查看路由器是否必须限制客户端的txpower。

票数 1
EN

Unix & Linux用户

发布于 2019-10-12 15:04:46

我看到NetworkManager和wpa_supplicant都在运行。我的笔记本电脑(Inspiron 7590)与英特尔9560-ac无线网卡也有类似的问题。用wpa_supplicant代替NetworkManager后,事情就解决了。在此之前,我在互联网上尝试了每一个建议,但都没有成功。

编辑:问题是多个dhcpcd客户端。wpa_supplicant系统现在也是稳定的。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/355570

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档