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.

Updated for Ubuntu 21.10

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.


Type the below command in the terminal and hit enter.


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


For Ubuntu 20.10 (kernel 5.8) and below:

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

Download Driver:

Download driver from this link Direct driver Download link  to desktop and unzip it to the desktop and follow all steps.

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

Here “rtlwifi_new-master” is extracted zip file folder name.

Then run this command.



Type and enter

sudo make install

Type your ubuntu password.

Now run

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


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


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


Just wait for 5 minutes and then restart your system.  just Wait some time the signal will comes or just restart one more time . Now you will get strong wifi signal.

For Ubuntu 21.04 (kernel 5.11) and above:

For Ubuntu 21.04 and above users you don’t need to download the above Drivers and compile. By default Kernel 5.11 above comes with RTL8723BE wifi drivers. So just skip the above driver download, compile and install steps.  After the iwconfig command just follow below commands and steps one by one.

sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=2
sudo ip link set wlp13s0 up
sudo iw dev wlp13s0 scan
echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/50-rtl8723be.conf

Just wait for 5 minutes and then restart your system.  just Wait some time the signal will comes or just restart one more time .

Also Read:  Subsurface Open Source Diving Logbook Application


Note No 1:  If you still not get the strong wifi signal with your antenna 2, then  just replace antenna 2 with antenna 1 and try all steps. For that in command “sudo modprobe -v rtl8723be ant_sel=2” replace sel=2 with sel=1 like below.

sudo modprobe -v rtl8723be ant_sel=1

In command “echo “options rtl8723be ant_sel=2” | sudo tee /etc/modprobe.d/50-rtl8723be.conf” replace sel=2 with sel=1 like below

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

And restart your system 2 times.

Note No 2: After your OS (Kernel) update, you need to apply these settings again to get strong signal. (Delete old extracted folder from desktop and Download new driver zip file and apply all the above steps)

Note No 3: Tested with Ubuntu 20.10 and Kernel 5.8 with our Downloaded drives.

Note No 4: Tested with Ubuntu 21.04 and Kernel 5.11 with build-in OS drives. (You don’t need to download and install wifi drivers from our site. Just skip the driver download, make and install steps and follow all other steps.). If antenna 2 not work then try with antenna 1. It will work.

Note No 5: It also work with older versions of Ubuntu and other Ubuntu Debian based Linux Distro.



If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on Twitter and Facebook.

You may also like...

219 Responses

  1. bloomtmrw says:

    Thank u sm, it worked!!

  2. Himanshu Arora says:

    Hi, these steps are not working on my laptop, i have an ubuntu 20.04 installed, i had also faced this problem few months ago but then it works but now its not working. could you suggest something else??

    • Manikandan says:

      delete old downloaded and extracted driver files and download a new copy and try again. if still not work then reply with error message and your kernel version.

      • Himanshu Arora says:

        Hi Mani,
        I have completed all steps and steps are working fine, but i couldn’t get strong signal.
        My kernel version is 5.4.0-65 generic,
        Do you have any solution for this?
        Please suggest me its very important for me.


      • Himanshu Arora says:

        Hi, now i have updated my kernel version to 5.14.0-….- generic, but still not getting strong signal after completing steps.

        • Manikandan says:

          Afrer this command sudo modprobe -rv rtl8723be
          try this
          sudo modprobe -v rtl8723be ant_sel=1
          Just replace ant_sel=2 with ant_sel=1
          and also in echo “options rtl8723be ant_sel=2” | sudo tee /etc/modprobe.d/50-rtl8723be.conf
          replace antenna with 1 like this
          echo “options rtl8723be ant_sel=1” | sudo tee /etc/modprobe.d/50-rtl8723be.conf
          and finish all steps and restart your system 2 times.

          If still not working just install/overwrite with fresh kernel again or update ur kernel. (This is important)
          Also update ur os to latest.
          After that follow “For Ubuntu 21.04 (kernel 5.11) and above:” steps.
          Don’t download install driver from here.(important)
          Without installing the driver try with antenna 2 and antenna 1. It will work.

  3. Syilla says:

    This fixed my issue, been looking for this for months.

  4. Macky says:

    It works perfectly fine! I was searching a lot for the solution and I finally find it! Thank you so much!!!

  5. vinay says:

    When i type iwconfig in terminal it shows “no wireless extensions” pls help

  6. Mridul says:

    Thanks a lot. Worked perfectly on Ubuntu 20.04

  7. Mridul Atul Gupta says:

    This works for me! Thanks
    PS : Had to disable Secure Boot from BIOS setup for some reason. Gave me “Key Unavailable Error” otherwise.

  8. Goirik Dhar says:

    Thank you sir. it helped me a lot.

  9. gustavo says:

    does it work with RTL8111/8168/8411 ? Thank you.

  10. N VIGNESH says:

    thank u so much bro its really amazing

  11. KARM says:

    I’m using ubuntu 19.10, and the it does not let me do this step
    `sudo modprobe rtl8723be ant_sel=2`
    It says
    modprobe: ERROR: could not insert ‘rtl8723be’: Operation not permitted

    Can you help me? What should I do?

  12. Vinit says:

    I have rtl8723de , followed the instructions in the master branch. Signal was -81 dbm earlier, after doing the steps now I have -42dbm and speed has increased 3x !!

  13. Mauro says:

    I have elementary os juno and the Syntax “CD Desktop” does not work. The terminal tells me File or Directory does not exist.
    what should i write instead of CD Desktop?

  14. Jesse says:

    Finally got WIFI working. Works just fine with rtl8723de. No need to go back to windows now 😉

  15. Thank you so much. It’s working for me on my ubuntu 16.04

  16. Gonzalo says:


  17. Philip Hall says:

    Make sure to download and install the latest driver for the network adapter and check the antenna placements of the router.

  18. bhargav says:

    Thank you so much. I’ve been loosing so much of time coz of this problem and now I don’t how can I thank you for this. Thank you thank you thank you soo much sir.

  19. Soham D says:

    Thank you so much! This worked for my hardware running Ubuntu 18.04 LTS. I had accidently installed wrong drivers coz of which my wifi signal reception dropped significantly. I got it back to normal by following above steps. Thanks a lot.

  20. K Ramgopal Varma says:

    Thank you very much. I owe you big,

  21. Jatesh says:

    i cant find my wl number it shows en,lo and enxxxxx some numbers

  22. Nitkarsh Gupta says:

    Thanks a lot buddy. You are great. I was trying to resolve this from last 2-3 months but didn’t find any solution. Finally it worked.

  23. Shiny gUPTA says:


  24. Pradeep Kumar Patra says:

    sir, i read this article how to solve weak wifi signal in ubuntu linux and i applied this setting in my system in which am i using linux mint (hp laptop). as a result i got success, this is just unbelievable and superb. thank you so much to get rid of this critical issue. i heartly thnks u. pls keep it up.

  25. Nobody says:

    I followed all steps, did not get any error in the meantime but my signal is still weak.
    It is very annoying.
    What should I do? Find another Linux? or wait for kernel updates to solve the issue? I am desperate I have tried like 6 advises from various sites.

  26. Nikhil says:

    I ran all the commands. Signal strength improved drastically. After 15 days or so, it dropped automatically. I re ran the commands, but the signal strength is not improving this time.

  27. Pao says:


  28. Fabio says:

    Thanks man, This is the only solution that really works!!!! Thanks thanks thanks!!!!

  29. Scott says:

    I’ve previously used this solution on Ubuntu 16.04 LTS, but after the OS 18.04 upgrade, it’s no longer working.
    I’ve downloaded the new driver .zip files as instructed, but when I enter the ‘make’ command I get an error: make[1]: *** /lib/modules/4.4.0-137-generic/build: No such file or directory.
    Can anyone advise?

  30. Kishan says:

    After installing this, I am getting signal strength of -70 dBm. Is it good or average?

  31. Satish says:

    Amazing fix. thanks a lot. I was struggling with this for long and even after going through multiple forums, nothing worked. Finally, this solution worked and I am getting around 86% signal strength. Thanks a lot.

  32. Allan says:

    Great help, man. Working for 18.04 on a HP Notebook laptop. Thanks

  33. sreekanth says:

    Thanks a lot …
    Its working for me

  34. Patricio says:

    Thank u so much!! I was looking for all the web, for 3 days until now! You are a god to me! Lol

  35. Seenivasan says:

    Superb, can you do this in Phoenix OS?

  36. Rahul says:

    Thank you very much man

  37. Ravneet Punia says:

    What do you mean by “Note No 1: After your OS (Kernel) update, you need to apply these settings again to get strong signal.”
    In my laptop, It worked fine, but once I restart all changes gone. Looks like these changes are not parmanent. Plz help!!!!!

  38. Anoop says:

    Thanks worked for me 🙂

  39. Dhinesh says:

    Thanks anna.. it is working perfectly…

  40. Michael says:

    THANKS U!!

  41. HypnoMama says:

    Thank you so much!!! This finally worked and I have spent hours trying all sorts of things. I have a question for you: I have linux dual booted alongside windows 10. If I am booted in linux when I close the computer or it goes to sleep and I start it back up it will be in airplane mode. I have to completely shut down/restart everytime or the wifi is hard-blocked. rfkill unblock all does not work. Not the end of the world but super annoying to constantly shut down restart. Any tips? I’ve tried a bunch of things and nothing works but you’re the only one who has posted something to solve the router issue so maybe you’d know what to do?

    Thanks so much! Have an awesome day!

  42. Joe says:

    Same issue as Jugnu – command ‘make’ not found. Please help!!!

  43. JUGNU KUMAR says:

    I have installed dual boot in my machine and i am using ubuntu 18.04 LTE alogside with windows 10. Signal is coming is very weak in ubuntu i have tried these commands but ‘make’ isn’t working i have installed the make as well but it is showing some kind of error please help me.

    • Manish says:

      I’m having the same problem with 18.04. Can someone please help?????

    • manish says:

      I’m having this same problem. i installed make but still its showing error. secure boot is also disabled. i don’t understand what’s wrong? is there anyway to fix this??

    • Felipe SC says:

      did you solve the problem?
      I followed all the steps and it works for me. Send an email and I can help you with that.

      Pura vida.


    • Ranjan M N says:

      sudo apt-get install linux-headers-generic build-essential git
      git clone
      cd rtlwifi_new
      sudo make install

      use these commands and follow rest as in the tutorials.
      continue from “sudo modprobe -rv rtl8723be” as it is in this page.

  44. Gregory Horwitz says:

    Thank you so much! I’m baffled as to why this has to be done manually. Admittedly, I’m a genuine greenhorn when it comes to linux, but it would seem that they could automatically update drivers – especially when this wifi issue is so prevalent.

    Either way, thank you very, very much.


  45. Me says:

    How to do it for parrotlinux

  46. kiran says:

    Thanks bro for the solution it worked well. But my Wifi it works only if i disable the secure boot, if i enable the secure boot the wifi itself was not detected. Please let me know how can this be fixed. My laptop HP Pavilion 15-au063nr

    • foxtreat says:

      i have the same laptop as you,just keep secure boot off,because microsoft is not a nice guy with linux secure boot causes alot of problems for linux most times,just keep it off

  47. marath says:

    Works fine but it go back after restart. the echo “options rtl8723be ant_sel=2” | sudo tee /etc/modprobe.d/50-rtl8723be.conf creates the .conf file and it stays there. but wifi weak. I’? a complete noob in linux. then just do sudo modprobe -rv rtl8723be and sudo modprobe -v rtl8723be ant_sel=2 and it is good again. OS is updated. Problem can be solved with a executable file on start but I would like to do this in a clean way.

  48. Rohit says:

    It works for me. I am using hp 15 laptop with ubuntu 16.04.
    Thank you 🙂

  49. Naseem Akhtar says:

    Thnkas Bro alot of thanks

  50. Josephs says:

    IT WORKS!!!
    You are the bomb

  51. Harsh says:

    “sudo iw dev wlo1 scan”
    when i type this command There is no details like in given screenshot and yes, my wifi is still not working..No Network!!!!

  52. Randheer says:

    Hi @manikandan, it worked but after restarting the pc, I again get weak signal.

  53. Abhishik says:

    after restart the system same issue will facing

  54. Ritam Mallick says:

    Hi, thanks a lot for providing this solution.

  55. Randheer kumar says:

    Thanks a lot. It is really helpful,it works

  56. Shreyas says:

    Thank you very much! It worked like a charm.
    I would love to know about the internal details of how your API really works.
    Is there anyway i could get to read the overview of it’s functioning?

  57. xiaohan says:

    I get this:
    make -C /lib/modules/4.10.0-32-generic/build M=/home/xiaohan/rtlwifi_new-rock.new_btcoex modules
    make[1]: Entering directory ‘/usr/src/linux-headers-4.10.0-32-generic’
    CC [M] /home/xiaohan/rtlwifi_new-rock.new_btcoex/base.o
    In file included from /home/xiaohan/rtlwifi_new-rock.new_btcoex/base.c:26:0:
    /home/xiaohan/rtlwifi_new-rock.new_btcoex/wifi.h:43:2: error: #error “This branch is abandoned. Please do not use”
    #error “This branch is abandoned. Please do not use”
    scripts/ recipe for target ‘/home/xiaohan/rtlwifi_new-rock.new_btcoex/base.o’ failed
    make[2]: *** [/home/xiaohan/rtlwifi_new-rock.new_btcoex/base.o] Error 1
    Makefile:1524: recipe for target ‘_module_/home/xiaohan/rtlwifi_new-rock.new_btcoex’ failed
    make[1]: *** [_module_/home/xiaohan/rtlwifi_new-rock.new_btcoex] Error 2
    make[1]: Leaving directory ‘/usr/src/linux-headers-4.10.0-32-generic’
    Makefile:57: recipe for target ‘all’ failed
    make: *** [all] Error 2

  58. z says:

    thank you very much …. your post really helped me. I had this problem for so long and tried several solution and even installed two firmware but non of them wasn’t successful . thank you

  59. Pinaki says:

    I tried this command
    sudo modeprobe -v rtl8723be ant_sel=2
    But its showing
    sudo: modprobe: command not found
    What to do in this case ???? please help

  60. El Che says:

    WOR!!! 2 days traying other options, this is the better.
    My wifi is working with ubuntu 17.10…
    Thank you!

  61. Jaloliddin says:

    Great!! thank a lot! you made my day!

  62. Anand says:

    Thank you bro!! You are a life saver.!!
    tell me a way to make a donation.! if some day i have money i’ll definitely donate 😛

  63. Midhun Dev John Thattil says:

    Thanks bro thanks a lot …. I have been searching like hell to find a solution for that… 100% success….

  64. omkar gaonkar says:

    Thank you so much … Its work for me

  65. Arpit Batra says:

    insmod /lib/modules/4.10.0-38-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
    modprobe: ERROR: could not insert ‘rtl8723be’: Exec format error
    getting this reply after entering the command
    sudo modprobe -v rtl8723be ant_sel=2
    This problem emerged after I updated the system and tried to fix this problem

    • Manikandan says:

      First disable the secure boot from your BIOS setting. And download the new drivers from the download link and try.

      • Qirxx says:

        I get the same mistake.
        However, when I disable Secure Boot, The only thing I see on boot is black screen. With Legacy boot turned on, it says “no boot devices found”. Is there a way to solve this?

        • Dhawal says:

          Make sure you have this rtl8723be drive only for your network. There are steps shown on the github master page you can check out.

  66. Isra says:

    Any one has facing that on Windows reach 150 Mbps and on Linux just 72 Mbps?
    By the way, I’ve used current driver that is cimming on Ubuntu 17.10. Just have set the ant_sel=2.

  67. Ravi says:

    Thanks it works perfectly in Ubuntu 17.10. Thank you

  68. Salik Ullah says:

    Sir i have rtl8105e in my laptop how can i install? plz help….

  69. Perseus Kane says:

    When I try to run the make command, I get this
    make -C /lib/modules/4.13.0-16-lowlatency/build M=/home/d***/Desktop/rtlwifi_new-master modules
    make[1]: Entering directory ‘/usr/src/linux-headers-4.13.0-16-lowlatency’
    arch/x86/Makefile:153: CONFIG_X86_X32 enabled but no binutils support
    ./scripts/ line 25: gcc: command not found
    ./scripts/ line 26: gcc: command not found
    make[1]: gcc: Command not found
    make[1]: gcc: Command not found
    make[1]: gcc: Command not found
    make[1]: gcc: Command not found
    make[1]: gcc: Command not found
    CC [M] /home/d***/Desktop/rtlwifi_new-master/base.o
    /bin/sh: 1: gcc: not found
    scripts/ recipe for target ‘/home/d***/Desktop/rtlwifi_new-master/base.o’ failed
    make[2]: *** [/home/d***/Desktop/rtlwifi_new-master/base.o] Error 127
    Makefile:1546: recipe for target ‘_module_/home/d***/Desktop/rtlwifi_new-master’ failed
    make[1]: *** [_module_/home/d***/Desktop/rtlwifi_new-master] Error 2
    make[1]: Leaving directory ‘/usr/src/linux-headers-4.13.0-16-lowlatency’
    Makefile:58: recipe for target ‘all’ failed
    make: *** [all] Error 2

    Please help me out

  70. phigirl says:

    HI! i have problems with this part
    “sudo modprobe -v rtl8723be ant_sel=2” after i enter this code, it’s shows me
    “insmod /lib/modules/4.10.0-38-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
    modprobe: ERROR: could not insert ‘rtl8723be’: Required key not available”
    i don’t know what shlould i do now, because I
    have no wifi connection right now

  71. Pamela says:

    Hi! I tried this yeeterday and I make a mistake on my wlp.. Number, after that I cudnt conect on wifi so I installed again ubuntu but 15.04 and it worked perfectly except that I couldn’t upgraded it and again I installed Ubuntu 16.04, from this part was all perfect until i tried the code again and i hane no wifi conncetion and when i tried to reboot the Ubuntu shows me a black board with errors

  72. Rida says:

    Hi I tried this in the command line but the code returned error when I typed in sudo modprobe -v rtl8723be ant_sel=2. The system responded with a message saying that I do not have key or something like that and after that I lost the wireless option from my computer completely. I went from having wifi with poor signal to nothing at all and there’s no way that I can revert the changes. the rfkill list does not show the wireless option, only the bluetooth. Can you help me in any way?

    • Manikandan says:

      If you get any error like ” modprobe: ERROR: could not insert ‘rtl8723be’: Required key not available”
      Then Disable the secure boot from your BIOS setting. And try again.


    thanks yar. U saved me. No word to appreciate. You are just amazing

  74. Arpit Joshi says:

    Will this also work on ubuntu 17.10??

  75. Gineet Mehta says:

    Thank you so damn much! Worked like a charm, signal strength’s up to 100% next to router (from 50%).
    Will edit and update comment after I check going here and there a little.

  76. Hazael says:

    Worked perfectly! thank you very much!

  77. Eric says:

    Hello everyone. I’m having a problem with this. When I try to open a virtual terminal, it prints this message: “[ XXXX.XXXXXX] rtlwifi: IEEE80211_AMPDU_ERR!!!!:” where are number, differents each time. What could I do? It’s something recurrent, doesn’t stop, and does’not let me work on the virtual machines.

  78. Rahul says:

    Hi Manikandan,

    All the above steps were successfully executed except the last one for saving changes didn’t asked for my password..kindly help

    • Manikandan says:

      Just restart your pc and check your wifi signal. If strong leave it. Note: And After your OS (Kernel) update, you need to apply these settings again to get strong signal.

  79. Jithin C Chacko says:

    Its worked for me

  80. Sushrut says:

    It worked for me 🙂 Thank you

  81. Sekhar says:

    Thanks Mani, i am facing new issue after installing in Ubuntu 16.04, the wi-fi suddenly stops and will not search/connect to any available SSID. i have to redo the process of installation of the steps mentioned by you and after two days same issue, this is happening with HP 245 G5 model laptop.

  82. mudit awasthi says:

    Thankyou so much 🙂

  83. Sarthak says:

    After entering sudo modprobe -rv rt18723be=> It shows
    modprobe: FATAL: Module rt18723be not found in directory /lib/modules/4.4.0-83-generic

    • Manikandan says:

      Please first read the comments also.
      it’s not rt18723be. It is rtl8723be. Its l (L) and not 1 (one).

      If you are still facing this issue, try sudo depmod -ae and then try again to sudo modprobe -rv rtl8723be

  84. Sushil says:

    Problem in last command:
    /Desktop/rtlwifi_new-master $ sudo iw dev wlp9s0f0 scan
    command failed: Network is down (-100)

  85. Harsh Makwana says:

    Wow! Great. It Works. Thanks for this kind of stuff.

  86. Piera Andrea Soto King says:

    thanks, the wifi it works on my laptop very well now!
    but I had a problem after this installation, my laptop started to discharge and the time that I can work with the battery is short compared with the time before that I installed it.

  87. Mahesh says:

    Thank u so much…..
    keep going.

  88. Girish says:

    it’s working amazing, wifi signal was very poor even i am siting around router, but after followed steps wifi signal is showing 100% in 8-10 feet radius.
    thank you for great article and open source.

    We have install ubuntu 16.04LTS in whole company system and notebooks, wifi poor signal was much disturbing, we have web&mobile development company, the problem was sucks, but everything is working well after followed above instructions

  89. Urvil says:

    it’s working
    thank you so much…

  90. Andy Hibbins says:

    Thanks very much for the solution. I have been trying to find a solution all day since installing Linux Mint on my HP Laptop.
    Wifi strength was around 45%, now it is over 80%. The laptop is in the exact same position a few metres away from the router.

  91. Ritesh Ghorse says:

    Thanks a lot, man. I was searching for a blog like this from a long time. Really Helpful.

  92. Tejas says:

    Bro this worked like a charm. Thank you so much!

  93. Moonen says:

    Hi, thanks a man. All steps worked great, except for the last one. I couldn’t save the settings, the terminal didn’t even ask for my password. Any advice?

  94. Stijn says:

    Hi,Thanks a lot. This works great.
    I went true all the steps and each worked perfectly, except for the last one. The settings are not saved, neither does the terminal ask for my password. Any advice?

  95. Promethevs says:

    hello great job but for me there is a problem. After the sudo ip link set wlp…… up it gives me “RTNETLINK answers: Input/ouput error”
    …any idea what this is for?

  96. Anuj G. Patil says:

    Great!!!!!!!!! Thank you so much Manikbhai!!!

  97. Sushil says:

    Thank you very much it solve my wifi problem.
    I’ve been searching for so long finally i got it from here.
    Thank you

  98. Athul Satheesh says:

    when i typed make and pressed enter this happened :
    make -C /lib/modules/4.10.0-22-generic/build M=/home/athul/Desktop/rtlwifi_new-master modules
    make[1]: *** /lib/modules/4.10.0-22-generic/build: No such file or directory. Stop.
    Makefile:58: recipe for target ‘all’ failed
    make: *** [all] Error 2

    its not working for me

  99. ahmed says:

    Thank you so much worked as a charm

  100. Tina says:

    Hi, when I give the command “sudo ip link set wlp13s0 up1”, it says ‘Cannot find device “wlp13s0” ‘. Can you please help?

  101. Tom says:

    Thanks a ton Mani !!!

  102. shubham juneja says:

    Thanks a ton. After wasting complete day, finally I found a solution

  103. Manu says:

    It says that that the key is not available. Error : Could not insert ‘rtl8723be’ required key not available

  104. Mahamat Ali Youssouf says:

    Thank’s a lot, I’ve been waiting for this long time. Thank’s man you save me.

  105. master says:

    will it work on ubuntu 17.04

  106. master says:

    will it also works with ubuntu 17.04.
    or the issue is fixed on it.

  107. 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 🙂

  108. Nicolás says:

    3 Days looking for a solution, many thanks!

  109. 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.

  110. Josh says:

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

  111. 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.

  112. Sugato says:

    thank you very much …it is working really good

  113. 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……

  114. Benoit says:

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

    [email protected]:~/Bureau/rtlwifi_new-rock.new_btcoex$ sudo modprobe -rv rtl8723be
    [email protected]:~/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!!!!!!!

  115. 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

  116. nikhil says:

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

  117. 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?

  118. Anupam Wadhwa says:

    Salute you man…

  119. Nabeel says:

    I love you, it worked.

  120. Noor Jaber says:

    Thank you, it is working perfectly.

  121. Paul says:

    How do I do the same for OpenSUSE Leap 42.1?

  122. 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

  123. AleoOte says:

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

  124. Gambit says:

    God bless you.
    you saved my life.

  125. 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! 🙂

  126. Enyi-Christopher Joshua says:

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

  127. Mehul says:

    Thank you so much bro. Life saver seriously

  128. Kikerinkata says:

    Thank you

  129. 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

  130. 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??

  131. jua ma says:

    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

  132. LS says:

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

  133. Mark says:

    When I type in:

    sudo modprobe -rv rt18723be

    I get the following error:

    modprobe: FATAL: Module rt18723be not found.

    Any advice?

  134. Manish says:

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

  135. 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

  136. don dougall says:

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

  137. 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.

  138. rishabh says:

    hatsoff dude worked like a charm

  139. boopathi says:

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

  140. Allan says:

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

  141. NOman Ansari says:

    thanks alot, it worked for me perfectly.

  142. Anvita says:

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

  143. Sudu says:

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

  144. Robert says:

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

  145. 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’

  146. 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!

  147. 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

  148. ladeb says:

    thanx man

  149. Thangasivam says:

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

  150. 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 🙂

  151. Mohit says:

    You ARE AWESOME!!!!!!!

  152. 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.

    • Swarnendu says:

      Having the same issue..did you find a solution ??

    • Nicolás says:

      As he said in the article: “After your OS (Kernel) update, you need to apply these settings again to get strong signal”

      Hope this gets fixed on future kernel updates :S

Leave a Reply

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