从安装上ubuntu16.04有好几个月了,每次都会遇到这样的问题:电脑是双系统的,在window系统下连接到同一个wifi信号强,也不掉线。非常稳定,一切换到ubuntu系统就老掉线,掉线就半天连不上。今天在网上查看,终于解决了这个问题!问题处在此版本的系统配备的无线网卡的参数为省电节能模式,信号强度不行。需要修改参数来重启下wifi,就可以了。
1 linuxidc@linuxidc:~$ lspci200:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev09)300:02.0 VGA compatible controller: Intel Corporation Broadwell-U IntegratedGraphics (rev09)400:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev09)500:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev09)600:14.0 USB controller: Intel Corporation WildcatPoint-LP USB xHCI Controller (rev03)700:16.0 Communication controller: Intel Corporation WildcatPoint-LP MEI Controller #1 (rev03)800:1b.0 Audio device: Intel Corporation WildcatPoint-LP HighDefinition Audio Controller (rev03)900:1c.0 PCI bridge: Intel Corporation WildcatPoint-LP PCI ExpressRoot Port #1 (rev e3) 1000:1c.1 PCI bridge: Intel Corporation WildcatPoint-LP PCI ExpressRoot Port #2 (rev e3) 1100:1c.2 PCI bridge: Intel Corporation WildcatPoint-LP PCI ExpressRoot Port #3 (rev e3) 1200:1c.3 PCI bridge: Intel Corporation WildcatPoint-LP PCI ExpressRoot Port #4 (rev e3) 1300:1c.4 PCI bridge: Intel Corporation WildcatPoint-LP PCI ExpressRoot Port #5 (rev e3) 1400:1d.0 USB controller: Intel Corporation WildcatPoint-LP USB EHCI Controller (rev03) 1500:1f.0 ISA bridge: Intel Corporation WildcatPoint-LP LPC Controller (rev03) 1600:1f.2 SATA controller: Intel Corporation WildcatPoint-LP SATA Controller [AHCIMode] (rev03) 1700:1f.3 SMBus: Intel Corporation WildcatPoint-LP SMBus Controller (rev03) 1802:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev01) 1908:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter 2009:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev0a) 210a:00.03D controller: NVIDIA Corporation GM108M [GeForce940M] (rev a2)
看到第19行的是无线网卡信息,且型号为RTL8723BE.
从网上看到RTL8723系列网卡都有这个频繁掉线的问题,只不过BE版本是更新的版本,添加了一个参数.
再来查看RTL8723BE这块网卡驱动的参数信息,
1 linuxidc@linuxidc:~$ modinfo rtl8723be2 filename: /lib/modules/4.4.0-22-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko3 firmware: rtlwifi/rtl8723befw.bin4 description: Realtek8723BE802.11n PCI wireless5 license: GPL6 author: Realtek WlanFAE7 author: PageHe8 srcversion:00619764255210776FAB54D9alias: pci:v000010ECd0000B723sv*sd*bc*sc*i* 10 depends: rtlwifi,rtl_pci,btcoexist,mac80211 11 vermagic:4.4.0-22-generic SMP mod_unload modversions 12 parm: swlps:bool 13 parm: swenc:using hardware crypto (default0 [hardware]) 14 (bool) 15 parm: ips:using no link power save (default1is open) 16 (bool) 17 parm: fwlps:using linked fw control power save (default1is open) 18 (bool) 19 parm: msi:Setto1to use MSI interrupts mode (default0) 20 (bool) 21 parm: debug:Set debug level (0-5) (default0) (int) 22 parm: disable_watchdog:Setto1to disable the watchdog (default0) 23 (bool) 24 parm: ant_sel:Setto1or2to force antenna number (default0) 25 (int)