Score:0

Wifi adaptor not working even with ubuntu driver

fr flag

I have found a lot of questions here with the same issue as mine, but so far none have solved it. enter image description here

My wifi adapter is not recognized, my wifi screen simply says "No Wifi adapter found" In some other answers I've been told to run this command and post the results

dylan@dylan-HP-Desktop-M01-F1xxx:~$ lspci -nnk | grep 0280 -A3
09: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: rtl8821ce
0a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)

I also ran some other commands I found in this answer Link, but still I am having the same issue.
I'm sorry if this has already been solved, i genuinely couldn't figure it out myself. Results from comment:

sudo dmesg | grep 8821
[    8.614458] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    8.617444] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[    8.617763] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin

chili555 avatar
cn flag
Please edit your question to show the result of the terminal commands: `sudo modprobe rtl8821ce` and also: `sudo dmesg | grep 8821` cfg80211??
imstupidpleasehelp avatar
fr flag
the first one tells me `operation not permitted`
chili555 avatar
cn flag
Please try disabling Secure Boot in the BIOS/EFI and try again.
imstupidpleasehelp avatar
fr flag
I have also tried this. I do not have secure boot enabled
chili555 avatar
cn flag
How about: `sudo modprobe -vv rtl8821ce` What are the accompanying messages?
imstupidpleasehelp avatar
fr flag
`modprobe: INFO: ../libkmod/libkmod.c:365 kmod_set_log_fn() custom logging function 0x55a10c174b90 registered insmod /lib/modules/5.8.0-59-generic/updates/dkms/rtl8821ce.ko modprobe: INFO: ../libkmod/libkmod-module.c:892 kmod_module_insert_module() Failed to insert module '/lib/modules/5.8.0-59-generic/updates/dkms/rtl8821ce.ko': Operation not permitted modprobe: ERROR: could not insert 'rtl8821ce': Operation not permitted modprobe: INFO: ../libkmod/libkmod.c:332 kmod_unref() context 0x55a10c589450 released `
chili555 avatar
cn flag
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/127557/discussion-between-chili555-and-imstupidpleasehelp).
Score:2
cn flag

In our chat, in an attempt to find the reason that the driver would not start as expected, we examined the make.log created by the dkms install. It is riddled with warnings: https://paste.ubuntu.com/p/smwRJsWQtW/

I suggested that, instead, we install this driver: https://github.com/lwfinger/rtw88.git When we examined the result of ‘make’, we saw that it proceeded perfectly, with no errors or warnings at all. I recommended that you keep this driver and remove the previous dkms install.

This driver must be reinstalled every time that Update Manager offers a newer kernel version. After the requested reboot, with a temporary internet connection by ethernet, tethering or whatever means possible, do:

cd rtw88
make clean
git pull
make
sudo make install
sudo modprobe rtw_8821ce

Your wireless should be working again. Please retain the rtw88 file and these instructions for that time.

Finally, after disabling Secure Boot, your wireless is working as expected.

Score:0
cn flag

I had some problems with wifi driver (I have the same driver as yours) on Xubuntu 21.04. I had to change system to Ubuntu 20.04. Here wifi works much better, but after sleep it sometimes do not see the adaptor. I type in terminal

sudo modprobe -r rtl8821ce && sleep 10 && sudo modprobe rtl8821ce

Then sleep, then type it again. An empty wifi-triangle appears. It is empty, but connection works! To check if there still is "no adapter found" try to go to Settings > Wifi.

imstupidpleasehelp avatar
fr flag
I am using ubuntu 20.04, I ran your command and it gave me `modprobe: ERROR: could not insert 'rtl8821ce': Operation not permitted `
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.