4

My wifi connection doesnt work properly; it stays connected only for around 5 minutes after I turn on the PC. I'm using Ubuntu 16.04.

I've tried

sudo service network-manager restart

which makes no difference

Same with

killall nm-applet && nm-applet &

After that I tried

sudo gedit /etc/pm/config.d/config

where I insert this string

SUSPEND_MODULES = "drivername logicalchipname"

But since I don't have permission to modify that file I tried to use chmod on it, which led to A problem that was solved but left me still in the same situation.

$ lspci -knn | grep Net -A3; rfkill list
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: XAVi Technologies Corp. RTL8821AE 802.11ac PCIe Wireless Network Adapter [1b9a:2482]
 Kernel driver in use: rtl8821ae
 Kernel modules: rtl8821ae

0: hci0: Bluetooth  Soft blocked: yes   Hard blocked: no
1: phy0: Wireless LAN   Soft blocked: no    Hard blocked: no

What do you suggest I do?

Zanna
  • 70,465
Zeno Raiser
  • 485
  • 1
  • 6
  • 18

1 Answers1

3

if wifi quits working again execute the commands given again (you must do this everytime there is a kernel update)

Thanks to @Rinzwind I've found a way to solve the problem, just follow this guide:

  1. Download rtlwifi_new from here on GitHub and extract it to Desktop (or to your desired folder).

  2. Open Terminal and change your directory to the folder where you extracted rtlwifi_new zip file (here , Desktop/rtlwifi_new-master) by using the cd command, eg

    cd Desktop/rtlwifi_new-master 
    
  3. Now, run these commands in Terminal:

    make clean 
    make 
    sudo make install  
    
  4. If everything is alright, you will see the message Install rtlwifi SUCCESS. It means that rtlwifi has beeen installed successfully.

  5. Now, run this command:

    sudo modprobe rtl8723be 
    
  6. Amd run this command:

    echo “options rtl8723be ant_sel=2” | sudo tee /etc/modprobe.d/rtl8723be.conf
    

Then reboot and choose your wifi network to connect.

Zeno Raiser
  • 485
  • 1
  • 6
  • 18