Fixing Realtek rtl8723be Wifi Driver Power on Linux

WiFi logo on a hand

A major problems that I run into installing Linux on my HP 14-n007la computer, it was the compatibility of the drivers both graphics and network.

Since my team counts with an integrated Realtek rtl8723be wifi card, the power and speed were poor, because I decided to find a solution with this. Seeing that many people suffered from the same problem, I found a fairly practical solution.

Searching the net I came across an article, where a developer Share the Realtek rtl8723be drivers to compile and install.

In this way, for those of us who had problems with the low Wi-Fi signal on our computer, this could be a solution for you.

If you are one of the few that the controller is not identified to you and you cannot connect to the network, I leave the download link for you to just unzip and start from the compilation step.

Download Realtek rtl8723be drivers

The first thing will be to open a terminal, where we will install the support for git and be able to download the necessary files, we will only have to write the following:

sudo apt-get install build-essential git

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

We enter the directory where the packages for the compilation of the rtl8723be drivers were downloaded:

cd rtlwifi_new

git checkout rock.new_btcoex

We start with the compilation and wait for it to finish.

make

sudo make install

After the installation we write the following:

sudo modprobe -rv rtl8723be

sudo modprobe -v rtl8723be ips=0 ant_sel=0

Y we reboot to see the changes.

This is where we will play around with these values ​​as optimal for us:

sudo modprobe rtl8723be ant_sel=1
sudo modprobe rtl8723be ant_sel=2

To go testing with them, it will be necessary to restart the computer every time we change the values.

Without further ado, if you know of any other solution to this problem that has been occurring for a long time, do not hesitate to share it with us.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Joel said

    What a good post!

    I have needed this for a long time. And so I reached the following link.

    https://github.com/roopansh/rtl8723be_wifi

    It works. I hope it will be you useful.

  2.   Daniel said

    What a good article, it is to link it. It seems to me that I know of a friend who has this problem. Greetings.

  3.   JPairo said

    Hi there! Thanks for the post!

    I have continued smoothly up to compilation, where does it say the branch is abandoned, how can I undo the steps to try other solutions? Or what has to be changed to follow the branch?

    adam @ adm-HP: ~ / rtlwifi_new $ make
    make -C /lib/modules/4.13.0-16-generic/build M = / home / adam / rtlwifi_new modules
    make [1]: Entering directory '/usr/src/linux-headers-4.13.0-16-generic'
    CC [M] /home/adam/rtlwifi_new/base.o
    In file included from /home/adam/rtlwifi_new/base.c:26:0:
    /home/adam/rtlwifi_new/wifi.h:43:2: error: #error «This branch is abandoned. Please do not use »
    #error «This branch is abandoned. Please do not use »
    ^ ~~~~
    scripts / Makefile.build: 302: recipe for target '/home/adam/rtlwifi_new/base.o' failed
    make [2]: *** [/home/adam/rtlwifi_new/base.o] Error 1
    Makefile: 1546: recipe for target '_module_ / home / adam / rtlwifi_new' failed
    make [1]: *** [_module_ / home / adam / rtlwifi_new] Error 2
    make [1]: Leaving directory '/usr/src/linux-headers-4.13.0-16-generic'
    Makefile: 57: recipe for target 'all' failed
    make: *** [all] Error 2
    adam @ adm-HP: ~ / rtlwifi_new $

    Ubuntu 17.10 Thank you very much

  4.   Israel Borges said

    Hello, I was with that problem in Debian, the solution in this post did not work for me, but this one does: https://github.com/roopansh/rtl8723be_wifi

  5.   louis galicia said

    good post I had the same problem a very poor Wi-Fi signal and it was solved with the following post: https://askubuntu.com/questions/914048/realtek-rtl8723be-weak-wifi-signal-and-disconnects/914056

    1.    David yeshael said

      Good, I am pleased to know that it has worked for you.

      In my case I have chosen to change the hardware since the power and speed did not convince me anyway.

  6.   darwindg said

    sudo modprobe -r rtl8723be && sleep 15 && sudo modprobe rtl8723be ant_sel = 2

    this is the command ,, I went from 23 to 89 of power of the rtl8723be .. that serves them ..

  7.   oscar said

    this is the result, I can't install the drivers, because it asks for my password
    henry @ henry-HP-Notebook: ~ $ git clone https://github.com/lwfinger/rtlwifi_new.git
    fatal: destination path 'rtlwifi_new' already exists and is not an empty directory.
    henry @ henry-HP-Notebook: ~ $ git clone https://github.com/lwfinger/rtlwifi_new.git .
    fatal: destination path '.' already exists and is not an empty directory.
    henry @ henry-HP-Notebook: ~ $ git clone https://github.com/lwfinger/rtlwifi_new.git.
    Clone to "rtlwifi_new.git." ...
    Username for 'https://github.com':
    Password for 'https://github.com':
    remote: Repository not found.
    fatal: Authentication failed for 'https://github.com/lwfinger/rtlwifi_new.git./'
    henry @ henry-HP-Notebook: ~ $