How to solve Realtek RTL8723BE weak wifi signal problem in ubuntu

Realtek RTL8723BE is wireless network adapter. It will work well with windows but it will cause weak wifi signal problem in ubuntu based linux distributions. And the wifi is only works when you sit next to your modem. Realtek RTL8723BE wireless network adapter has problems in managing the antenna on Linux. This will lead the weak wifi signal problem.

Solution for Realtek RTL8723BE weak wifi signal in ubuntu:

Open your terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal.

terminal

Type the below command in the terminal and hit enter.

iwconfig

Note down the wlp number. Here (in my case) its wlp13s0

1

Go to the below link and download the new driver zip file to desktop and unzip it to the desktop.
Download

download driver

In the terminal windows type the below code and press enter.

cd Desktop

Then type the below code and press enter.

cd rtlwifi_new-rock.new_btcoex

then type below command and enter.

make

2

Type and enter

sudo make install

Type your ubuntu password.

then type below command and enter.

sudo modprobe -rv rtl8723be

Then type below line of code in your terminal and press the enter button.

sudo modprobe -v rtl8723be ant_sel=2

3

then type and enter.

sudo ip link set wlp13s0 up

Then type below command in terminal and enter.It will scan all networks with signal strength.

sudo iw dev wlp13s0 scan

6

To make the settings permanent,type below command in terminal and press enter.

echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/50-rtl8723be.conf

7

source

Suggested Read:  How to install ClamAV (Clam Antivirus) on ubuntu

Note: After your OS (Kernel) update, you need to apply these settings again to get strong signal.

Note: If you getting any error in the installation process after your OS UPGRADE (that is from 16.04 to 16.10), please follow the below steps.

After finding the wlp number. Download the below driver.

Download this driver from master branch

Save the zip file in your desktop and unzip it.

Then in the terminal windows type the below code and press enter.

cd Desktop

Then type the below code and press enter.

cd rtlwifi_new-master

Then follow all the above steps, starting the below command.

make

 

You may also like...

67 Responses

  1. Muhammed Yasin Özsaraç says:

    It works perfectly ! Thank you very much. I am considering to return Windows 10 because of this problem because in Windows 10, no problem about Wi-Fi at all. Thanks to your help bye bye Windows 🙂

  2. Nicolás says:

    IT WORKS!!! FINALLY!!!
    3 Days looking for a solution, many thanks!

  3. Shankar K says:

    Fantastic Mani, worked like a charm (which is what if felt like when entering all those commands!), now the wifi is strong and picks up routers it did not earlier, my laptop is a HP 245 G5.

  4. Josh says:

    Thank you very much for your help, it fixed my problem!

  5. John S says:

    This absolutely fixed it on my HP Pavilion au62nr notebook with the rtl8723be. Before was getting very weak signal now its as good as it was in Windows 10.

  6. Sugato says:

    thank you very much …it is working really good

  7. Akash Sawant says:

    Thanks Manikandan , Bro you are super awesome i was trying multiple solution from last 2 days on my HP pavillion 15 , for Ubuntu 16.04 and RTL8723BE b/g/n but I was totally fed up. Afterthis I try your solution and its simple awesome its working fine……Ubuntu people sucks they need to take care about this bug……anyways Thanks man…..Lots of kisses from myside..lol……

  8. Benoit says:

    Hi I’m new on Ubuntu. I try to do as it showed, everything’s working perfectly till I get this:

    benoit@benoit-HP-Notebook:~/Bureau/rtlwifi_new-rock.new_btcoex$ sudo modprobe -rv rtl8723be
    benoit@benoit-HP-Notebook:~/Bureau/rtlwifi_new-rock.new_btcoex$ sudo modprobe -v rtl8723be ant_sel=2
    insmod /lib/modules/4.4.0-64-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
    modprobe: ERROR: could not insert ‘rtl8723be’: Required key not available

    Any idea about the modprobe error?
    Thanks by advance

    • Manikandan says:

      Disable the secure boot from your BIOS setting. And try

      • Benoit says:

        Thanks a lot Manikandan. It’s work perfectly. As I told you, I’m new on Linux system and now I can say it’s true that Linux Community can help you when you’ve got problem, and I’m really happy to say that ant not coming back to Apple or worst windows!!!!!!!

  9. Mike says:

    Be sure to disable secure boot while you do this or you may encounter errors, you can use: sudo mokutil –disable-validation then reboot to finish disabling the secure boot

  10. nikhil says:

    me getting
    error at time of install
    error- install: missing file operand
    what should i do

  11. James says:

    This was outdated info before it was posted. No need for the rock new btcoex branch since Larry merged that with master branch in March 2016. Any distro that uses kernel 4.4 and newer already has the antenna parameter

    • John S says:

      Maybe in master branch but I was running current kernel and it wasn’t fixed. This is the only thing that fixed it. Maybe certain PC’s have a issue that only this solves?

  12. Anupam Wadhwa says:

    Awesone….
    Salute you man…

  13. Nabeel says:

    I love you, it worked.

  14. Noor Jaber says:

    Thank you, it is working perfectly.

  15. Paul says:

    How do I do the same for OpenSUSE Leap 42.1?

  16. OB says:

    Thank you so much! I was seriously considering going back to windows since my wifi had a weak signal and kept disconnecting, but now its working as well as when I had windows installed. Works with antergos/arch also, just may need to download linux header files when using make command

  17. AleoOte says:

    You are the best!!!! Thanks a lot!!!

  18. Gambit says:

    God bless you.
    you saved my life.

  19. Kaushik L V says:

    Thank you so much!!!! I would have tried atleast 10 other solutions and spend hours and hours on this problem and finally your solution(and such a simple one) has solved it 🙂 🙂 Once again thanks a lot! 🙂

  20. Thanks Man… I have been trying to fix this for days now. Thanks a lot

  21. Mehul says:

    Thank you so much bro. Life saver seriously

  22. Kikerinkata says:

    Thank you

  23. kyle says:

    I have a RTL8101E network adapter on my new HP. Not seeing any files for this make, I went for it to see if the RTL8723be would work. After making it past the two “sudo modprobe” commands, I found that my network connection was terminated, and iwconfig listed no “wlo1” as it did before. Learning my lesson, how can I revert, or undo these changes? Thank you

  24. Archie says:

    This was a life saver.
    Thank you so much for sharing it.
    I wonder why they havent included it by default in the distro.
    Anyways, it works fine now just wanted to know if I can delete the folder from desktop?

    Can I now remove the folder from the desktop??

  25. jua ma says:

    Hello
    Thanks a lot for your help
    Now, could you help me with the Realtek Realtek RTL2832P chip, that is inside a Astrometa DVB-T/T2 tuner? Some drivers are available online and it appears installed in Ubuntu but the device never works. (It is 0k because it works under windows).

    Thank you

  26. LS says:

    thanks… I have to change some things, but it works… 🙂

  27. Mark says:

    When I type in:

    sudo modprobe -rv rt18723be

    I get the following error:

    modprobe: FATAL: Module rt18723be not found.

    Any advice?

  28. Manish says:

    hi. could you please tell me how to install this drive on kde neon? please

  29. sanjeev says:

    I just got a new HP laptop with free dos OS, I had installed ubuntu 16.10, everything was fine but wifi had a weak signal problem. With your instructions, that problem solved too. thank you, you saved my time and effort. great job

  30. don dougall says:

    Update to previous post – the problem returned after a couple of reboots. Will look into kernel issues as mentioned to Ailien.

  31. don dougall says:

    Bless you my saviour. You have no idea how many days I spent trying to dual boot Mint 18 on an hp laptop when the wifi connection simply was erratic on MInt but fine on W10.

  32. rishabh says:

    hatsoff dude worked like a charm

  33. boopathi says:

    when i typed that cd rtlwifi… then enter it says no file or directory

  34. Allan says:

    Why has this driver not been rolled up into the distro?

  35. NOman Ansari says:

    thanks alot, it worked for me perfectly.

  36. Anvita says:

    Hey Manikandan! It worked perfectly for me. Thank you so much!
    I use Ubuntu 16.04 LTS on Lenovo Flex 2.

  37. Sudu says:

    That’s a really awesome fix..! Thanks a lot buddy..!!

  38. Robert says:

    Hello Manikandan, just wanted give you a big thank you for the instructions ! Everything works well now =)

  39. Life says:

    After trying this command,
    “sudo modprobe -rv rtl8723be”

    I get this..

    libkmod: ERROR ../libkmod/libkmod-config.c:635 kmod_config_parse: /etc/modprobe.d/rtlbetcoex.conf line 1: ignoring bad line starting with ‘options’

  40. Damien says:

    Thank you very much 🙂 recently set up a dual boot to do some work and really needed to be able to use this at school (which I couldn’t because of the very weak signal reception). This was a really really big help. I just applied this and will keep monitoring to see if it sticks but in either case: great and easy to follow guide!

  41. al says:

    Worked for me the firts time but after the reboot it stopped working… when i try tyo do it again it still dont work and my wifi conections aren’t working

  42. ladeb says:

    thanx man

  43. Thangasivam says:

    Nandri Manikandan. Helped a lot. Step by step procedure was awesome. A kubuntu user.

  44. AIlien says:

    When I type “make” in rtlwifi_new-rock.new_btcoex directory it returns the following error:

    error: initialization from incompatible pointer type [-Werror]
    .flush = rtl_op_flush,
    ^

    and then:
    error: (near initialization for ‘rtl_ops.flush’) [-Werror]

    So I can not continue with the whole process. My laptop is a HP 250 G4.

    Thanks anyway 🙂

  45. Mohit says:

    DUDE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    You ARE AWESOME!!!!!!!
    REALLY WORKED!!!!!!

  46. Vikas says:

    Thanks Manikandan, it really helped. But I faced prob;em again after the updates I had to repeat the above steps. Could you suggest a shortcut for that.

Leave a Reply

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

*