wifi driver missing

Briefly describe your issue below:

So I just downloaded Parrot Security OS

Linux parrot 4.19.0-parrot1-20t-amd64 #1 SMP Parrot 4.19.20-2parrot1.20t (2019-03-09) x86_64 GNU/Linux

I cant get any wifi connections. the eithernet cable works fine. I’ve been trying to figure out what the problem is. I’ve tried all the aircrack-ng commands. and none seem to be working. When i run “iwconfig” command i get
PHY Interface Driver Chipset

And nothing else shows up.
when running iwconfig or airmon-ng check i get

ethl0

lo

and nothing else no wifi0 or ath0
when running “nmcli network on”
It says i dont have the program
When running “airodump-ng wlan0mon”
i get

Interface wlan0mon:
ioctl(SIOCGIFINOEX) failed: No such device
Failed initializing wireless card(s): wlan0mon

when i run “madwifi-ng”
it says i dont have that program not in those exact words more, like command not found or something.

I ran
-ifconfig
-lspci
-apt search firmware-realtek
-sudo ip link set wlano up
-lshw -C network

and this is what they display
How i installed Parrot, I installed it through etcher and i got it to multiboot with ubuntu

ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 10:62:e5:66:ef:de txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 4 bytes 240 (240.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 240 (240.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel® 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter

apt search firmware-realtek
Sorting… Done
Full Text Search… Done
firmware-realtek/now 20190114-1 all [installed,local]
Binary firmware for Realtek wired/wifi/BT adapters

sudo ip link set wlan0 up
Cannot find device “wlan0”

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:01:00.0
logical name: eth0
version: 15
serial: 10:62:e5:66:ef:de
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:b1000000-b100ffff

lspci -nnk | grep -A2 0280
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
Kernel modules: wl

1 Like

Here Developers can’t add every Wireless Drivers (Specially non-free) :smile:
But you can use Wifislax → Advanced wireless penetration testing distro with most of the wireless drivers suppot :smile:

Download it from here →

Check the contents of the realtek firmware package you’ll find the 8821ce isn’t included which is why having this installed does nothing for you. My advice get used to searching github or by one with a chipset known to be supported by linux.

1 Like

So 20 hours later i find these steps and i did get the wifi to work.

First i downloaded the driver file, where i got from this site.

https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

THEN I PUT IN THIS COMMAND
sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)

MADE SURE THE DRIVER FILE WAS IN THE DOWNLOADS DIRECTORY
THEN THESE COMMANDS

cd ~/Downloads
unzip rtl8821ce.zip
cd rtl8821ce
nano Makefile

Scroll down to line 152 and change the line that now reads:

export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce

To now read:

export TopDIR ?= $ ~/Downloads/rtl8821ce

Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.

Now do:

make
sudo make install
sudo modprobe 8821ce

RUN THESE COMMANDS AFTER I HAVE RUN THE OTHER ONES ON TOP

cd rtl8821ce
make clean
make
sudo make install
sudo modprobe 8821ce

RUN IF IT DID NOT WORK WITH THE OTHER COMMANDS

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

REBOOT AND THE WIFI SHOULD BE WORKING

3 Likes

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.