I've been unsuccessfully trying all the hints and suggestions found in internet for making my Ubuntu 18.04.02 Desktop in my HP Laptop Model 15-daxxx seeing the WIFI connection.
I've already done all the steps listed here NoWiFiAdapterFoundUbuntu18.04HPLaptop but still Ubuntu 18.04.02 Desktop says "No WiFi Adapter Found"
I've also put in HP site: HP-drivers-laptops the ID number of my laptop, it was correctly identified, and the only Operating System I can choose from is Windows. Clicking on the link "I do not see my Operating System" I found in this HP webpage: HPProducts-MyOperatingSystem, I selected Linux -> LinuxKernelArchive, I downloaded the latest stable kernel and then I installed, following the instructions, the WiFi kernel iwd-0.9. But again.... after rebooting : "No Wifi Adapter Found".
How can I solve this strange problem? Looking forward to your kind help. Marco
Updates: 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) Following the instructions here: networking-WiFiNotWorkingInLenovoThinkPadE570(RealTekRTL8821CE)
I updated the Makefile in this way:
#export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce
export TopDIR ?= $ ~/Downloads/rtl8821ce
saved the change, and then run 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
I reinstalled Ubuntu 18.04.02 Desktop erasing all the previous content of the hard-disk, in order to have a cleaner situation. But again . after modifying the Makefile file:
#export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce
export TopDIR ?= $ ~/Downloads/rtl8821ce
the same error messages:
~/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
SOLVED: thanks to the indications here: Lenovo Thinkpad E480 - No Wifi Adaptor Found in Ubuntu 18.04, and thanks to the person who inserted this helpful link.
lspci -knn | grep Net -A3; rfkill list
terminal command. – Pilot6 Mar 05 '19 at 18:07