这是我第一次安装 Ubuntu,但 Ubuntu 似乎无法识别我的 Wifi 卡。
我已经阅读了 Ask Ubuntu 和 Google 上的一些帖子,但这些解决方案都没有用:
我按照两个链接的说明进行操作,没有任何错误。
lshw-C 网络返回
WARNING: you should run this program as super-user.
*-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:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: ioport:e000(size=256) memory:fea00000-fea0ffff
*-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: 15
serial: c4:65:16:1e:89:e4
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.27 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:31 ioport:d000(size=256) memory:fe904000-fe904fff memory:fe900000-fe903fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
RTL8821CE 驱动程序的输出是:
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e000 [size=256]
Region 2: Memory at fea00000 (64-bit, non-prefetchable) [size=64K]
如果我忘记发布其他内容,请告诉我。
谢谢!
答案1
解决了
只需将这些命令复制粘贴到您的终端并重新启动即可。
sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh
来源:询问 Ubuntu