I have a Lenovo 320 laptop with rtl8821ce wifi adapter. I was using Ubuntu 19.04 and the adapter worked after following these steps.
I upgraded to 19.10 and the wifi is not working now.
The output of lshw -C network
is as follows
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 10
serial: 8c:16:45:45:5c:35
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII
resources: irq:16 ioport:4000(size=256) memory:a2104000-a2104fff memory:a2100000-a2103fff
*-network UNCLAIMED
description: Network controller
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:a2000000-a200ffff
*-network
description: Ethernet interface
physical id: 3
logical name: bnep0
serial: b0:fc:36:38:c0:d0
capabilities: ethernet physical
configuration: broadcast=yes ip=192.168.44.52 multicast=yes
This post had the same problem as me -including installing the driver from additional drivers- but following the accepted answer didn't work for me.
Is there anything else I can do?
$ lspci -nnk | grep 0280 -A3
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]
Kernel modules: wl, 8821ce, rtl8821ce
$ sudo dkms status
bcmwl, 6.30.223.271+bdcom, 5.3.0-22-generic, x86_64: installed
rtl8821ce, 5.2.5.2.1.30816.20190425, 5.3.0-22-generic, x86_64: installed
$ sudo modprobe rtl8821ce && dmesg | grep rtl
modprobe: ERROR: could not insert 'rtl8821ce': Device or resource busy
lspci -nnk | grep 0280 -A3
and also:sudo dkms status
and finally:sudo modprobe rtl8821ce && dmesg | grep rtl
Welcome to Ask Ubuntu. – chili555 Nov 13 '19 at 14:31lsmod | grep 8821
and:dmesg | grep rtl
– chili555 Nov 13 '19 at 16:46sudo ./dkms-remove.sh
from the original source folder, orsudo dkms remove rtl8821ce/5.2.5.2.1.30816.20190425 -k all
thendkms status
should not show the driver, then show melspci -nnk | grep 0280 -A3
again. Then check Additional Drivers again. – heynnema Nov 17 '19 at 13:43cat /etc/network/interfaces
andcat /etc/netplan/*.yaml
. – heynnema Nov 17 '19 at 14:57modinfo 8821ce | grep filename
– heynnema Nov 17 '19 at 15:02