Wifi adapter not found rtl8723de

I installed fedora 31 with windows 10 and dualboot it. when i tried to connect to wifi ,it shows no wifi adapter found . please help me solve it.

Hello @vasanthsurya and welcome to the community.
Please read the topics in the #start-here category, if you haven’t done it yet.

In relation to your question, please share the result of these commands
lsusb
lspci

And also
sudo dmidecode |grep -A 9 "System Information"

Thanks

4 Likes

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 13d3:56c9 IMC Networks HP TrueVision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f0)
00:1d.1 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #10 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
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. RTL8723DE 802.11b/g/n PCIe Adapter

System Information
Manufacturer: HP
Product Name: HP Laptop 15-da1xxx
Version: Type1ProductConfigId
Wake-up Type: Power Switch
Family: 103C_5335KV HP Notebook

So it is an RTL8723DE adapter.
Try to look at this post: Rtl8723be does not work or weak signal

Such post is related to Fedora 29. Maybe there are some news with Fedora 31: @hhlp and @seebeck does the steps in such post are still valid?

1 Like

No such file or directory
Command not found

Following steps will install the newest Realtek rtlwifi codes including rtl8192ce , rtl8192cu , rtl8192se , rtl8192de , rtl8188ee , rtl8192ee , rtl8723ae , rtl8723be , rtl8821ae , rtl8822be and rtl8723de in Fedora with DKMS (Dynamic Kernel Module Support) support. So it will work in each kernel on your system.

You don’t clone the git repo properly and don’t forget the dependency:

sudo dnf install dkms git gcc gcc-c++ kernel-headers and kernel-devel make
  1. Do it this in every kernel
git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de
  1. alternative based on DKMS all kernel:
    git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
    cd rtlwifi_new
    make 
    sudo make install
    sudo dkms add ../rtlwifi_new
    sudo dkms build rtlwifi-new/0.6 
    sudo dkms install rtlwifi-new/0.6
    sudo dkms install rtlwifi-new/0.6 --force
    sudo modprobe -r rtl8723de
    sudo modprobe rtl8723de
    sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'

try command to write it into configuration file (replace 3 to 1 , 2 or 4 if signal is weak).

Regards.,

3 Likes

I don’t have a wired network.Can I download from windows and install from fedora ?

Yes, you can download from github https://github.com/lwfinger/rtlwifi_new/tree/extended but you need to install all the dependency otherwise you can’t compile anything…

If you have a :fedora: machine with an internet connection/access you can download and install it the dependency offline:

Download apps to a specific directory in :fedora:

This is the best approach

sudo dnf download dkms git gcc gcc-c++ --resolve --downloaddir=/home/$USER/package

With “resolve,” the Fedora DNF package manager will not only download the app itself but every single library, dependency and important piece of software required to run the app on your system.

sudo chmod 777 -R ~/offline-package

Copy this Directory to your machine and inside the Directory execute this command:

sudo dnf install *.rpm

Download apps to a specific directory in Windows

This a bit complicate, Use the Fedora Package Database. You can search for a package and on its “Detail Page” (Example) you can click on “Builds Status”, choose the version you need and you get to a page containing the RPMs for downloading (Example). Dependencies can be viewed on the “info” link for every package.

as you can see is too complicated because gcc gcc-c++ have a full of dependency

Regards.,

1 Like
[VasanthaSurya@localhost ~]$ sudo dnf install dkms git gcc gcc-c++
[sudo] password for VasanthaSurya: 
Fedora Modular 31 - x86_64                       83 kB/s | 5.2 MB     01:04    
Fedora Modular 31 - x86_64 - Updates             18 kB/s | 1.2 MB     01:09    
Fedora 31 - x86_64 - Updates                     16 kB/s | 6.1 MB     06:34    
Fedora 31 - x86_64                              109 kB/s |  71 MB     11:09    
Last metadata expiration check: 0:00:01 ago on Sat 09 Nov 2019 06:58:21 PM +05.
Package git-2.23.0-1.fc31.x86_64 is already installed.
Package gcc-9.2.1-1.fc31.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package                    Arch        Version              Repository    Size
================================================================================
Installing:
 dkms                       noarch      2.7.1-2.fc31         fedora        75 k
 gcc-c++                    x86_64      9.2.1-1.fc31         fedora        12 M
Installing dependencies:
 kernel-debug-devel         x86_64      5.3.8-300.fc31       updates       12 M
 elfutils-libelf-devel      x86_64      0.177-1.fc31         fedora        23 k
 libstdc++-devel            x86_64      9.2.1-1.fc31         fedora       1.9 M
 zlib-devel                 x86_64      1.2.11-19.fc31       fedora        44 k

Transaction Summary
================================================================================
Install  6 Packages

Total download size: 26 M
Installed size: 95 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): dkms-2.7.1-2.fc31.noarch.rpm              10 kB/s |  75 kB     00:07    
(2/6): elfutils-libelf-devel-0.177-1.fc31.x86_6 2.0 kB/s |  23 kB     00:11    
(3/6): libstdc++-devel-9.2.1-1.fc31.x86_64.rpm   39 kB/s | 1.9 MB     00:50    
(4/6): zlib-devel-1.2.11-19.fc31.x86_64.rpm      10 kB/s |  44 kB     00:04    
(5/6): gcc-c++-9.2.1-1.fc31.x86_64.rpm           98 kB/s |  12 MB     02:01    
(6/6): kernel-debug-devel-5.3.8-300.fc31.x86_64  69 kB/s |  12 MB     03:02    
--------------------------------------------------------------------------------
Total                                           142 kB/s |  26 MB     03:07     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : zlib-devel-1.2.11-19.fc31.x86_64                       1/6 
  Installing       : elfutils-libelf-devel-0.177-1.fc31.x86_64              2/6 
  Installing       : libstdc++-devel-9.2.1-1.fc31.x86_64                    3/6 
  Installing       : kernel-debug-devel-5.3.8-300.fc31.x86_64               4/6 
  Running scriptlet: kernel-debug-devel-5.3.8-300.fc31.x86_64               4/6 
  Installing       : dkms-2.7.1-2.fc31.noarch                               5/6 
  Running scriptlet: dkms-2.7.1-2.fc31.noarch                               5/6 
Created symlink /etc/systemd/system/multi-user.target.wants/dkms.service → /usr/lib/systemd/system/dkms.service.

  Installing       : gcc-c++-9.2.1-1.fc31.x86_64                            6/6 
  Running scriptlet: gcc-c++-9.2.1-1.fc31.x86_64                            6/6 
  Verifying        : kernel-debug-devel-5.3.8-300.fc31.x86_64               1/6 
  Verifying        : dkms-2.7.1-2.fc31.noarch                               2/6 
  Verifying        : elfutils-libelf-devel-0.177-1.fc31.x86_64              3/6 
  Verifying        : gcc-c++-9.2.1-1.fc31.x86_64                            4/6 
  Verifying        : libstdc++-devel-9.2.1-1.fc31.x86_64                    5/6 
  Verifying        : zlib-devel-1.2.11-19.fc31.x86_64                       6/6 

Installed:
  dkms-2.7.1-2.fc31.noarch                                                      
  gcc-c++-9.2.1-1.fc31.x86_64                                                   
  kernel-debug-devel-5.3.8-300.fc31.x86_64                                      
  elfutils-libelf-devel-0.177-1.fc31.x86_64                                     
  libstdc++-devel-9.2.1-1.fc31.x86_64                                           
  zlib-devel-1.2.11-19.fc31.x86_64                                              

Complete!
[VasanthaSurya@localhost ~]$ git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
Cloning into 'rtlwifi_new'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 3545 (delta 18), reused 27 (delta 10), pack-reused 3500
Receiving objects: 100% (3545/3545), 11.71 MiB | 179.00 KiB/s, done.
Resolving deltas: 100% (2838/2838), done.
[VasanthaSurya@localhost ~]$ cd rtlwifi_new
[VasanthaSurya@localhost rtlwifi_new]$ make
bash: make: command not found...
Install package 'make' to provide command 'make'? [N/y] y


 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 gc-7.6.4-6.fc31.x86_64	A garbage collector for C and C++
 guile22-2.2.6-2.fc31.x86_64	A GNU implementation of Scheme for application extensibility
 libatomic_ops-7.6.10-2.fc31.x86_64	Atomic memory update operations
 make-1:4.2.1-14.fc31.x86_64	A GNU tool which simplifies the build process for users
Proceed with changes? [N/y] y


 * Waiting in queue... 
 * Waiting for authentication... 
 * Waiting in queue... 
 * Downloading packages... 
 * Requesting data... 
 * Testing changes... 
 * Installing packages... 
make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/VasanthaSurya/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:85: all] Error 2
[VasanthaSurya@localhost rtlwifi_new]$ sudo make install
[sudo] password for VasanthaSurya: 
make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/VasanthaSurya/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:85: all] Error 2
[VasanthaSurya@localhost rtlwifi_new]$ sudo make install
make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/VasanthaSurya/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:85: all] Error 2
[VasanthaSurya@localhost rtlwifi_new]$ sudo make install
make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/VasanthaSurya/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:85: all] Error 2
[VasanthaSurya@localhost rtlwifi_new]$ sudo make install
make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/VasanthaSurya/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:85: all] Error 2
[VasanthaSurya@localhost rtlwifi_new]$ sudo dkms add ../rtlwifi_new

Creating symlink /var/lib/dkms/rtlwifi-new/0.6/source ->
                 /usr/src/rtlwifi-new-0.6

DKMS: add completed.
[VasanthaSurya@localhost rtlwifi_new]$ sudo dkms build rtlwifi-new/0.6 
Error! echo
Your kernel headers for kernel 5.3.7-301.fc31.x86_64 cannot be found at
/lib/modules/5.3.7-301.fc31.x86_64/build or /lib/modules/5.3.7-301.fc31.x86_64/source.
[VasanthaSurya@localhost rtlwifi_new]$ sudo dkms install rtlwifi-new/0.6
Error! echo
Your kernel headers for kernel 5.3.7-301.fc31.x86_64 cannot be found at
/lib/modules/5.3.7-301.fc31.x86_64/build or /lib/modules/5.3.7-301.fc31.x86_64/source.
[VasanthaSurya@localhost rtlwifi_new]$ sudo dkms install rtlwifi-new/0.6 --force
Error! echo
Your kernel headers for kernel 5.3.7-301.fc31.x86_64 cannot be found at
/lib/modules/5.3.7-301.fc31.x86_64/build or /lib/modules/5.3.7-301.fc31.x86_64/source.
[VasanthaSurya@localhost rtlwifi_new]$ sudo modprobe -r rtl8723de
modprobe: FATAL: Module rtl8723de not found.
[VasanthaSurya@localhost rtlwifi_new]$ sudo modprobe rtl8723de
modprobe: FATAL: Module rtl8723de not found in directory /lib/modules/5.3.7-301.fc31.x86_64
[VasanthaSurya@localhost rtlwifi_new]$  sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'
[VasanthaSurya@localhost rtlwifi_new]$

something is missing here, please install

sudo dnf install kernel-headers and kernel-devel

and execute the make again

make
sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de

Regards.,

1 Like
[root@localhost VasanthaSurya]# sudo dnf install kernel-headers and kernel-devel
Fedora Modular 31 - x86_64                      2.2 kB/s | 5.6 kB     00:02    
Fedora Modular 31 - x86_64 - Updates            4.5 kB/s | 7.1 kB     00:01    
Fedora 31 - x86_64 - Updates                    5.2 kB/s | 7.0 kB     00:01    
Fedora 31 - x86_64                              4.5 kB/s | 5.7 kB     00:01    
google-chrome                                   4.8 kB/s | 1.3 kB     00:00    
RPM Fusion for Fedora 31 - Free - Updates       4.5 kB/s |  15 kB     00:03    
RPM Fusion for Fedora 31 - Free - Updates       2.7 kB/s |  41 kB     00:14    
RPM Fusion for Fedora 31 - Free                 6.3 kB/s |  15 kB     00:02    
RPM Fusion for Fedora 31 - Nonfree - Updates    4.1 kB/s |  11 kB     00:02    
RPM Fusion for Fedora 31 - Nonfree - Updates    234  B/s | 5.3 kB     00:23    
RPM Fusion for Fedora 31 - Nonfree              7.6 kB/s |  15 kB     00:02    
Package kernel-headers-5.3.6-300.fc31.x86_64 is already installed.
No match for argument: and
Package kernel-devel-5.3.8-300.fc31.x86_64 is already installed.
Error: Unable to find a match: and
[root@localhost VasanthaSurya]# make
make: *** No targets specified and no makefile found.  Stop.
[root@localhost VasanthaSurya]#

@vasanthsurya wait wait
Don’t limit yourself to copy and paste!
Try to understand what the suggested commands are supposed to do.

dnf install the package kernel-headers and kernel-devel
“and” is not a package.
BTW the suggested packages are already installed.

In addition, you have to enter the directory containing the source files before issuing the make command. cd rtlwifi_new

1 Like

In addition there is a mismatch between various versions.

Could you provide the result of this command?
uname -a

1 Like

@alciregi @vasanthsurya

I reproduce the two procedures describe here in a virtual machine without problem…

Dependencies:

sudo dnf install dkms git gcc gcc-c++ kernel-devel kernel-headers make

The only problem is in a cd on the git directory:

  1. Execute all the commands provide inside a git directory cd rtlwifi_new
  2. BOOT in only one KERNEL and execute each command on it, for example mine:
    • uname -r 5.3.8-300.fc31.x86_64
    • rpm -qa | grep kernel # check is you have kernel-headers and kernel-devel install it for each KERNEL
    • sudo dnf install kernel-devel kernel-headers
  3. Don’t execute more command is the previous one finish without success.

Regards.,

1 Like

Hi!

I’m trying to install, everything goes smooth until i try to make inside the fonder, I’m hitting a wall here.

make -C /lib/modules/5.3.7-301.fc31.x86_64/build M=/home/ernuke/rtlwifi_new modules
make[1]: *** /lib/modules/5.3.7-301.fc31.x86_64/build: No existe el fichero o el directorio.  Alto.
make: *** [Makefile:85: all] Error 2

I tried reading everything about the topic, but to be honest, i don’t understand much about it.
Help?

PD: Sorry for the spanish words, It basically says “There’s no such file or directory. Stop”

Hello …@ernuke ! Welcome to the community! Please do take a few minutes to go over the introductory posts in #start-here when you have the time. They contain lots of useful information.

Provide this information, basically the message is you’re not install some dependencies:

sudo dnf install kernel-devel kernel-headers

NOTE:

Do all of this in only kernel you boot, if you boot in another kernel you have to install the same dependencies for that kernel…

example:

if you boot in this kernel.

uname -r 5.3.8-300.fc31.x86_64

you have to install dependencies for this kernel

sudo dnf install kernel-devel kernel-headers

ensure with:

rpm -qa | grep kernel

Regards.,

hi

finally i completed installing wifi adapter by above all codes.
first i updated it.Later I run the command “cd rtlwifi_new”
“make”
“make install”
all this in root user
A special thanks to community for helping me a lot

1 Like