HP 笔记本电脑型号 15-daxxx 中的 Ubuntu 18.04.02 桌面未找到 WiFi 适配器

HP 笔记本电脑型号 15-daxxx 中的 Ubuntu 18.04.02 桌面未找到 WiFi 适配器

我一直尝试互联网上找到的所有提示和建议,以使我的 HP 笔记本电脑型号 15-daxxx 中的 Ubuntu 18.04.02 桌面能够看到 WIFI 连接,但没有成功。

我已经完成此处列出的所有步骤未找到WiFi适配器Ubuntu18.04HP笔记本电脑 但 Ubuntu 18.04.02 桌面仍然显示“未找到 WiFi 适配器”

我也在 HP 网站上放了以下内容:HP 驱动程序笔记本电脑我的笔记本电脑的 ID 号被正确识别,我唯一可以选择的操作系统是 Windows。单击链接“我看不到我的操作系统”,我在此 HP 网页上找到:HP产品-我的操作系统,我选择了Linux ->Linux内核档案,我下载了最新的稳定内核,然后按照说明安装了 WiFi 内核 iwd-0.9。但是重启后再次出现:“未找到 Wifi 适配器”。

我该如何解决这个奇怪的问题?期待您的帮助。Marco

更新:1)

lspci -knn | grep Net -A3; rfkill list
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.  
RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
    Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless 
Network Adapter [103c:831a]
    Kernel modules: wl
04:00.0 Non-Volatile memory controller [0108]: Toshiba America Info 
Systems Device [1179:0113] (rev 01)
    Subsystem: Toshiba America Info Systems Device [1179:0001]
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

2)按照此处的说明进行操作:网络-WiFiNotWorkingInLenovoThinkPadE570(RealTekRTL8821CE)

我通过以下方式更新了 Makefile:

#export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce
export TopDIR ?= $ ~/Downloads/rtl8821ce

保存更改,然后运行 ​​make:

  CC [M]  /home/riccardo/Downloads/rtl8821ce/os_dep/osdep_service.o
  CC [M]  /home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error:   
initialization from incompatible pointer type [-Werror=incompatible-
pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^~~~~~~~~~~~~~~~
/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: 
(near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/home/riccardo/Downloads
/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.o]
Error 1
Makefile:1534: recipe for target '_module_/home/riccardo/Downloads
/rtl8821ce' failed
make[1]: *** [_module_/home/riccardo/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:1903: recipe for target 'modules' failed
make: *** [modules] Error 2

我重新安装了 Ubuntu 18.04.02 Desktop,删除了硬盘上所有以前的内容,以便获得更干净的环境。但是再次修改 Makefile 文件后:

#export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce
export TopDIR ?= $ ~/Downloads/rtl8821ce

相同的错误信息:

~/Downloads/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-15-generic/build   
M=/home/riccardo/Downloads/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-15-generic'
 CC [M]  /home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error:
  initialization from incompatible pointer type [-Werror=incompatible-
pointer-types]
  .ndo_select_queue = rtw_select_queue,
                  ^~~~~~~~~~~~~~~~
/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: 
 (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/home/riccardo/Downloads 
/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/riccardo/Downloads/rtl8821ce/os_dep/linux/os_intfs.o] 
   Error 1
Makefile:1534: recipe for target '_module_/home/riccardo/Downloads
/rtl8821ce' failed
make[1]: *** [_module_/home/riccardo/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:1903: recipe for target 'modules' failed
make: *** [modules] Error 2

已解决:感谢此处的指示:联想 Thinkpad E480 - 在 Ubuntu 18.04 中未找到 Wifi 适配器,并感谢插入此有用链接的人。

答案1

检查以确保 wifi 适配器没有被键盘热键或设备上的物理按钮/开关禁用。

如果处于打开状态,则应该以白色和琥珀色之间闪烁来显示活动。

键盘上启用 wifi 适配器的键位于最上面一行,如下所示:((I))

相关内容