Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Rtl8821ae driver not working on ubuntu Yakkety Yak #183
Comments
|
I also need a good trouble report to be able to help. Are you using any options when the module is loaded? What kernel version? I do not keep track of the kernel used by any distro. I do need that information. How do you control the wifi? Many of the problems are due to buggy user-mode software. |
saptaru
commented
Dec 8, 2016
•
|
Hi,
Other details that might be important:
Thanks for all your support! |
saptaru
commented
Dec 10, 2016
|
An update: |
paulsinnett
commented
Mar 17, 2017
|
Seconded. I spent way too many hours trying to get this fixed assuming it was a driver problem. Installing wicd fixed the problem right away. |
mirh
commented
Apr 2, 2017
•
|
Quite likely this bug |
mirh
referenced this issue
Apr 2, 2017
Open
RTL 8821AE Ubuntu 16.04 kernel 4.6 (but others, too) frequent short connectivity loss #185
cryptid11
commented
Apr 2, 2017
|
wicd don't fix mine, can it be related to kernel version? It seems yes for ubuntu, not sure on debian, any report on this? https://ubuntuforums.org/showthread.php?t=2245164 |
paulsinnett
commented
Apr 2, 2017
|
It's true I made other changes suggested in the many branching threads on this topic as well. But installing wicd was the last thing that made the difference, it could be some combination. I have now a clean install of Mint with the standard driver and which again has the problem with Network Manager. It is more reliable with wicd, but does still drop on occasions. My guess is it's something to do with the way these managers scan or rescan for signals. It's definitely nothing to do with suspend as I'm not suspending and resuming before the connection drops. |
mirh
commented
Apr 3, 2017
Suspending is just one condition that very likely trigger the issue. Then if it's not nm, fine.. But everybody should have at least 1.4.4, if wicd seemingly makes a difference |
paulsinnett
commented
Apr 3, 2017
|
Okay, I'm not sure how to check the version of nm-applet but the version of network manager I have installed (I'm using Mint at the moment) is: In other news I now have, so far, a stable connection. The WiFi I am connecting to has 2 frequencies 2.4GHz and 5GHz. Each of these has a different BSSID. So by setting only one of the BSSID values in the settings, the connection now appears stable. The weird thing is it's actually (according to the router) connected to the other frequency than the one I specified. But whatever... |
paulsinnett
commented
Apr 3, 2017
•
|
I do have problems returning from suspend as reported in the bug above. |
mirh
commented
Apr 3, 2017
|
As I mentioned here not even latest yakkety has it, so definitively if you haven't compiled anything on your own, you haven't it. Then, I'm not doubting there couldn't be a problem with rtl too, but.. one at time I guess? |
paulsinnett
commented
Apr 3, 2017
|
I found this on the Mint site: https://community.linuxmint.com/software/view/network-manager It includes a comment which links to instructions for patching Network Manager 1.2.2 to prevent background scans when already connected. I've applied this to my install (which is actually 1.2.6) and it does appear to fix the suspend issue so perhaps this is an issue that 1.4.4 fixes too. (I couldn't test hibernate, because that just flat out fails to resume, but probably for reasons other than WiFi.) I suspect these same instructions will work for Ubuntu Yakkety Yak too. |
cryptid11
commented
Apr 3, 2017
•
|
big news, on debian jessie it works updating from kernel 3.16 to 3.18! (as reported here https://ubuntuforums.org/showthread.php?t=2357435) |
paulsinnett
commented
Apr 3, 2017
|
It seems that there are multiple problems and multiple solutions. But it's unclear where the errors are or if it's just incompatibility between versions. I have some time to help diagnose problems if anyone can suggest anything they want to try. My current setup is a Lenovo 310 ideapad with Cinnamon Mint 18.1. My current kernel version is 4.4. |
mirh
commented
Apr 3, 2017
•
|
Network manager version is separated than applet one. My recommendation would be to try latest version of it (or at least clone repo at least up to last stable 1.4.6 branch), plus why not use 4.11 (otherwise you are missing this whole page of improvements) |
paulsinnett
commented
Apr 3, 2017
|
Yes, it's an Ubuntu xenial one. The version of network manager is 1.2.6-0ubuntu0.16.04.1 but I've applied the patch above. I'm not sure how I would go about getting a newer version as 1.2.6 is the latest in the package manager. As you say, Yakkety Yak is the same, I'd have to go to Zesty Zapus to go up to 1.4.4. I could switch to LMDE which gives me the testing version of everything. I'm not sure which version that would give me - 1.6.2 I think. I have a recipe for a stable connection now though so I'm not worried about getting the latest and greatest of everything. Particularly if that introduces other instabilities. But, as I say, if you want help tracking down what this particular issue is, or where it is, I'm happy to help as far as I am able. |
mirh
commented
Apr 3, 2017
|
How hard these non-rolling are I really wouldn't know how ppa works, but if you want to just test the hypothesis, you could download this, |
paulsinnett
commented
Apr 4, 2017
|
I've tried a couple of things. First I tried switching to LMDE. Despite the warnings on the Mint site about how unstable this build would be, it turns out the current build LMDE 2 'Betsy' is actually the most conservative. Betsy is based on Debian Jesse which is currently using Network Manager version 0.9! On the plus side, it didn't seem to have as many networking issues, but on the minus side it was doing everything in software so it ran very slow and very hot. Next I returned to Yakkety Yak. I managed to install a more up to date Network Manager by grabbing the debs for libnm0 and network-manager from the Zesty branch. This seems to have the same problems regarding needing to be locked down to one of the 2.4 or 5GHz signals by BSSID. But it does at least address the suspend issue. |
|
I'm not sure what is meant by "needing to be locked down to one of the 2.4 or 5GHz signals by BSSID". If you are trying to run 2.4 and 5 GHz simultaneously with an RTL8821AE, that is impossible. If you mean something else, then please explain. |
mirh
commented
Apr 4, 2017
|
I'm not sure then which part of "even zesty has an older-than-we-are-interested version" wasn't clear. |
paulsinnett
commented
Apr 4, 2017
|
I'm not trying to run 2.4 and 5 GHz simultaneously. I'm trying to stop it flipping back and forth between those two. I'm now trying Manjaro. That's taken my kernel up to 4.9.20 and the behaviour is apparently the same. I'm not sure which version of Network Manager this is using though. I'll need to figure out how to use the tools to find out. |
paulsinnett
commented
Apr 4, 2017
|
Network manager 1.6.2-3 |
mirh
commented
May 13, 2017
|
They are offering 4.11 now. Could you try it? |
paulsinnett
commented
May 14, 2017
|
I think this is fixed. At least I was able to stream 2+ hours of video on wifi without any messages notifying that the network dropped. This is with a fresh Manjaro install and switched to the 4.11 kernel. |
mirh
commented
May 14, 2017
|
Cool! |
paulsinnett
commented
May 14, 2017
|
Sorry, spoke too soon. The problem eventually recurred and got stuck in a loop continuously connecting and re-connecting between the two different channels. Restricting it to one channel in the BSSID and rebooting cleared the issue. |
mirh
commented
May 15, 2017
|
Guess like dmesg might provide some clue now? |
galuel
commented
Jul 9, 2017
|
I have the same problem on an ASUS R510V, wifi disconnexions with rtl8821ae wifi card. I tried many other fixes that didn't work, and after installing WICD instead of network-manager it seems to work during much more time without interruptions. I'm on Ubuntu 17.04 and I have the 1.4.4 version of network-manager obtained with :
|
hyaochn
commented
Jul 20, 2017
Same problem. Wireless drops every 1-2 hours. Have to type
|
saptaru
commented
Oct 9, 2017
|
Hello, |
andymnc
commented
Oct 18, 2017
|
same here |
christianmtr
commented
Oct 20, 2017
•
|
I just comment in other issue that my connection works fine on Ubuntu Mate 16.04. |
scheblein
commented
Dec 11, 2017
|
Ubuntu 17.10 is now solid for the 8821. No more WICDfor me! |


saptaru commentedDec 7, 2016
Hi,
I have installed ubuntu 16.10 a week ago and since the fresh install the wifi connection was not working properly and now it is not working at all.
I am using lenovo Ideapad 700 with wireless card rtl8821ae msi.
After installation the connection was ok but sudenly and randomly the internet was not working and had to reboot in order to work again (even if the wifi was still connected).
After doing this for some days there were no wifis available in the network-manager's list even if I have the wifi active.
After reading allot on the internet I decided to install this driver.
git clone https://github.com/lwfinger/rtlwifi_new.gitcd rltwifi-mastersudo make && sudo make install.. still the same. Active wifi but no results in the list and there's a status next to the wifi "Device not ready "
I must say that the the wifi is not blocked by software or hardware since I made sure the status for
rfkill list allis set to noI cannot list here the output of the
sudo lshw -class networkright now.I really need the wifi working and stable but I cannot even bring the wifi back again. I would avoid reinstalling the system again and I would say that's my last option.
Thanks!