WIFI每隔半小时就会断线一次

WIFI每隔半小时就会断线一次

我有一台配备英特尔无线网卡的联想 ThinkPad:Cannon Point-LP CNVi [Wireless-AC] 9560。在我从 Ubuntu 18.04 升级到 20.04 之前,它运行良好。从那以后,它每半小时就会断开一次互联网连接。

我尝试将内核升级到 5.7,然后又降级到 5.3。我尝试使用 wifi 省电程序。我尝试安装英特尔建议的驱动程序 (9000 v.34),而不是提供的 v.46。我尝试使用 systemctl disable --now wpa_supplicant.service。我尝试在 crontab 中使用 arping。我还发现了一些与我的问题有点相关的东西。

我在系统日志中发现一些有趣的东西,但在网上找不到任何帮助:

NetworkManager[753]: <error> [1592273107.1148] dhcp4 (wlp0s20f3): error -113 dispatching events
NetworkManager[753]: <info>  [1592273107.1149] dhcp4 (wlp0s20f3): state changed bound -> fail
NetworkManager[753]: <info>  [1592273107.1150] device (wlp0s20f3): DHCPv4: trying to acquire a new lease within 90 seconds
NetworkManager[753]: <info>  [1592273197.5254] device (wlp0s20f3): DHCPv4: grace period expired
Jun 15 22:06:37 nachshon-thinkbook NetworkManager[753]: <info>  [1592273197.5255] device (wlp0s20f3): state change: activated -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
NetworkManager[753]: <info>  [1592273197.5269] manager: NetworkManager state is now DISCONNECTED
NetworkManager[753]: <warn>  [1592273197.5304] device (wlp0s20f3): Activation: failed for connection 'Korem'
NetworkManager[753]: <info>  [1592273197.5317] device (wlp0s20f3): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
avahi-daemon[746]: Withdrawing address record for fe88::4284:701b:3825:61df on wlp0s20f3.
avahi-daemon[746]: Leaving mDNS multicast group on interface wlp0s20f3.IPv6 with address fe80::4284:701b:3825:61df.
NetworkManager[753]: <info>  [1592273197.5327] dhcp4 (wlp0s20f3): canceled DHCP transaction
avahi-daemon[746]: Interface wlp0s20f3.IPv6 no longer relevant for mDNS.
NetworkManager[753]: <info>  [1592273197.5327] dhcp4 (wlp0s20f3): state changed fail -> done
avahi-daemon[746]: Withdrawing address record for 172.18.42.16 on wlp0s20f3.
avahi-daemon[746]: Leaving mDNS multicast group on interface wlp0s20f3.IPv4 with address 172.16.42.16.
avahi-daemon[746]: Interface wlp0s20f3.IPv4 no longer relevant for mDNS.
dbus-daemon[751]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=753 comm="/usr/sbin/NetworkManager --no-daemon ")
systemd[1]: Starting Network Manager Script Dispatcher Service...
kernel: [ 4382.017856] wlp0s20f3: deauthenticating from f2:08:6d:0d:bf:90 by local choice (Reason: 3=DEAUTH_LEAVING)
wpa_supplicant[967]: wlp0s20f3: CTRL-EVENT-DISCONNECTED bssid=f2:08:6d:0d:bf:90 reason=3 locally_generated=1
wpa_supplicant[967]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/2
whoopsie[1444]: [22:06:37] Cannot reach: https://daisy.ubuntu.com
whoopsie[1444]: [22:06:37] offline
NetworkManager[753]: <warn>  [1592273197.5594] sup-iface[0x556a2ced3af0,wlp0s20f3]: connection disconnected (reason -3)
NetworkManager[753]: <info>  [1592273197.5595] device (wlp0s20f3): supplicant interface state: completed -> disconnected
dbus-daemon[751]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
systemd[1]: Started Network Manager Script Dispatcher Service.

rfkill 输出:

0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
5: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

lspci -knn 输出

Network controller [0280]: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:9df0] (rev 30)
    Subsystem: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:0034]
    Kernel driver in use: iwlwifi

uname -a 输出

Linux 5.3.0-050300-generic #201909152230 SMP Sun Sep 15 22:32:54 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

答案1

您可以尝试升级回内核 5.7 吗?然后尝试更新并删除:

sudo apt update
sudo apt upgrade
sudo apt autoremove

然后我建议检查网络管理器:

sudo systemctl status NetworkManager.service

如果它没有激活则:

sudo systemctl disable wpa_supplicant.service
sudo systemctl enable NetworkManager.service

答案2

这是英特尔驱动程序的一个问题。

升级到 Ubuntu 20.04.1 后该问题得到修复。

相关内容