Whoopsie和NetworkManager似乎崩溃导致网络连接问题

我最近在联想W540 Thinkpad上安装了Ubuntu 16.04 LTS,我的无线网络存在问题,导致网络流量问题。 问题期间的/var/log/syslogjournalctl -xe输出如下。

 Oct 15 18:41:34 phil-ubuntu whoopsie[2221]: [18:41:34] offline Oct 15 18:41:34 phil-ubuntu whoopsie[2221]: [18:41:34] online Oct 15 18:41:55 phil-ubuntu NetworkManager[1320]:  [1508110915.3547] policy: set 'Home Internet Connection' (wlp3s0) as default for IPv6 routing and DNS Oct 15 18:42:32 phil-ubuntu whoopsie[2221]: [18:42:32] Cannot reach: https://daisy.ubuntu.com Oct 15 18:42:32 phil-ubuntu whoopsie[2221]: [18:42:32] offline Oct 15 18:42:53 phil-ubuntu whoopsie[2221]: [18:42:53] Cannot reach: https://daisy.ubuntu.com Oct 15 18:43:14 phil-ubuntu whoopsie[2221]: [18:43:14] Cannot reach: https://daisy.ubuntu.com Oct 15 18:43:36 phil-ubuntu whoopsie[2221]: [18:43:36] Cannot reach: https://daisy.ubuntu.com Oct 15 18:43:57 phil-ubuntu whoopsie[2221]: [18:43:57] Cannot reach: https://daisy.ubuntu.com Oct 15 18:44:18 phil-ubuntu whoopsie[2221]: [18:44:18] Cannot reach: https://daisy.ubuntu.com Oct 15 18:44:21 phil-ubuntu wpa_supplicant[1903]: wlp3s0: WPA: Group rekeying completed with c0:56:27:0a:28:10 [GTK=CCMP] Oct 15 18:44:39 phil-ubuntu whoopsie[2221]: [18:44:39] Cannot reach: https://daisy.ubuntu.com Oct 15 18:45:00 phil-ubuntu whoopsie[2221]: [18:45:00] Cannot reach: https://daisy.ubuntu.com Oct 15 18:45:10 phil-ubuntu gnome-keyring-daemon[2792]: asked to register item /org/freedesktop/secrets/collection/login/7, but it's already registered Oct 15 18:45:10 phil-ubuntu gnome-keyring-daemon[2792]: asked to register item /org/freedesktop/secrets/collection/login/9, but it's already registered Oct 15 18:45:10 phil-ubuntu gnome-keyring-daemon[2792]: asked to register item /org/freedesktop/secrets/collection/login/7, but it's already registered Oct 15 18:45:10 phil-ubuntu gnome-keyring-daemon[2792]: asked to register item /org/freedesktop/secrets/collection/login/9, but it's already registered Oct 15 18:45:11 phil-ubuntu whoopsie[2221]: [18:45:11] online Oct 15 18:46:40 phil-ubuntu kernel: thinkpad_acpi: EC reports that Thermal Table has changed Oct 15 18:46:43 phil-ubuntu kernel: thinkpad_acpi: EC reports that Thermal Table has changed Oct 15 18:47:48 phil-ubuntu gnome-keyring-daemon[2792]: asked to register item /org/freedesktop/secrets/collection/login/10, but it's already registered 

出于某种原因,只要我持续ping到像Google或Bing,甚至我的网络网关,我就不会遇到whoopsie问题,并且可以按照预期继续使用我的设备。 当我关闭ping时,网络连接在约30分钟后熄灭,它变化很大。

我不确定还有什么可以搜索或显示信息,所以请告诉我,我会进行编辑。

根据参考: https : //gist.github.com/okapies/de0d08f9e3c8bcb2b76a33b68f62a48c

这可能是内核问题:

尝试重新安装当前的linux-header

我希望这能解决你的问题。

Wifi卡去睡觉

为了省电,许多wifi卡将进入睡眠状态以节省电量。 在某些情况下,卡不会从睡眠状态唤醒: 16.04 LTS wifi连接问题

在接受的答案中总结解决方案:

  1. 通过运行sudo lshw -class network获取PCI无线网卡的详细信息

  2. 根据产品系列获取您的卡片型号信息。 例如,正如你在问题描述中所看到的那样product: RTL8723BE PCIe Wireless Network Adapter所以我卡的型号是RTL8723BE

    或者产品: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller所以我的型号是RTL8101/2/6E

  3. 授予权限sudo chmod 755 /etc/pm/config.d/

  4. 打开或创建config并添加SUSPEND_MODULES="rtl8723be" (将rtl8723be替换为您自己的型号)

  5. 然后运行echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf

  6. 最后重启你的系统。