Ubuntu: Realtek wireless problem router related



Question:

I'm experiencing the infamous wireless connection drops with my Realtek RTL8821AE adapter. I've just installed Ubuntu 17.04 (Budgie, FYI), with kernel 4.10. I've tried updating the wireless driver using lwfinger/rtlwifi_new git repository, but the issue is still there.

For testing purpose, I've taken my laptop at work, connected to an access point and left there pinging google. It's a couple of hours that the ping is working, while at home it drops every couple of minutes. This made me think about something router-related. Although the wireless works flawlessly from Windows 10 with the same router.

Is it possible? Any idea about some router configuration that can cause such behavior?

Anyway, I think that the wireless card driver/firmware is still playing an important role in this issue. Maybe it's something driver+router related. If this can even be possible...


Solution:1

It is quite true that the router and its interaction with the wireless device and driver are crucial.

I would be certain that the firmware for your router is fully updated. Often, bugs are discovered and corrected and the fix will only appear if you update the firmware to the latest available.

Second, I suggest that you disable power saving in Network Manager. From the terminal:

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*  

Next, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.

Next, I recommend that your regulatory domain be set explicitly. Check yours:

sudo iw reg get  

If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then set it temporarily:

sudo iw reg set IS  

Of course, substitute your country code if not Iceland. Set it permanently:

gksudo gedit /etc/default/crda  

Use nano or kate or leafpad if you don't have the text editor gedit.

Change the last line to read:

REGDOMAIN=IS  

Proofread carefully, save and close the text editor.

Next, I'd set IPv6 to Ignore in Network Manager: http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/images/netconfig/network-connections-ipv6-ignore.png This example is for ethernet, but you want wireless.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »