Wireless Driver Isn't getting Installed

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
R_d_a

Wireless Driver Isn't getting Installed

Post by R_d_a »

I have an HP-15q-bu011TX laptop with rtl8723de wireless chipset and Linux mint cinnamon 18.3 installed and the kernel version is 4.13.0.0.6. when I first installed the OS I did not found the wifi option on it so I searched the driver on internet and somehow found it on https://github.com/lwfinger/rtlwifi_new. I installed it and it was working. But as soon as I restarted the computer the driver automatically got removed, I tried it many times but the problem was same. Please suggest some solution to my problem.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20126
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wireless Driver Isn't getting Installed

Post by Pjotr »

a. Please generate an overview of your system like this:

- Launch a terminal window (this is how to launch a terminal window);

- make the terminal window full screen, to avoid chopped lines;

- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

- Press Enter.

- Copy/paste the output in your next message.

b. Do the same with the following three commands:

Code: Select all

rfkill list all
and:

Code: Select all

inxi -Nn
and:

Code: Select all

iwconfig
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

As you have asked here is the information.

Code: Select all

$ inxi -Fxz
System:    Host: Rda-HP-Laptop-15q-bu0xx Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: HP product: HP Laptop 15q-bu0xx v: Type1ProductConfigId
           Mobo: HP model: 832B v: 23.37 Bios: Insyde v: F.21 date: 07/04/2017
CPU:       Dual core Intel Core i5-7200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10848
           clock speeds: max: 3100 MHz 1: 2700 MHz 2: 2700 MHz 3: 2700 MHz
           4: 2700 MHz
Graphics:  Card-1: Intel Device 5916 bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
           bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 02:00.0
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Realtek Device d723 port: 3000 bus-ID: 03:00.0
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 1000.2GB (1.9% used)
           ID-1: /dev/sda model: ST1000LM035 size: 1000.2GB
Partition: ID-1: / size: 94G used: 11G (12%) fs: ext4 dev: /dev/sda6
           ID-2: swap-1 size: 8.49GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 37.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 196 Uptime: 3 min Memory: 798.3/7894.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------

Code: Select all

 inxi -Nn
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: eno1 state: up speed: 100 Mbps duplex: full
           mac: 48:ba:4e:28:dc:23
           Card-2: Realtek Device d723
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------

Code: Select all

~ $ iwconfig
eno1      no wireless extensions.

lo        no wireless extensions.
---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------*---------------

Code: Select all

~ $ rfkill list all
0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
Last edited by Moem on Thu Mar 08, 2018 10:14 am, edited 1 time in total.
Reason: Adding code tags [</>]. They retain some formatting that makes your output easier to read.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

Thanks for the suggestion asinoro , I have already tried this but my problem is that the system isn't holding the driver. After installing the driver it only works for the session in which it is install and every time I restart the system I have to install it again.
User avatar
Pjotr
Level 24
Level 24
Posts: 20126
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wireless Driver Isn't getting Installed

Post by Pjotr »

This should make the rtlwifi_new driver survive the session:
https://sites.google.com/site/easylinux ... m-lwfinger
(item 9, right column)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Wireless Driver Isn't getting Installed

Post by asinoro »

What shows this command?

Code: Select all

modinfo rtl8723de
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

Thanks Pjotr,
I have tried this but it,s the same this time also.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

Hi asinoro
This is the result
~ $ modinfo rtl8723de
filename: /lib/modules/4.13.0-36-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723de/rtl8723de.ko
firmware: rtlwifi/rtl8723defw.bin
description: Realtek 8723DE 802.11n PCI wireless
license: GPL
author: Realtek WlanFAE <wlanfae@realtek.com>
author: PageHe <page_he@realsil.com.cn>
srcversion: 57B1D6F7DC3266BCB31ABDD
alias: pci:v000010ECd0000D723sv*sd*bc*sc*i*
depends: rtlwifi,rtl_pci,btcoexist,rtl8723-common,phydm_mod
name: rtl8723de
vermagic: 4.13.0-36-generic SMP mod_unload
parm: dma64:bool
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: ips:Set to 0 to not use link power save (default 1)
(bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
(bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
(bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 0)
(bool)
parm: aspm:Set to 1 to enable ASPM (default 1)
(int)
parm: debug_level:Set debug level (0-5) (default 0) (int)
parm: debug_mask:Set debug mask (default 0) (ullong)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
(bool)
parm: ant_sel:Set to 1 or 2 to force antenna number (default 0)
(int)
User avatar
Pjotr
Level 24
Level 24
Posts: 20126
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wireless Driver Isn't getting Installed

Post by Pjotr »

R_d_a wrote: Thu Mar 08, 2018 10:40 am Thanks Pjotr,
I have tried this but it,s the same this time also.
Can you give the diagnostic terminal outputs again, after you've enabled the driver for the session?
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

Pjotr wrote: Thu Mar 08, 2018 10:43 am
R_d_a wrote: Thu Mar 08, 2018 10:40 am Thanks Pjotr,
I have tried this but it,s the same this time also.
Can you give the diagnostic terminal outputs again, after you've enabled the driver for the session?
I have restarted the laptop and as soon as i tried to install the the driver again I found that the extended repository for the driver was not available on https://github.com/lwfinger/rtlwifi_new. In all now I can't install the driver even for a single session.
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Wireless Driver Isn't getting Installed

Post by asinoro »

You don’t need to install all the time the driver when you run

Code: Select all

sudo modprobe rtl8723de
after reboot do you have wifi?
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

asinoro wrote: Thu Mar 08, 2018 11:32 am You don’t need to install all the time the driver when you run

Code: Select all

sudo modprobe rtl8723de
after reboot do you have wifi?
NO
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Wireless Driver Isn't getting Installed

Post by asinoro »

Run this command first.

Code: Select all

sudo apt-get install linux-headers-$(uname -r) build-essential git dkms
and then all the other commands for the installation reboot and check again.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

asinoro wrote: Thu Mar 08, 2018 12:31 pm Run this command first.

Code: Select all

sudo apt-get install linux-headers-$(uname -r) build-essential git dkms
and then all the other commands for the installation reboot and check again.
Done it but still no progress.
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Wireless Driver Isn't getting Installed

Post by asinoro »

Post this.

Code: Select all

rfkill list all ; lsmod
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

asinoro wrote: Thu Mar 08, 2018 1:07 pm Post this.

Code: Select all

rfkill list all ; lsmod
here it is

~ $ rfkill list all ; lsmod
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
Module Size Used by
bnep 20480 2
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 40960 2 uvcvideo,videobuf2_v4l2
videodev 176128 3 uvcvideo,videobuf2_core,videobuf2_v4l2
media 40960 2 uvcvideo,videodev
btusb 45056 0
btrtl 16384 1 btusb
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 94208 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
ndiswrapper 282624 0
kvm 589824 0
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
snd_soc_skl 77824 0
ghash_clmulni_intel 16384 0
snd_soc_skl_ipc 49152 1 snd_soc_skl
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
pcbc 16384 0
snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc
snd_hda_ext_core 24576 1 snd_soc_skl
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 229376 1 snd_soc_skl
snd_compress 20480 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 40960 3
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 81920 7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
aesni_intel 188416 0
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 8 snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate 20480 0
intel_rapl_perf 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
joydev 20480 0
snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi
input_leds 16384 0
hp_wmi 16384 0
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
wmi_bmof 16384 0
serio_raw 16384 0
mac_hid 16384 0
snd 81920 19 snd_compress,snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_soc_core,snd_pcm
soundcore 16384 1 snd
mei_me 40960 0
mei 102400 1 mei_me
intel_pch_thermal 16384 0
ucsi_acpi 16384 0
typec_ucsi 28672 1 ucsi_acpi
shpchp 36864 0
processor_thermal_device 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
typec 24576 1 typec_ucsi
hci_uart 106496 0
btbcm 16384 2 hci_uart,btusb
serdev 20480 1 hci_uart
btqca 16384 1 hci_uart
btintel 16384 2 hci_uart,btusb
bluetooth 548864 14 btrtl,hci_uart,btintel,btqca,bnep,btbcm,btusb
kxcjk_1013 20480 0
industrialio_triggered_buffer 16384 1 kxcjk_1013
int3403_thermal 16384 0
kfifo_buf 16384 1 industrialio_triggered_buffer
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
binfmt_misc 20480 1
intel_vbtn 16384 0
soc_button_array 16384 0
ecdh_generic 24576 1 bluetooth
industrialio 69632 3 kxcjk_1013,industrialio_triggered_buffer,kfifo_buf
intel_lpss_acpi 16384 0
intel_lpss 16384 1 intel_lpss_acpi
int3406_thermal 16384 0
intel_hid 16384 0
int3400_thermal 16384 0
sparse_keymap 16384 3 intel_hid,intel_vbtn,hp_wmi
acpi_thermal_rel 16384 1 int3400_thermal
dptf_power 16384 0
hp_wireless 16384 0
acpi_pad 180224 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,parport_pc,ppdev
autofs4 40960 2
btrfs 1101824 0
xor 24576 1 btrfs
raid6_pq 118784 1 btrfs
dm_mirror 24576 0
dm_region_hash 20480 1 dm_mirror
dm_log 20480 2 dm_mirror,dm_region_hash
amdgpu 2027520 0
amdkfd 188416 1
amd_iommu_v2 20480 1 amdkfd
radeon 1486848 1
i915 1830912 4
i2c_algo_bit 16384 3 amdgpu,radeon,i915
ttm 94208 2 amdgpu,radeon
drm_kms_helper 167936 3 amdgpu,radeon,i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
r8169 86016 0
psmouse 147456 0
mii 16384 1 r8169
drm 360448 9 amdgpu,radeon,i915,ttm,drm_kms_helper
ahci 36864 2
libahci 32768 1 ahci
wmi 24576 2 wmi_bmof,hp_wmi
video 40960 2 int3406_thermal,i915
pinctrl_sunrisepoint 28672 0
pinctrl_intel 20480 1 pinctrl_sunrisepoint
i2c_hid 20480 0
hid 118784 1 i2c_hid
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Wireless Driver Isn't getting Installed

Post by asinoro »

It shows that the kernel do not load the driver that it is installed, try to install the 4.4 lts kernel.
R_d_a

Re: Wireless Driver Isn't getting Installed

Post by R_d_a »

I found the repository for the driver and installed the driver.
But I still can't understand why so I have to run sudo modprobe rtl8723de everytime I restart.
Please suggest a permanent fix for this
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless Driver Isn't getting Installed

Post by JeremyB »

Try

Code: Select all

sudo apt-get purge ndiswrapper && sudo rm /etc/modprobe.d/ndiswrapper.conf && sudo depmod -a
Reboot
Locked

Return to “Hardware Support”