3

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.

2
  • 4
    is it wifi (as per comment) or ethernet (as per question's title)? Most wifi cards need a firmware. This is in addition to a driver Commented Apr 20, 2019 at 11:05
  • @A.B Ah ok, I thought the firmware was included with kali. Where can I find it ? Commented Apr 20, 2019 at 17:20

1 Answer 1

1

Ndiswrapper is a solution, since the manufacturer only supports Windows. However, the drivers may be found at https://packages.debian.org/buster/firmware-realtek.

2
  • I think it is packages.debian.org/sid/firmware-realtek as Kali Linux is based off of Debian Sid or Unstable. Commented May 1, 2024 at 23:01
  • Also, this supports other Realtek firmware, but not RTL8821CE. Commented May 1, 2024 at 23:04

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.