RTL8723BE wireless fix and other realtek

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Gimpy

RTL8723BE wireless fix and other realtek

Post by Gimpy »

This fix is for realtek wireless drivers to stop dropping wireless or not working at all

To determine your model in a terminal type> inxi - n

Models Supported
rtl8188ee
rtl8192c
rtl8192ce
rtl8192de
rtl8192ee
rtl8192se
rtl8723ae
rtl8723be
rtl8821ae

I have the rtl8723be wireless and this fix stopped the wireless drop out

In a terminal type the following commands

1. sudo apt-get install linux-headers-generic build-essential git

2. git clone https://github/com/lwfinger/rtlwifi_new

3. cd rtlwifi_new

4. make

5. sudo make install

6. sudo modprobe rtl8723be
rtl8723be was my wireless ..change rtl8723be to your model

Thats is all there is to it .. this info was updated from info obtained from ubuntu forums
Gimpy

Re: RTL8723BE wireless fix and other realtek

Post by Gimpy »

If you are still experiencing problems with the realtek you can add or create a file in /etc/modprobe.d

name the file (your realtek device).conf
for example rtl8723be.conf

in the file add> options rtl8723be fwlps=N ips=N

then either restart or
sudo modprobe rtl8723be (substitute your device if different)
User avatar
bbaker6212
Level 5
Level 5
Posts: 538
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 »

Great. I have this same rtl8723be wifi card in my Lenovo G50 notebook. And while it works 99% of the time, I'd say once every day or two the wifi stops working and I have to restart Mint to get it working again. Will try this fix and see if things improve. Btw, how does one reset the wifi adapter without needing to restart the whole OS?
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
User avatar
bbaker6212
Level 5
Level 5
Posts: 538
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 »

I got an error on the initial command.
dpkg: error processing package i-nex (--configure):
subprocess installed post-installation script returned error exit status 6
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

inxi -Fxz 
System: Host: brad-Lenovo-G50-45 Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: Cinnamon 2.6.13 Distro: Linux Mint 17.2 Rafaela
Last edited by bbaker6212 on Thu Sep 17, 2015 6:37 pm, edited 1 time in total.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
User avatar
bbaker6212
Level 5
Level 5
Posts: 538
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 »

The outlined patch build process worked for me. Now, I'll see if my intermittent wifi disconnect is fixed or not.
[edit] removed that un-needed 'i-nex' package. so no more dpkg error.
Question:

* I read in another thread that the rtl8723be.conf file entry of 'options rtl8723be fwlps=0' is the one that turns off power/energy management that could cause a problem. What does your options do... 'options rtl8723be fwlps=N ips=N' ?
User avatar
bbaker6212
Level 5
Level 5
Posts: 538
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 »

I am also running Xubuntu 15.04 on the same machine, in a separate partition and it was also having the same problem, but more frequent disconnects.
This fix/patch procedure completed without errors here as well. I'll post again if the problem is not resolved, else assume it worked.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB »

I am not at a computer now but you can find a description of the parameters with

Code: Select all

modinfo -p rtl8723be
I think fwlps is a firmware power save but I don't remember what ips is
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: RTL8723BE wireless fix and other realtek

Post by Laurent85 »

A more convinient ppa is now available to install new drivers. See https://launchpad.net/~hanipouspilot/+a ... tu/rtlwifi
Installation instructions :

Code: Select all

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
apt update
apt install rtlwifi-new-dkms
Reboot.
Image
User avatar
bbaker6212
Level 5
Level 5
Posts: 538
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 »

JeremyB wrote:I am not at a computer now but you can find a description of the parameters with

Code: Select all

modinfo -p rtl8723be
I think fwlps is a firmware power save but I don't remember what ips is

Code: Select all

}brad@G50-45 ~/dev/ipfs $ modinfo -p rtl8723be
swlps: (bool)
swenc:using hardware crypto (default 0 [hardware])
 (bool)
ips:using no link power save (default 1 is open)
 (bool)
fwlps:using linked fw control power save (default 1 is open)
 (bool)
msi:Set to 1 to use MSI interrupts mode (default 0)
 (bool)
debug:Set debug level (0-5) (default 0) (int)
disable_watchdog:Set to 1 to disable the watchdog (default 0)
 (bool)
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
cnop

Re: RTL8723BE wireless fix and other realtek

Post by cnop »

Hi,
I use Linux mint 17.3, Kernel 3.19.0-32. Did follow the steps from Gimpy on Thu Sep 03, 2015 12:26 pm / RTL8723BE wireless fix and other realtek all went well till the last command.
attached the message
User avatar
JOPETA
Level 17
Level 17
Posts: 7762
Joined: Thu Nov 20, 2014 6:10 am
Location: En un lugar de cuyo nombre no quiero acordarme

Re: RTL8723BE wireless fix and other realtek

Post by JOPETA »

RTL 8723au is not a model supported as per Gimpy’ s list. Device or resource busy maybe means that rtl 8723au mod is already in use. In any case, please open a new topic. :wink:
User avatar
Pjotr
Level 24
Level 24
Posts: 20048
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: RTL8723BE wireless fix and other realtek

Post by Pjotr »

@cnop: this should fix your RTL8723AU:
https://sites.google.com/site/easylinux ... 0bda:b720-
(item 4, left column)

For the rest I agree with JOPETA: for future help requests, please start your own threads. :)
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.
newbie1010

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 »

Hi, I tried the first command but kept getting this message? can anyone help? i'm a newbie so I don't really know what it means?
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB »

Try github.com not github/com in the git clone command
User avatar
Pjotr
Level 24
Level 24
Posts: 20048
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: RTL8723BE wireless fix and other realtek

Post by Pjotr »

As JeremyB says. Better yet: don't type the commands. Only use copy/paste.
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.
newbie1010

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 »

Thanks I realised my silly mistake. I tried it but as soon as I move more than 1 metre away from my wireless router it seems to just drop connection still? I have no idea why?
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB »

See my answer on askubuntu http://askubuntu.com/a/722904/300665

If ant_sel=1 or ant_sel=2 works post what one works as there is a step to make it persistent

I had thought this issue was just with HP laptops but it seems otherwise.
newbie1010

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 »

@jeremyb I tried what you recommended but as soon as i leave the room it still disconnects ? I dunno what to do really?
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB »

Try the commands from outside of the room that the router is in and see if there is any difference

Code: Select all

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=1 fwlps=N
If you still can't see any wireless networks then

Code: Select all

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=2 fwlps=N
I suspect that your wireless card has only one antenna on a card with two antenna connectors
newbie1010

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 »

I just tried it but it hasn't made a difference ? Is there any other way to fix it?
Locked

Return to “Networking”