Daily Dairy

Install Realtek rtl8723be Wifi Drivers in Arch Linux.

First of all make sure that the necessary packages are installed.

 $ sudo pacman -S base-devel git linux-headers iw rfkill wireless_tools

Then, clone the lwfinger/rtlwifi_new repository and checkout the rock.new_btcoex branch.

$ git clone https://github.com/lwfinger/rtlwifi_new.git
$ cd rtlwifi_new
$ git checkout rock.new_btcoex

Now, build the drivers and install the modules.

$ make clean && make
$ sudo make install

If sudo make install succeeds, update your initramfs.

$ sudo mkinitcpio -p linux

Then, reboot your system to make sure you are running the new module.
After rebooting, you can now examine which antenna port is connected by loading the module with a specific antenna, scanning for networks and comparing the scan results.
Open vim /etc/modprobe.d/rtl8723be.conf. You will see like:

options rtl8723be fwlps=N ips=N swlps=N swenc=Y disable_watchdog=1 ant_sel=X

In my case, ant_sel=1 provided a lot more networks with much higher signal strength than ant_sel=2. Finally, you can append the correct ant_sel parameter in your /etc/modprobe.d/rtl8723be.conf, where X is your antenna number.
You can set it using commands:

$ sudo rmmod rtl8723be
$ sudo modprobe rtl8723be ant_sel=1
$ sudo iwlist wlan0 scan
$ sudo rmmod rtl8723be
$ sudo modprobe rtl8723be ant_sel=2
$ sudo iwlist wlan0 scan

I hope this helps!
Thanks. 🙂

Advertisements

3 thoughts on “Install Realtek rtl8723be Wifi Drivers in Arch Linux.”

  1. worked for me , but with no rtl8723be.conf i had to comment ## that line to be working, and also not working the “git checkout rock.new_btcoex” i had to delete the directory and restart the git download , than it worked,
    now I have Bluetooth working flawlessly
    WIFI was ok before but now is it even more stable!!
    many thanks for this post 🙂

    Like

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s