Skip to content

Instantly share code, notes, and snippets.

@w4ilun
Last active June 30, 2022 05:49
Show Gist options
  • Save w4ilun/68d032b82993812a0a883ae992b6e696 to your computer and use it in GitHub Desktop.
Save w4ilun/68d032b82993812a0a883ae992b6e696 to your computer and use it in GitHub Desktop.
RealTek WiFi rtl8723be driver installation
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8723be
ifconfig wlp2s0 up
@xtrator
Copy link

xtrator commented Jul 23, 2020

ubuntu 20.04 lts rtl8821ae and getting this problem please halp im just a noob....

make -C /lib/modules/5.4.0-42-generic/build M=/home/alexander/rtlwifi_new-extended modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-42-generic'
CC [M] /home/alexander/rtlwifi_new-extended/rc.o
/home/alexander/rtlwifi_new-extended/rc.c: In function ‘rtl_get_rate’:
/home/alexander/rtlwifi_new-extended/rc.c:191:6: error: implicit declaration of function ‘rate_control_send_low’; did you mean ‘rate_control_set_rates’? [-Werror=implicit-function-declaration]
191 | if (rate_control_send_low(sta, priv_sta, txrc))
| ^~~~~~~~~~~~~~~~~~~~~
| rate_control_set_rates
/home/alexander/rtlwifi_new-extended/rc.c: At top level:
/home/alexander/rtlwifi_new-extended/rc.c:339:11: error: initialization of ‘void * (*)(struct ieee80211_hw )’ from incompatible pointer type ‘void * ()(struct ieee80211_hw *, struct dentry *)’ [-Werror=incompatible-pointer-types]
339 | .alloc = rtl_rate_alloc,
| ^~~~~~~~~~~~~~
/home/alexander/rtlwifi_new-extended/rc.c:339:11: note: (near initialization for ‘rtl_rate_ops.alloc’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/alexander/rtlwifi_new-extended/rc.o] Error 1
make[1]: *** [Makefile:1731: /home/alexander/rtlwifi_new-extended] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-42-generic'
make: *** [Makefile:87: all] Error 2

@lazyCodes7
Copy link

once type ls in whatever directory you are executing the make command and see if there is a README. And check out if there is some steps.For me once this type of issue happened.

@Vinceent
Copy link

@xtrator
I had the same issue but following these steps helped: https://askubuntu.com/a/1238017/993667

@xtrator
Copy link

xtrator commented Jul 23, 2020

@Vinceent
Is it alright if I install a rtl8723de driver even though my wireless device is rtl8821ae? asking truthfully

@xtrator
Copy link

xtrator commented Jul 29, 2020

@Vinceent
Alright I grew some balls and I've recovered my wifi strength. although I am still having the lag spikes from time to time.

@vikram-bais
Copy link

@lazyCodes7 Thanks It working for me
I am using following commands
git clone https://github.com/silenoth/rtlwifi_new-extended
mv rtlwifi_new-extended rtlwifi_new
cd rtlwifi_new/
sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de
Wi fi is working again

Its working for me, thank you so much

@Qammarbhat
Copy link

git clone https://github.com/lwfinger/rtlwifi_new.git
repo not found.!

I think they deleted the repo. Did you find any other solution if yes please share the link. Than
you in advance

@Aryan2601
Copy link

git clone https://github.com/lwfinger/rtlwifi_new.git
repo not found.!

I think they deleted the repo. Did you find any other solution if yes please share the link. Than
you in advance

I think this can Work https://github.com/rtlwifi-linux/rtlwifi_new

@ghodki99
Copy link

Install: "it worked for me"

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

@ajitamishra
Copy link

my issue is resolved using this github code
https://github.com/smlinux/rtl8723de.git

Thanks it worked for me

@vishal-mewada
Copy link

ake[3]: *** [scripts/Makefile.build:290: /home/vishal/Desktop/rtlwifi_new/rtl8822be/trx.o] Error 1
make[2]: *** [scripts/Makefile.build:519: /home/vishal/Desktop/rtlwifi_new/rtl8822be] Error 2
make[1]: *** [Makefile:1780: /home/vishal/Desktop/rtlwifi_new] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-28-generic'
make: *** [Makefile:87: all] Error 2

I an also get this problem

@shivasm
Copy link

shivasm commented Feb 22, 2021

sudo git clone https://github.com/lwfinger/rtlwifi_new.git
Cloning into 'rtlwifi_new'...
Username for 'https://github.com':

I am getting this result and I entered my credensials og git then also it is not taking

@rv0x00
Copy link

rv0x00 commented Feb 19, 2022

I was going through the same trouble and this solution worked for me.

https://connectwww.com/how-to-solve-realtek-rtl8723be-weak-wifi-signal-problem-in-ubuntu/4625/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment