我有一台聯想 320 筆記型電腦,配有 rtl8821ce wifi 轉接器。我使用的是 Ubuntu 19.04,適配器在執行以下操作後工作正常 這些步驟。
我升級到19.10,現在wifi不能用了。
的輸出lshw -C network
如下
*-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
這個帖子和我有同樣的問題 - 包括從其他驅動程式安裝驅動程式 - 但遵循接受的答案對我來說不起作用。
我還有什麼可以做的嗎?
$ 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
答案1
從評論...
$ 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
卸載目前的 dkms 驅動程式(https://github.com/tomaspinho/rtl8821ce)...
cd rtl8821ce # old source folder
sudo ./dkms-remove.sh # uninstall old dkms driver
dkms status
現在我們確保重複的 8821ce 驅動程式已被刪除...
sudo lspci -nnk | grep 0280 -A3 | grep modules
如果您需要不同的驅動程序,請嘗試這個...https://github.com/shubham151/rtl8821ce。 (git克隆https://github.com/shubham151/rtl8821ce.git)。不要按照其中的自述文件來了解如何安裝它,而是按照先前執行的相同流程進行操作,以便安裝 dkms。
git clone https://github.com/shubham151/rtl8821ce.git # git clone new driver
cd rtl8821ce # new source folder
chmod +x dkms-install.sh # make executable
chmod +x dkms-remove.sh # make executable
sudo ./dkms-install.sh # install new dkms driver
更新#1:
- 已卸載的 bcmwl dkms 模組
- 卸載了rtl8821ce dkms模組
- 從 .deb 檔案重新安裝了 rtl8821ce
答案2
對於最近的 ubuntu 20.04 LTS,這應該可以解決問題:
apt install rtl8821ce-dkms