RTL8723BE wireless fix and other realtek

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Gimpy
Level 1
Level 1
Posts: 2
Joined: Thu Sep 03, 2015 1:08 pm

RTL8723BE wireless fix and other realtek

Post by Gimpy » Thu Sep 03, 2015 1:26 pm

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
Level 1
Level 1
Posts: 2
Joined: Thu Sep 03, 2015 1:08 pm

Re: RTL8723BE wireless fix and other realtek

Post by Gimpy » Thu Sep 17, 2015 1:48 pm

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: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 » Thu Sep 17, 2015 4:56 pm

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 Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 » Thu Sep 17, 2015 4:59 pm

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 Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 » Thu Sep 17, 2015 5:49 pm

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: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 » Sat Sep 19, 2015 12:58 am

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 Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

JeremyB
Level 20
Level 20
Posts: 10952
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB » Sat Sep 19, 2015 9:54 am

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 16
Level 16
Posts: 6102
Joined: Tue May 26, 2015 10:11 am

Re: RTL8723BE wireless fix and other realtek

Post by Laurent85 » Thu Sep 24, 2015 8:05 am

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: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: RTL8723BE wireless fix and other realtek

Post by bbaker6212 » Sun Sep 27, 2015 7:22 pm

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 Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

cnop
Level 1
Level 1
Posts: 1
Joined: Sun Dec 13, 2015 11:12 pm

Re: RTL8723BE wireless fix and other realtek

Post by cnop » Sun Dec 13, 2015 11:30 pm

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
Attachments
error driver inst.png

User avatar
JOPETA
Level 15
Level 15
Posts: 5761
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 » Sun Jan 17, 2016 6:37 am

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 21
Level 21
Posts: 13538
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: RTL8723BE wireless fix and other realtek

Post by Pjotr » Sun Jan 17, 2016 6:52 am

@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 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

newbie1010
Level 3
Level 3
Posts: 110
Joined: Thu Dec 31, 2015 10:54 am

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 » Sun Jan 17, 2016 11:04 am

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?
Attachments
terminalproblem.png

JeremyB
Level 20
Level 20
Posts: 10952
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB » Sun Jan 17, 2016 11:29 am

Try github.com not github/com in the git clone command

User avatar
Pjotr
Level 21
Level 21
Posts: 13538
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: RTL8723BE wireless fix and other realtek

Post by Pjotr » Sun Jan 17, 2016 11:41 am

As JeremyB says. Better yet: don't type the commands. Only use copy/paste.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

newbie1010
Level 3
Level 3
Posts: 110
Joined: Thu Dec 31, 2015 10:54 am

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 » Thu Jan 21, 2016 5:21 pm

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?
Attachments
ii.png

JeremyB
Level 20
Level 20
Posts: 10952
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB » Thu Jan 21, 2016 6:02 pm

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
Level 3
Level 3
Posts: 110
Joined: Thu Dec 31, 2015 10:54 am

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 » Fri Jan 22, 2016 2:43 pm

@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 20
Level 20
Posts: 10952
Joined: Fri Feb 21, 2014 8:17 am

Re: RTL8723BE wireless fix and other realtek

Post by JeremyB » Fri Jan 22, 2016 5:52 pm

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
Level 3
Level 3
Posts: 110
Joined: Thu Dec 31, 2015 10:54 am

Re: RTL8723BE wireless fix and other realtek

Post by newbie1010 » Fri Jan 22, 2016 6:50 pm

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

Locked

Return to “Wireless”