在 HP 的 ubuntu 20.04 中找不到 WiFi 适配器

Yog*_*tba 3 wireless networking hp realtek-wireless 20.04

我有惠普笔记本电脑。大多数情况下,我的 wifi 在启动后 2-3 小时后无法连接到任何网络(显示不可用且未找到 wifi 适配器)。通过多次重启系统即可解决此问题。有时wifi已连接但无法访问互联网。所以尝试了这个方法,但它不起作用(我假设是因为更新了 20.04 的内核)。

我的输出lspci -v | grep -i network

0d:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter
Run Code Online (Sandbox Code Playgroud)

输出lspci -knn | grep Net -A3; rfkill list

0d:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:804c]
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
5: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
Run Code Online (Sandbox Code Playgroud)

dmesg | grep rtl在 Windows 中禁用快速启动后的输出

[   13.082292] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[   13.990240] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin
[   13.990267] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   15.016968] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[   15.019349] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   15.020078] rtlwifi: rtlwifi: wireless switch is on
[   15.062183] rtl8723be 0000:0d:00.0 wlp13s0: renamed from wlan0
Run Code Online (Sandbox Code Playgroud)

输出grep iwl /etc/modprobe.d/*

/etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system.  When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
Run Code Online (Sandbox Code Playgroud)

Mel*_*man 6

我的解决方案是使用有线连接(通过 USB/RJ-45 集线器和以太网电缆)访问互联网,以便下载并安装 WiFi 驱动程序。

因此,当您连接时:

  1. 打开软件和更新
  2. 转到其他驱动程序选项卡
  3. 检查使用 Realtek xxxx PCIe WiFi 驱动程序的 DKMS 源...
  4. 单击“应用”

如果您在安装 Ubuntu 时尚未启用“安全启动”/MOK,则必须执行此操作,因此接下来的步骤将适用:

  1. 它会要求您为此安装填写新密码。
  2. 当您重新启动系统时,它将打开MOK管理
  3. 单击注册 MOK
  4. 您需要输入在步骤“5”中设置的此安装的密码(如果您不执行此步骤,您的安装将被取消。)
  5. 它将为您提供重新启动系统的选项。

从 Ubuntu 20.04 开始,您需要在 Ubuntu 安装期间启用安全启动才能访问这些“专有”驱动程序