Sample Header Ad - 728x90

Realtek RTL8821 Ethernet card not detected by Kali Linux

3 votes
1 answer
6465 views
When installing Kali Linux, an error message appears during the "Detect network hardware" step. The message says: "No Ethernet card was detected. if you know the name of the driver needed by your Ethernet card, you can select it from the list." I tried all the pilots on the list one by one, but nothing happens. After skipping this step and continuing the installation, I tried to manually install a driver. My Wi-Fi card is a "Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter." I found this pilot: "https://github.com/tomaspinho/rtl8821ce " by reading one of the topics on the same site, but the Wi-Fi does not work even after installation. When I execute the command:
sudo ./dkms-install.sh
I get:
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821ce-v5.2.5_1.26055.20180108.1
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=4.19.0-kali3-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.2.5_1.26055.20180108.1/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=4.19.0-kali3-amd64.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.2.5_1.26055.20180108.1/build/make.log for more information.

Finished running dkms install steps.
I do not know if the driver is installed correctly or if it is even compatible.
Asked by user11252116 (31 rep)
Apr 19, 2019, 09:39 PM
Last activity: May 1, 2024, 10:03 PM