Arch Linux NetworkManager wifi 随机掉线

Arch Linux NetworkManager wifi 随机掉线

概述

我有一个 Arch Linux/Windows 10 双启动桌面,我已经使用了几年,几乎没有任何问题。就在昨天,我的 WiFi 连接在任何地方工作了 5 到 30 秒,然后断开连接,然后再次重新连接。然后,我在“我尝试过的事情”部分中完成了该过程,但仍然一无所获,我现在在这里。唯一需要注意的是,当用于 pacman 更新等操作时,WiFi 似乎会立即断开。

我将不胜感激任何帮助,我愿意根据需要上传任何额外的文件,但我已尝试附加我认为可能需要的任何文件和日志,除了我的journalctl日志,因为它们很长,我不确定如何编辑它们以便在互联网上发布,以便任何指示将不胜感激。

我尝试过的事情

我首先做一些事情,比如检查多个网络管理器正在运行,发现我已经在dhcpcd运行,尽管NetworkManager不使用它,所以我禁用了它。然后我登录到路由器并看到 ipv6 已“断开连接”,因此我尝试通过内核参数禁用 ipv6。在路由器页面中,我还尝试分配静态 IP,以防问题出在 dhcp 分配上,但因为这没有任何作用,所以我取消了它。然后我尝试启动 Windows 并禁用快速启动,因为有人说这有助于解决另一个论坛帖子上的类似问题。然后我尝试启动到 Arch 安装程序,它没有出现相同的连接问题。最近我尝试只是systemd-networkd检查它是否是一个NetworkManager问题并且问题仍然存在。

补充材料

iwconfig输出:

wlp3s0    IEEE 802.11  ESSID:"118527-2.4G"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 84:D3:43:04:97:D1
          Bit Rate=144.4 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=59/70  Signal level=-51 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:11   Missed beacon:0

sudo systemctl list-units --type service --no-pager -l输出:

  UNIT                                                                                      LOAD   ACTIVE SUB     DESCRIPTION
  dbus.service                                                                              loaded active running D-Bus System Message Bus
  [email protected]                                                                        loaded active running Getty on tty1
  kmod-static-nodes.service                                                                 loaded active exited  Create List of Static Device Nodes
  lvm2-monitor.service                                                                      loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
  NetworkManager.service                                                                    loaded active running Network Manager
  polkit.service                                                                            loaded active running Authorization Manager
  rtkit-daemon.service                                                                      loaded active running RealtimeKit Scheduling Policy Service
  systemd-binfmt.service                                                                    loaded active exited  Set Up Additional Binary Formats
  systemd-fsck@dev-disk-by\x2duuid-BB3A\x2d636F.service                                     loaded active exited  File System Check on /dev/disk/by-uuid/BB3A-636F
  systemd-fsck@dev-disk-by\x2duuid-f51233b1\x2d0c82\x2d4271\x2dbd8f\x2d46f85c54f510.service loaded active exited  File System Check on /dev/disk/by-uuid/f51233b1-0c82-4271-bd8f-46f85c54f510
  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 User Login Management
  systemd-modules-load.service                                                              loaded active exited  Load Kernel Modules
  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  Coldplug All udev Devices
  systemd-udevd.service                                                                     loaded active running Rule-based Manager for Device Events and Files
  systemd-update-utmp.service                                                               loaded active exited  Record System Boot/Shutdown in UTMP
  systemd-user-sessions.service                                                             loaded active exited  Permit User Sessions
  transmission.service                                                                      loaded active running Transmission BitTorrent Daemon
  udisks2.service                                                                           loaded active running Disk Manager
  [email protected]                                                             loaded active exited  User Runtime Directory /run/user/1000
  [email protected]                                                                         loaded active running User Manager for UID 1000
  wpa_supplicant.service                                                                    loaded active running WPA supplicant

inxi输出:

System:
  Host: kali Kernel: 5.16.16-arch1-1 arch: x86_64 bits: 64 Desktop: i3
    v: 4.20.1 Distro: Arch Linux
Network:
  Device-1: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169

答案1

uname -sr您还可以发布或更好的输出inxi -NS

您的问题可能与最新版本的 afix info leak with DMA_FROM_DEVICE集成在内核 5.16.15 和 5.16.16 以及 5.15.29 中有关。您可以跟踪该错误这里

我当前的解决方法是使用早于引入问题的内核版本。我在用着5.16.14-arch1-1

相关内容