priten
Posts: 11
Joined: Sun May 06, 2018 5:43 am

Compile Realtek Wireless Chipset Drivers

Tue May 08, 2018 12:34 am

I recently installed Solus (I love it btw!) and were struggling to get my WiFi to work. Due to missing drivers, the WiFi would only connect if I were sitting next to the router.

I had faced similar issue on my previous linux installation (Linux Mint), and I tried following the same steps as I did for Mint. It took me longer than expected time to compile the drivers and get it working.

Here's the complete instructions:

1. Check your chipset

Code: Select all

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b008 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 1a2c:0042 China Resource Semico Co., Ltd 
Bus 001 Device 002: ID 04f2:b56d Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


2. Check the Realtek chipset version

Code: Select all

$ lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
	Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
	Kernel driver in use: rtl8723be
You can also checkout this guide for the chipset mapping: https://sites.google.com/site/easylinux ... /reserve-7



3. Get the development tools for compilation

Code: Select all

sudo eopkg it -c system.devel
sudo eopkg it linux-current-headers
# OR, depending on your kernel
sudo eopkg it linux-lts-headers
sudo eopkg it libelf-devel git

4. Compile Realtek Wireless Drivers

Code: Select all

git clone https://github.com/lwfinger/rtlwifi_new
cd rtlwifi_new/
make
sudo make install
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=2
sudo ip link set wlo1 up
sudo iw dev wlo1 scan
sudo su
sudo echo "options rtl8723be ant_sel=2" > /etc/modprobe.d/50-rtl8723be.conf
exit


References:
https://sites.google.com/site/easylinux ... /reserve-7
https://github.com/lwfinger/rtlwifi_new
viewtopic.php
https://unix.stackexchange.com/question ... ve#tab-top


I hope this help anyone who is new to Linux and wants to have a smooth experience.

rtyb
Posts: 35
Joined: Thu Apr 26, 2018 7:37 am
Location: Central America

Re: Compile Realtek Wireless Chipset Drivers

Fri May 11, 2018 9:09 am

Thanks Priten, I'm sure this'll come useful.
Win10 64-bit
Solus 3 64-bit

alexvieira
Posts: 1
Joined: Wed Jul 04, 2018 5:21 pm

Re: Compile Realtek Wireless Chipset Drivers

Wed Jul 04, 2018 5:58 pm

Hi. How are you?

Your post helped me a lot. Thank you very much! :D
I got my wireless device working again, although I don't know or don't understand what I did. I don't have technical knowledge about Linux, I just like to use it and I'm loving Solus. :mrgreen:

Since last Solus updates my wireless device stoped working, and my computer started to freeze every time I connected the device. My chipset is a Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter.

Based on your post and https://linuxforums.org.uk/index.php?topic=11261.45 here what I did:

Code: Select all

git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu/
make
sudo make install
sudo modprobe -rv 8188eu
sudo modprobe -v 8188eu ant_sel=2
When I used "sudo make install" it gave me a error telling me that "/etc/modprobe.d/50-8188eu.conf" didn't exist, so I created "/etc/modprobe.d/" and "sudo make install" worked fine.

When I used "sudo ip link set wlo1 up" it gave me "Cannot find device "wlo1"", so I just jumped this and the next step. :mrgreen:

After that my computer froze again and I had to reset it. :(

After the reset, I connected my wireless device again and it is working fine, no freezes until now. :D

I don't know if what I did is right, if all these steps were necessary for my device, but it's working until now. Can anyone tell me if I did something wrong or useless? :mrgreen:

Thanks a lot!!!!

priten
Posts: 11
Joined: Sun May 06, 2018 5:43 am

Re: Compile Realtek Wireless Chipset Drivers

Fri Jul 13, 2018 12:27 am

Hi,

Sorry for the late reply. Are you still facing this issue?

Do you see any errors when you run the

Code: Select all

make
command?

alexvieira wrote:
Wed Jul 04, 2018 5:58 pm

Code: Select all

git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu/
make
sudo make install
sudo modprobe -rv 8188eu
sudo modprobe -v 8188eu ant_sel=2

Return to “Tutorials”