Update
Below is my original question with supplemented information. Initially I thought my hardware is the rtl8821ce chip, but from comparing the output of lspci
with this post, it seems the wireless device I have is in fact the 8822ce chip. Previously the title of this question did not reflect this fact, so I edited it.
I have a problem I couldn't resolve, and I would appreciate some help with it. I have a brand new Lenovo IdeaPad laptop, on which I recently installed Ubuntu 18.04.4. Unfortunately Ubuntu doesn't recognize my wifi, saying: "No wifi adapter found".
Some outputs:
lspci -nnk | grep 0280 -A3
:
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c82f]
Subsystem: Lenovo Device [17aa:c02f]
rfkill list all
:
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
5: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:4000(size=256) memory:93000000-9300ffff
An interesting thing to note is that in outputs of similar commands in other posts the network adapter shows: "RTL8821CE", and my output doesn't.
What I tried so far:
First, I tried installing the rtl8821ce-dkms
like so:
sudo apt-get install rtl8821ce-dkms
sudo modprobe rtl8821ce
sudo modprobe -r ideapad_laptop
And I additionally disabled secure boot in the BIOS. This had no effect. Ubuntu still gives the same message.
Next, I tried to install the driver directly from the tomaspinho GitHub like so (after removing rtl8821ce-dkms):
sudo apt-get install git dkms build-essential linux-headers-$(uname -r)
cd /usr/local/src/
sudo git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce/
sudo chmod +x dkms-install.sh
sudo chmod +x dkms-remove.sh
sudo ./dkms-install.sh
sudo modprobe 8821ce
Again, this had no effect. Ubuntu still gives the same message.
Interestingly, now when I run dmesg | grep -i 8821
, I get:
[ 94.460377] 8821ce: loading out-of-tree module taints kernel.
[ 94.461221] 8821ce: module verification failed: signature and/or required key missing - tainting kernel
I suspect that maybe my hardware is not supported by this driver. Can anybody help me to understand what I need to do to resolve this "No wifi adapter" issue?
Additional attempts:
As was suggested here, I attempted to update the version of linux-firmware
package on my machine. I tried a few different versions, but none worked. What I did:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_<version>_all.deb
sudo dpkg -i linux-firmware_<version>_all.deb
where the "<versions>
" I tried were:
- 1.173.16 (which seems to be the one that was last modified in the server).
- 1.178
- 1.186 (which is the latest version to date).
I still get the "No wifi adapter" message.
lspci -nnk | grep 0280 -A3
and also:rfkill list all