Dec 11, 2019

[SOLVED] CENTOS 7.X / RHEL 7.X WIFI NOT CONNECTED

In my case, WiFi was detected but the signal was too weak. When I tried to connect, error message 'Could not activate connection: Activation failed' appeared.

Finally, I figured out the root cause - it was Realtek RTL8723BE driver. 

These steps below solved the issue in both CentOS 7.x and RHEL 7.x:

1. Download Realtek RTL8723BE PCI-E Wireless driver here
2. Extract the file
3. Right click on folder 'rtlwifi_new-rock.new_btcoex'
4. Click 'Open in Terminal'
5. Type these commands:
  • make
  • sudo make install
  • echo "options rtl8723be ant_sel=1" | sudo tee -a /etc/modprobe.d/rtl8723be.conf or echo "options rtl8723be ant_sel=2" | sudo tee -a /etc/modprobe.d/rtl8723be.conf
6. Restart

Notes: The ant_sel parameter enables one of the two antenna connectors of your RTL8723be adapter. Your laptop has only one antenna because the vendor is too greedy to install two. The Linux drivers can't detect which antenna connector is in use. So we have to guess it.
In Windows either the vendor sets it up somewhere on a pre-installed system, or the Windows proprietary drivers can detect it.
If ant_sel=1 does not help, use ant_sel=2This setting tells which antenna is in use 1 or 2.

No comments:

Post a Comment

WHAT COMES FROM THE HEART VS WHAT COMES FROM THE MIND

In the past, I often confuse, I can't distinguish the voice of my heart from the voice of my thoughts. Until I finally figured out how t...