Ubuntu 18.04的Wifi信号强度弱,rtl8723be

我的HP-Pavillion笔记本上有Realtek rtl8723be驱动程序。

通过plug-n-play选项安装Ubuntu 18.04 LTS时,我在实际安装之前尝试了以下命令:

sudo modprobe -r rtl8723be sudo modprobe rtl8723be ant_sel=2 

和wifi工作得很好。

但是在与Windows 10一起安装之后,无论如何wifi都无法正常工作,现在只有非常接近设备的wifi网络出现了。

我尝试在GME中从这里安装realtek软件,如README中所述。 但仍然没有进展。

我甚至尝试更改ant_sel参数,然后将它们保存到我的/etc/modprobe.d/rtl8723be.conf然后执行冷启动。 但仍然没有进展。

我也试过从这个分支安装,但我有错误。

 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:08:00.0 logical name: wlo1 version: 00 serial: 70:77:81:bf:a7:b9 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8723be driverversion=4.15.0-36-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11 resources: irq:18 ioport:5000(size=256) memory:c6100000-c6103fff *-network description: Ethernet interface product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:09:00.0 logical name: eno1 version: 0a serial: 3c:a8:2a:ba:12:6f size: 10Mbit/s capacity: 100Mbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8107e-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s resources: irq:19 ioport:4000(size=256) memory:c6004000-c6004fff memory:c6000000-c6003fff *-network description: Ethernet interface physical id: 3 logical name: enp0s20u2 serial: ea:f8:17:e8:82:30 capabilities: ethernet physical configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.6 link=yes multicast=yes 

谁能建议现在做什么?

请参阅我在post#25及以下链接的错误报告 :

我已按照推荐的内核进行测试,并在#25中提出建议。 带有rtl8723b3的无线网络再次起作用(就像一个魅力)。 但是,ant_sel必须设置为1(ant_sel = 1),而不是内核4.15.0-32,后者需要将ant_sel设置为2(ant_sel = 2)。 (例如sudo modprobe rtl8723be ant_sel = 1 vs. sudo modprobe rtl8723be ant_sel = 2)。

在#32后,我们看到内核版本4.17-rc4运行良好。

因此,我建议,当且仅当ant_sel步骤不起作用时,才安装内核和相关的包。 这些链接都是通常的64位软件包。 使用terminal命令确保您的64位安装:

 arch 

如果它返回x86_64 ,那么请继续。

下载这些包:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4/linux-headers-4.17.0-041700rc4_4.17.0-041700rc4.201806041713_all.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4/linux-headers-4.17.0-041700rc4-generic_4.17.0-041700rc4.201806041713_amd64.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4/linux-image-unsigned-4.17.0-041700rc4-generic_4.17.0-041700rc4.201806041713_amd64.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4/linux-modules-4.17.0-041700rc4-generic_4.17.0-041700rc4.201806041713_amd64.deb

默认情况下,下载将转到文件夹下载。 打开终端并执行:

 cd ~/Downloads sudo dpkg -i linux*.deb 

重启。

编辑 :最近发布的Ubuntu 18.10使用内核版本4.18.0-xx。 我假设rtl8723be将按预期工作。 您可以通过运行18.10的实时会话来validation这一点。 如果一切正常,我建议您安装它。