Ubuntu 20.04.1:Wi-Fi 保持连接但间歇性失去网络访问

Ubuntu 20.04.1:Wi-Fi 保持连接但间歇性失去网络访问

最初 Wi-Fi 几乎无法使用,但我已将其恢复到某种程度。以下是我目前所做的:

  • 下载了“Dell Precision 5500 的硬件支持”更新(修复了网络速度)
  • 禁用 Wi-Fi 卡上的电源管理
  • 已禁用 IPv6
  • 根据服务标签在戴尔网站上查找驱动程序,但他们没有提供任何东西

网络本身很好,其他设备都没有问题。这是一个 Wi-Fi 6 网络和 Wi-Fi 6 卡,据我所知,Ubuntu 可以正常使用它,因为我能够在 speedtest.net 上下载近 500Mb/s。我想测试以太网,但不幸的是我没有以太网到 USB-C。

该问题通常只会在全新启动时发生一次,此后网络就正常了。

我的内核版本是5.11.0-25-generic。

以下是 的输出iwconfig

wlp0s20f3  IEEE 802.11  ESSID:"De Wanna Wanga"  
      Mode:Managed  Frequency:5.18 GHz  Access Point: F0:2F:74:91:18:74   
      Bit Rate=2.0412 Gb/s   Tx-Power=22 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Power Management:off
      Link Quality=70/70  Signal level=-33 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:71   Missed beacon:0

下面是输出lshw -C network

  *-network                 
   description: Wireless interface
   product: Wi-Fi 6 AX201
   vendor: Intel Corporation
   physical id: 14.3
   bus info: pci@0000:00:14.3
   logical name: wlp0s20f3
   version: 00
   serial: 8c:8d:28:43:fc:f6
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-25-generic firmware=55.d9698065.0 QuZ-a0-hr-b0-55.u ip=192.168.1.15 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: iomemory:600-5ff irq:16 memory:604b11c000-604b11ffff

我试图查看这是否是 DNS 问题,但是当问题发生时,即使 8.8.8.8 也不可用:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.15 icmp_seq=1 Destination Host Unreachable

我现在能想到的简单解决方法就是重新连接到网络。

NetworkManager 日志:

    Aug 13 11:08:59 prec5500 NetworkManager[1057]: <info>  [1628867339.6779] policy: set 'De Wanna Wanga' (wlp0s20f3) as default for IPv4 routing and DNS
Aug 13 11:08:59 prec5500 NetworkManager[1057]: <info>  [1628867339.6783] device (wlp0s20f3): Activation: successful, device activated.
Aug 13 11:08:59 prec5500 NetworkManager[1057]: <info>  [1628867339.6789] manager: startup complete
Aug 13 11:08:59 prec5500 NetworkManager[1057]: <info>  [1628867339.9459] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 13 11:09:09 prec5500 NetworkManager[1057]: <info>  [1628867349.8881] agent-manager: agent[91acd221a80c6f5d,:1.83/org.gnome.Shell.NetworkAgent/1000]: agent registered
Aug 13 11:14:02 prec5500 NetworkManager[1057]: <info>  [1628867642.7557] manager: NetworkManager state is now CONNECTED_SITE
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9090] device (wlp0s20f3): state change: activated -> deactivating (reason 'new-activation', sys-iface-state>
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9099] manager: NetworkManager state is now DISCONNECTING
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9130] device (wlp0s20f3): disconnecting for new activation request.
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9132] audit: op="connection-activate" uuid="62ca0131-6d90-46e1-9daa-d9f904cd015e" name="De Wanna Wanga" pid>
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <warn>  [1628867946.9290] sup-iface[0x55d1eb8cb120,wlp0s20f3]: connection disconnected (reason -3)
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9293] device (wlp0s20f3): supplicant interface state: completed -> disconnected
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9293] device (p2p-dev-wlp0s20f3): supplicant management interface state: completed -> disconnected
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9295] device (wlp0s20f3): state change: deactivating -> disconnected (reason 'new-activation', sys-iface-st>
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9631] dhcp4 (wlp0s20f3): canceled DHCP transaction
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9632] dhcp4 (wlp0s20f3): state changed bound -> done
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9648] manager: NetworkManager state is now DISCONNECTED
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9651] device (wlp0s20f3): Activation: starting connection 'De Wanna Wanga' (62ca0131-d9f904c>
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9661] device (wlp0s20f3): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9663] manager: NetworkManager state is now CONNECTING
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9665] device (wlp0s20f3): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9667] device (wlp0s20f3): Activation: (wifi) access point 'De Wanna Wanga' has security, but secrets are re>
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9667] device (wlp0s20f3): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9668] sup-iface[0x55d1eb8cb120,wlp0s20f3]: wps: type pbc start...
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9698] device (wlp0s20f3): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9701] device (wlp0s20f3): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Aug 13 11:19:06 prec5500 NetworkManager[1057]: <info>  [1628867946.9703] device (wlp0s20f3): Activation: (wifi) connection 'De Wanna Wanga' has security, and secrets exist.  >

答案1

我遇到过类似的问题,我找到了对我有帮助的解决方案,尝试执行此命令sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1" 然后重新启动。这应该适用于英特尔适配器或者您可以在此处找到完整的问题无线已连接,但没有互联网

相关内容