Skip to content

Instantly share code, notes, and snippets.

@gayanhewa
Created November 27, 2016 06:48
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gayanhewa/575bd408a7386732fe9de74f7c87eb83 to your computer and use it in GitHub Desktop.
Save gayanhewa/575bd408a7386732fe9de74f7c87eb83 to your computer and use it in GitHub Desktop.
Realtek 8821ae driver config for linux. This avoids the connection drops for the 8821ae driver. Tested against debian jessie
options rtl8821ae debug=0 disable_watchdog=N fwlps=N swlps=Y swenc=Y ips=N msi=0
@danuker
Copy link

danuker commented Jul 19, 2017

I plopped it into /etc/modprobe.d as a file. Looks like it's working much better.
I only get dropped once every few hours or so, instead of every 15 mins or so. Thanks a bunch!


Note for newbies (and self): you can check what the module parameters are right now:
head /sys/module/rtl8821ae/parameters/*

You can also check their meaning, to make sure you're not turning off something dumb:
sudo modinfo rtl8821ae

To restart the wifi:

sudo nmcli radio wifi off
sudo nmcli radio wifi on

@amaxi
Copy link

amaxi commented Jul 28, 2017

Hello
The issues were fixed 10 days ago. You can find more information about it in
https://github.com/lwfinger/rtlwifi_new/issues/250
and
https://github.com/lwfinger/rtlwifi_new/commits/master (-> commit a24cb56)
Regards

@danuker
Copy link

danuker commented Aug 8, 2017

@amaxi Thanks a lot!

In case people don't want to update their driver, another workaround I found is using a different networkmanager: wicd (and its GUI, wicd-client). This seems to be faster, and reconnects by itself much faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment