Wifi not working after install - RTL8723DE

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Wifi not working after install - RTL8723DE

Post by Trenien »

I've just installed 20 (Cinnamon), and I've had the nasty surprise of finding that wifi wasn't even seen by the system (when it worked perfectly fine with the live version).

I've followed the instructions given here viewtopic.php?f=53&t=322651&p=1833055&h ... e#p1833055 by sleeper12, and 'lo and behold, the OS now sees the card, but tells me no wireless network are available. I've tried to change the antenna parameter from 1 to 4 with the following command :

Code: Select all

sudo modprobe -r rtl8723de && sleep 10 && modprobe rtl8723de ant_sel=1
And, unfortunately still no go.

Any suggestions ?

Here are the system informations

Code: Select all

System:    Kernel: 5.4.0-37-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.5 
           wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: HP product: HP Laptop 17-ca1xxx v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: HP model: 85B3 v: 91.45 serial: <filter> UEFI: AMI v: F.53 date: 12/27/2019 
Battery:   ID-1: BAT0 charge: 41.7 Wh condition: 41.7/41.7 Wh (100%) volts: 13.1/11.6 
           model: Hewlett-Packard Primary serial: <filter> status: Full 
CPU:       Topology: Quad Core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64 
           type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36730 
           Speed: 1507 MHz min/max: 1400/2300 MHz Core speeds (MHz): 1: 1507 2: 1506 3: 1507 
           4: 1507 5: 1506 6: 1505 7: 3771 8: 3766 
Graphics:  Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0 
           chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.0-37-generic LLVM 9.0.1) v: 4.6 Mesa 20.0.4 
           direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus ID: 03:00.1 chip ID: 1002:15de 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard 
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2 
           Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 03:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.0-37-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: f000 bus ID: 01:00.0 
           chip ID: 10ec:8168 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard 
           driver: rtl8723de v: kernel port: e000 bus ID: 02:00.0 chip ID: 10ec:d723 
           IF: wlp2s0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.03 TiB used: 13.15 GiB (1.3%) 
           ID-1: /dev/sda vendor: LITE-ON model: CV8-8E128-HP size: 119.24 GiB speed: 6.0 Gb/s 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB speed: 6.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 22.79 GiB used: 6.99 GiB (30.7%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 86.17 GiB used: 212.4 MiB (0.2%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 7.63 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-3:2 info: Elecom ELECOM USB mouse with wheel type: Mouse 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 056e:001c 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Device-2: 3-1:2 info: ASMedia Name: ASM1051E SATA 6Gb/s bridge ASM1053E SATA 6Gb/s 
           bridge ASM1153 SATA 3Gb/s bridge ASM1153E SATA 6Gb/s bridge 
           type: Mass Storage driver: usb-storage rev: 2.0 chip ID: 174c:55aa 
           Hub: 3-2:3 info: Genesys Logic Hub ports: 4 rev: 2.0 chip ID: 05e3:0608 
           Device-3: 3-2.1:4 info: Cheng Uei Precision Industry (Foxlink) ASM1153 type: Video 
           driver: uvcvideo rev: 2.0 chip ID: 05c8:0238 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 54.1 C mobo: N/A gpu: amdgpu temp: 0 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 279 Uptime: 1m Memory: 13.65 GiB used: 1.21 GiB (8.9%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
Last edited by Trenien on Mon Jun 29, 2020 12:28 pm, edited 2 times in total.
User avatar
Pjotr
Level 22
Level 22
Posts: 16177
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wifi not working after install - RTL8723DE

Post by Pjotr »

Trenien wrote:
Tue Jun 23, 2020 5:46 pm
I've tried to change the antenna parameter from 1 to 4
1 to 4? :shock:

There's only 1 and 2 to try. There are no more flavours, as the default laptop WiFi chipset has only two antenna sockets.
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

Can you post results of:

Code: Select all

 rfkill list 

Code: Select all

 mokutil --sb-state 
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

Secure boot is disabled and wireless (and bluetooth) are not blocked, either through hardware or software.

Code: Select all

rfkill list 
0: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Code: Select all

mokutil --sb-state 
SecureBoot disabled
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

That all looks good. Try:

Code: Select all

 sudo modprobe rtl8723de 
Or

Code: Select all

 sudo ifconfig wlp2s0 
If that doesn't help, see if you can turn wifi on in Bios or reset Bios to default.
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

That did the trick!

Thanks
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE [SOLVED]

Post by sleeper12 »

Which one worked for you?
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE [SOLVED]

Post by Trenien »

Oops. I didn't pay attention (I need new glasses) and used both.

Well, I just updated the kernel and, of course, it stopped functioning. I guess I'll try the whole process again...
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

You may have lost the driver with a kernel update. Does this show a driver in use?

Code: Select all

 lspci -nnk | grep -iA3 net 
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

Well, one modprobe rtw88 and a reboot later, it works. I'll see if it keeps.
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

I'm not sure how you got rtw88, but if it works..ok.
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

Well, here I am, with the same problem I had before.
Ever since the original install, each and every time I did an update, I had to tinker to have the wifi work again. And then it stopped working for no apparent reason. After trying a few things, I got fed up and reinstalled the whole system (and again, the wifi worked without a hitch in the live session).

Well, still no luck, before and after I updated the system to 5.4, nor after I installed the git module with the following commands :

Code: Select all

git clone https://github.com/smlinux/rtl8723de.git -b current
dkms add ./rtl8723de
dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
depmod -a
reboot
and no more luck with a subsequent

Code: Select all

 modprobe -r rtl8723de
I have also tried the rtl8821ce-dkms module found in the repository (after a clean uninstall of the git module) and it didn't work either.

I really don't know what else to try.

Here are the results of a few tests :

Configuration

Code: Select all

System:    Kernel: 5.4.0-59-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7 
           wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: HP product: HP Laptop 17-ca1xxx v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: HP model: 85B3 v: 91.45 serial: <filter> UEFI: AMI v: F.53 date: 12/27/2019 
Battery:   ID-1: BAT0 charge: 36.7 Wh condition: 36.7/36.7 Wh (100%) volts: 13.1/11.6 
           model: Hewlett-Packard Primary serial: <filter> status: Full 
CPU:       Topology: Quad Core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64 
           type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36731 
           Speed: 3986 MHz min/max: 1400/2300 MHz Core speeds (MHz): 1: 3957 2: 3912 3: 1577 
           4: 1587 5: 1591 6: 1576 7: 1582 8: 1576 
Graphics:  Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0 
           chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.0-59-generic LLVM 11.0.0) 
           v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus ID: 03:00.1 chip ID: 1002:15de 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard 
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2 
           Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 03:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.0-59-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: f000 bus ID: 01:00.0 
           chip ID: 10ec:8168 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard 
           driver: N/A port: e000 bus ID: 02:00.0 chip ID: 10ec:d723 
Drives:    Local Storage: total: 1.03 TiB used: 227.09 GiB (21.6%) 
           ID-1: /dev/sda vendor: LITE-ON model: CV8-8E128-HP size: 119.24 GiB speed: 6.0 Gb/s 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB speed: 6.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 22.79 GiB used: 7.14 GiB (31.3%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 86.17 GiB used: 39.66 GiB (46.0%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 7.63 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-3:6 info: USB OPTICAL MOUSE type: Mouse driver: hid-generic,usbhid rev: 1.1 
           chip ID: 275d:0a29 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Device-2: 3-1:2 info: ASMedia Name: ASM1051E SATA 6Gb/s bridge ASM1053E SATA 6Gb/s 
           bridge ASM1153 SATA 3Gb/s bridge ASM1153E SATA 6Gb/s bridge 
           type: Mass Storage driver: usb-storage rev: 2.0 chip ID: 174c:55aa 
           Hub: 3-2:3 info: Genesys Logic Hub ports: 4 rev: 2.0 chip ID: 05e3:0608 
           Device-3: 3-2.1:4 info: Cheng Uei Precision Industry (Foxlink) ASM1153 type: Video 
           driver: uvcvideo rev: 2.0 chip ID: 05c8:0238 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 51.8 C mobo: N/A gpu: amdgpu temp: 0 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 270 Uptime: 6m Memory: 13.65 GiB used: 1.48 GiB (10.8%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 


Secureboot is disabled and rfkill list gives nothing (understandable I suppose as the system reports no driver for the wireless module).


Any idea ?
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

It looks like you are missing a driver. Since you said the rtw88 worked before, try #7 here:
https://easylinuxtipsproject.blogspot.c ... k.html#ID7
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

I'd forgotten about rtw88. Unfortunately, it didn't work this time.
To be precise, I compiled and installed it with no issue (I even got a big INSTALL SUCCESS at the end). But after cleaning and rebooting, still no driver associated with the wifi. Worse, a modprobe rtw88 only gave me the following :

Code: Select all

modprobe: FATAL: Module rtw88 not found in directory /lib/modules/5.4.0-59-generic
As a side note, I checked what exactly was loaded with lsmod | grep rtw, and I had that :

Code: Select all

rtw_8723de             16384  0
rtw_8723d              53248  1 rtw_8723de
rtw_pci                24576  1 rtw_8723de
rtw_core              176128  2 rtw_8723d,rtw_pci
mac80211              843776  2 rtw_core,rtw_pci
cfg80211              704512  2 rtw_core,mac80211
Might there be some kind of conflict that prevents the module from associating with the hardware ?
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

Try this again:

Code: Select all

 sudo modprobe rtl8723de 
You might need to reboot
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

Same result as for rtw88 :

Code: Select all

modprobe: FATAL: Module rtl8723de not found in directory /lib/modules/5.4.0-59-generic
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

Ok, try this one line at a time:

Code: Select all

sudo apt-get install git dkms
git clone https://github.com/smlinux/rtl8723de.git -b current
dkms add ./rtl8723de
dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
depmod -a 
Then reboot
Trenien
Level 1
Level 1
Posts: 17
Joined: Tue Jun 23, 2020 5:21 pm

Re: Wifi not working after install - RTL8723DE

Post by Trenien »

It finally worked !
I don't get why the exact same thing didn't a couple of hours ago, though...

Of note : when I rebooted, the computer hanged on the loading screen with no way of knowing what was happening. I had to hard reboot it after a few minutes and it then started with no issue, and a working wifi.
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

Ok, good. No idea why it didn't work before.
sleeper12
Level 15
Level 15
Posts: 5704
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after install - RTL8723DE

Post by sleeper12 »

Oh, I think when you did it before, you maybe then removed the driver with modprobe -r.
Post Reply

Return to “Wireless”