经常性丢失 Wi-Fi 连接

经常性丢失 Wi-Fi 连接

我经常会遇到奇怪的连接丢失问题:目前,大约每两分钟我就无法通过 wifi 建立连接,尽管 wifi 通知不会发出任何断开连接的信号。我编写了一个脚本来记录这些连接丢失的情况(测试大约每秒运行一次,只是测试是否可以访问 google.com)。以下是部分结果:

2020-11-30 19:38:03.652132
2020-11-30 19:38:04.662507
2020-11-30 19:40:03.420690
2020-11-30 19:40:04.645271
2020-11-30 19:42:03.510320
2020-11-30 19:42:04.643497
2020-11-30 19:44:03.574795
2020-11-30 19:46:03.616409
2020-11-30 19:46:04.647914
2020-11-30 19:48:03.491386
2020-11-30 19:48:04.655880
2020-11-30 19:48:24.671726
2020-11-30 19:50:03.494267
2020-11-30 19:50:04.627566
2020-11-30 19:50:24.036448
2020-11-30 19:50:25.045478
2020-11-30 19:52:03.507604

我已经运行了journalctl --follow,但它没有显示具有观察到的频率的条目。我已停用 IPv6 和 wifi 省电功能(如下所述:Ubuntu 18.04 LTS 上的 WiFi 随机断开连接)。该系统是一个相当新且未经修改的 Xubuntu 20.04 安装。使用旧版 Xubuntu 18.04 安装时,也出现了同样的问题。您知道潜在的问题可能是什么,以及如何调试甚至解决它吗?

编辑:

@waltinator 请求输出

sudo rfkill list; nmcli con show; ip link; ip route;sudo lshw  -C network

这里是:

0: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
NAME                UUID                                  TYPE      DEVICE          
aethernet           5456f5b9-03b6-4e82-bf28-7b6c5196eab3  wifi      wlp2s0          
br-e9214b077133     0cf6997e-0276-4fab-aac3-237b360e0dc8  bridge    br-e9214b077133 
docker0             6dc33bfb-424e-40a9-a1d7-f9cef7ca836a  bridge    docker0         
Wired connection 1  a3fba10c-4077-3086-a22b-c76bb530b7b0  ethernet  --              
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether f0:76:1c:2e:7c:80 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether c4:85:08:86:9a:a7 brd ff:ff:ff:ff:ff:ff
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:b5:59:b2:51 brd ff:ff:ff:ff:ff:ff
5: br-e9214b077133: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:00:d1:bd:f6 brd ff:ff:ff:ff:ff:ff
default via 192.168.178.1 dev wlp2s0 proto dhcp metric 600 
169.254.0.0/16 dev wlp2s0 scope link metric 1000 
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 
172.18.0.0/16 dev br-e9214b077133 proto kernel scope link src 172.18.0.1 linkdown 
192.168.178.0/24 dev wlp2s0 proto kernel scope link src 192.168.178.54 metric 600 
SCSI                        
  *-network        
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:01:00.1
       logical name: enp1s0f1
       version: 12
       serial: f0:76:1c:2e:7c:80
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII
       resources: irq:18 ioport:3000(size=256) memory:b0504000-b0504fff memory:b0500000-b0503fff
  *-network
       description: Wireless interface
       product: Centrino Advanced-N 6235
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 24
       serial: c4:85:08:86:9a:a7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-56-generic firmware=18.168.6.1 ip=192.168.178.54 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:47 memory:b0400000-b0401fff
  *-network:0
       description: Ethernet interface
       physical id: 1
       logical name: br-e9214b077133
       serial: 02:42:00:d1:bd:f6
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.18.0.1 link=no multicast=yes
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: docker0
       serial: 02:42:b5:59:b2:51
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes

相关内容