Ubuntu 18.04 Wifi 信号弱

Ubuntu 18.04 Wifi 信号弱

昨天,我将 HP 笔记本电脑从 Ubuntu 17.10 更新到 18.04。从那时起,WiFi 信号就非常弱。我尝试了所有选项,并从 git 下载了新驱动程序。并尝试了两种方法,ant_sel=1ant_sel=2两种方法都给出弱信号。在 17.10 中ant_sel=2可以正常工作。

您知道更新过程中可能出现什么问题吗?

输出iwconfig

enp2s0    no wireless extensions.
lo        no wireless extensions.
wlo1      IEEE 802.11  ESSID:"Sniper"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 94:65:2D:02:E3:91
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=34/70  Signal level=-76 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:159   Missed beacon:0
siddharth@siddharth-HP-Notebook:~$ iwlist scan | egrep -i 'ssid|quality'
enp2s0    Interface doesn't support scanning.
lo        Interface doesn't support scanning.
                    Quality=32/70  Signal level=-78 dBm
                    ESSID:"Sniper"

这是我坐在调制解调器旁边的时候。

我已完成以下步骤:

  1. 从 git 克隆最新的 rtlwifi_new
  2. make
  3. sudo make install
  4. sudo modprobe -rv rtl8723be
  5. sudo modprobe -v rtl8723be ant_sel=2
  6. sudo ip link set wlo1 up
  7. sudo iw dev wlp13s0 scan

我从未遇到过任何错误。ant_sel=1也尝试过。

更新:

输出lshw -C network

siddharth@siddharth-HP-Notebook:~$ lshw -C network
WARNING: you should run this program as super-user.
  *-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:02:00.0
       logical name: enp2s0
       version: 07
       serial: 30:e1:71:97:de:e0
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: 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=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:16 ioport:4000(size=256) memory:b1200000-b1200fff memory:b1000000-b1003fff
  *-network
       description: Wireless interface
       product: RTL8723BE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlo1
       version: 00
       serial: 58:00:e3:a7:14:cb
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723be driverversion=4.15.0-33-generic firmware=N/A ip=192.168.43.59 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 ioport:3000(size=256) memory:b1100000-b1103fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user

答案1

我最终解决了这个问题。感谢@pomsky 的最后一篇文章。

我的内核版本是 33-generic,所以我将我的内核降级到 4.13.0-46-generic因为它是最后一个可用的。现在 wifi 在 Ubuntu 18.4.1 LTS 中运行良好。

我也执行了其余步骤,即升级到最新的 rtlwifi_new 并设置 ant_sel=2。但最后需要降级内核。

感谢您的帮助

相关内容