WiFi issue for rtl8723be Drivers

*** This method is only applicable to rtl8723be drivers and for Ubuntu users ***

Greeting Folks

Recently I was having an issue with my laptop which supports rtl8723be driver. It was not getting connected to WiFi network. Then I searched a lot and got a solution for it, although it is not permanent but still it will work for two lines of code πŸ™‚

For continuing this process you must do the following things :

First of all go to bios setup and then follow –

System configuration -> Boot option -> Secure boot -> Disable

Then you need to install rtlwifi-linux-firmware, open your terminal and follow these codes

$ sudo add-apt-repository ppa:hanipouspilot/rtlwifi
$ sudo apt-get update
$ sudo apt-get install rtlwifi-new-dkms linux-firmware

*set your country code( like for India – IN )

$ sudo iw reg set 'your country code'

Do restart your computer once the country code is set

$ sudo iw reg set IN

Now go to the given link and download or clone the zip file from Github. Also extract that file in your home terminal.

Follow these codes :

$ sudo apt-get install linux-headers-$(uname -r) gcc g++ build-essential dkms git 
 (try to install one by one)
$ sudo reboot
$ cd rtlwifi_new-rock.new_btcoex
$ make
$ sudo make install
$ sudo modprobe -rv rtl8723be

Now copy these following code in your terminal

$ sudo modprobe -v rtl8723be ant_sel=2
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be

Now your system will be okay with WiFi.

To make it permanent follow these codes :

$ echo "options rtl8723be ant_sel=2 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf

 

Hope it worked πŸ™‚

If any problem occurred then please do a comment.

 

 

 

 

Source : https://chirath02.wordpress.com/

” It’s all fun and games until you lose your WiFi signal “

Advertisements

17 Comments

    1. Hello akash, did you clone the ( rtlwifi_new-rock.new_btcoex ) zip file from github ?
      If no then clone or download it from github ( I have already linked it ) and then do the rest of the part.
      Thanks for asking your doubt.

      Like

      Reply

  1. Thank a ton!!
    I followed each step religiously and its now working flawlessly!!
    Earlier other WiFi were not detected now everything WiFi works just like Windows. Thanks again.

    1) I have issues with my ethernet driver as well (RTL8101/2/6E) if you can help me in that it will be great.

    2) Another one is USB tethering, when it is connected it shows connected but no Internet is available.
    Please do help if possible.
    Thanks again!!

    Like

    Reply

  2. Hi there I have the same issue and after executing this tutorial it was working after the first reboot. However the next day I had the same issue back (and I executed the line to make the changes permanent). Now I redo the tutorial but the problem persists, so I am not sure what else to do.

    Like

    Reply

    1. Hello Berto,
      If it worked for you for the first time then it means something is wrong with the change you made in /etc/modprobe.d/rtl8723be.conf
      Just go to that file and check whether this ( ” options rtl8723be ant_sel=2 fwlps=0 ” ) line is there or not. If not then follow this step -> $ echo “options rtl8723be ant_sel=2 fwlps=0” | sudo tee /etc/modprobe.d/rtl8723be.conf. Thanks for asking your doubt

      Like

      Reply

  3. Something did not work correctly. I believe ‘sudo iw reg set US’ change is not permanent for some reason. i.e. when I do a ‘sudo iw reg get’, the change is not there. I will look into this as a possible root cause and report back.

    Like

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s