0

I have installed an Ubuntu 20.04 on umax notebook and I cannot found any working driver for 0bda:d723 Realtek Semiconductor Corp. 802.11n WLAN Adapter.

lsusb shows me the device, but I cannot found any wifi network adapter

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:6310 Microdia Sonix USB 2.0 Camera
Bus 001 Device 003: ID 0bda:d723 Realtek Semiconductor Corp. 802.11n WLAN Adapter
Bus 001 Device 002: ID 05e3:0751 Genesys Logic, Inc. microSD Card Reader
Bus 001 Device 006: ID 05c6:f00e Qualcomm, Inc. Redmi 9T
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have tried ndiswrapper but it not worked for me: Ubuntu 20.04: I cannot compile latest ndiswrapper

I have tried other solutions from here (with similar wifi card): Installing Wi-Fi driver for Realtek Semiconductor RTL8723DE Device [10ec:d723]

    sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.11.0-43-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8723de: 5.1.1.8_21285.20171026_COEX20170111-1414 not found
Error! Bad return status for module build on kernel: 5.11.0-43-generic (x86_64)
Consult /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/make.log for more information.
tomi@tomi-Visionbook-14Wr:~$ cat /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/make.log
DKMS make.log for rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414 for kernel 5.11.0-43-generic (x86_64)
2021. dec. 29., szerda, 10:56:39 CET
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.11.0-43-generic/build M=/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build  modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-43-generic'
  CC [M]  /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h:287:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  287 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h:288:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  288 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/wifi.h: At top level:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1657: note: this is the location of the previous definition
 1657 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1849: /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-43-generic'
make: *** [Makefile:1884: modules] Error 2

Is there any working driver in ubuntu 20.04?

3 Answers3

1

Since you have tried several other drivers previously, this assumes that you have installed all of the prerequisites.

With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do:

git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
sudo modprobe rtw_8723de

You will need to disable Secure Boot.

This driver must be reinstalled every time that Update Manager offers a newer kernel version. After the requested reboot, with a temporary internet connection by ethernet, tethering or whatever means possible, do:

cd rtw88
make clean
git pull
make
sudo make install
sudo modprobe rtw_8723de

Your wireless should be working again. Please retain the rtw88 file and these instructions for that time.

chili555
  • 61,330
1

You need a different driver, in terminal check mokutil --sb-state as Secure Boot needs to be disabled for the driver to load, then in terminal

sudo apt install git dkms
git clone https://github.com/lwfinger/rtl8723du.git
sudo dkms add rtl8723du
sudo dkms install rtl8723du/0.1

Reboot

Ok there is an issue with the dkms.conf that causes problems, so do sudo dkms remove rtl8723du/0.1 --all and sudo rm -r /usr/src/rtl8723du-0.1 Then go into the rtl8723du directory in your home directory and double click on dkms.conf and paste this in

PACKAGE_NAME="rtl8723du"
PACKAGE_VERSION=0.1
MAKE="'make' all KVER=${kernelver}"
CLEAN="make -C $kernel_source_dir clean"
BUILT_MODULE_NAME[0]="8723du"
DEST_MODULE_LOCATION[0]="/updates"
REMAKE_INITRD=no
AUTOINSTALL=yes

Save and exit, then do in terminal

sudo dkms add rtl8723du
sudo dkms install rtl8723du/0.1

Reboot if no errors

Jeremy31
  • 13,293
0

kablosuz ppa has the necessary drivers:

mokutil --sb-state # check the output for "SecureBoot disabled", disable Secure Boot if not present

sudo add-apt-repository ppa:kelebek333/kablosuz sudo apt update sudo apt install rtl8723du-dkms

reboot the computer here

sudo modprobe 8723du

R A
  • 927