Networking – Fix Network Issues on Ubuntu 16.04 with RTL8821AE

16.04internetnetwork-managernetworkingrealtek

I've recently purchased an Asus desktop computer and tried to install Ubuntu 16.04 on it. I had no problems to install or make a dualboot with Windows 10, but the real problems started to show up almost an hour after I've finished the system installation.

Basically, my wifi is periodically "freezing" (The wifi signal shows that everything is ok, but I do not have Internet connection), and I am forced to restart the network-manager. Even after restarting the manager, sometimes my wifi won't show up on the list of available networks or will not work at all. I don't have any of these problems on Windows 10, and also my Internet speed is much faster.

I've been trying to find the problem for almost one week, and here are some of the dozens of cases which seemed to be the closest to mine:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1482979
http://askubuntu.com/questions/730430/wifi-connection-keeps-dropping-in-ubuntu-15-10-rtl8821ae
https://ubuntuforums.org/showthread.php?t=2245164
http://askubuntu.com/questions/797213/wireless-disconnect-issues-ubuntu-16-04-with-rtl8821ae
http://askubuntu.com/questions/730430/wifi-connection-keeps-dropping-in-ubuntu-15-10-rtl8821ae

Even though I could find several people that had the same problem that I'm having, their solutions did not do me any good, and as a newbie ubuntu user, I'm not sure about how I should proceed in this situation.

My kernel information:

Linux asus-G20AJ 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

My wireless interface information:

*-network
   description: Wireless interface
   product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:03:00.0
   logical name: wlp3s0
   version: 00
   serial: dc:85:de:ef:89:7b
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=rtl8821ae driverversion=4.4.0-36-generic firmware=N/A ip=192.168.25.177 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
   resources: irq:29 ioport:d000(size=256) memory:f7100000-f7103fff

Can anyone help me to solve these issues?

Best Answer

I couldn't find exactly a solution for this problem, but if someone with the same issues comes to this post in the future, I'm adding here what worked for me.

I had to install Ubuntu 14.04 (which has these very same issues) and followed the instructions given by the user jackie in this question, only changing the driver name (from rtl8188ee to rtl8821ae).

My machine on Ubuntu now can use around 3/5 to 4/5 of the capacity of my internet and my network does not freeze anymore. Thats enough for me.