ubuntu16.04 无法wifi链接一段时间掉线且无法再连接,从网上搜索的确认这个一个bug。
解决方法:
1.Get details of your PCI wireless card by running sudo lshw -class network
显示信息如下:
*-network
description: Wireless interface
product: RTL8723BE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: b0:c0:90:5c:1c:d5
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8723be driverversion=4.4.0-21-generic firmware=N/A ip=192.168.0.8 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 ioport:d000(size=256) memory:df200000-df203fff
2.Get your card model info according to the product line. For instance, as you can see in the question description it says product: RTL8723BE PCIe Wireless Network Adapter so the model of my card is RTL8723BE
3.Open or create /etc/pm/config.d/config and add SUSPEND_MODULES="rtl8723be"(replace rtl8723be with your own model number) Then run echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf and reboot.
命令行为:
sudo vim /etc/pm/config.d/config
然后输入:SUSPEND_MODULES="rtl8723be" (注意rtl8723be要用你自己的number替换)
然后保存并退出文件
在终端中输入:echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
然后输入 reboot 重启即可。
解决方法参看: