By sugarraysam


2016-02-11 19:44:05 8 Comments

I've been having problems with my wifi connection (rtl8821ae driver). I can stay connected for hours (as long as 6 hours) and then sometimes it just crashes and doesn't work on reboot. I have to wait until the next day.

[email protected]:~$ uname -v
#1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)

[email protected]:~$ lspci -vnn | grep Network
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. 
RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]

[email protected]:~$ sudo iwconfig
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"Bravotelecom_9947"  
  Mode:Managed  Frequency:2.462 GHz  Access Point:     E8:CC:18:F7:81:50   
  Bit Rate=6.5 Mb/s   Tx-Power=20 dBm   
  Retry short limit:7   RTS thr=2347 B   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality=70/70  Signal level=-24 dBm  
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:1   Missed beacon:0

lo        no wireless extensions.

I've tried to enable power management and then turn it off (even though it shows it is already turned off):

[email protected]:~$ sudo modprobe rtl8821ae swlps=1
[email protected]:~$ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device wlan0 ; Operation not supported.

But I keep getting this error... anyway I don't think this is the problem.

I've also tried:

rfkill unblock -all

But nothing was soft or hard blocked to start with so no differences. My router is configured for IPv4 (not IPv6), and supports channels in 2 GHz and 5 GHz band. I have noticed that my Network Adapter switches between these two frequencies... sometimes I'm connected with low band and other times high band.

I will post the journalctl entries next time it crashes because I don't have them right now.

1 comments

@GAD3R 2016-02-11 20:47:55

Add a "non-free" component to /etc/apt/sources.list :

# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/%20jessie%20main%20contrib%20non-free

Update the list of available packages and install the firmware-realtek package:

sudo apt-get update && sudo apt-get install firmware-realtek

load module

sudo modprobe rtl8821ae

@Giovanni Toraldo 2017-03-04 09:39:58

so the problem is network-manager?

@nwildner 2018-06-15 17:56:42

I think the problem is only the drivers/firmware. Installing firmware-realtek and loading the new module (modprobe rtl8821ae) should be enough to make it work with your network daemon of choice(NetworkManager, wicd, connman...)

@GAD3R 2018-06-15 18:36:12

@nwildner exactly installing the non-free package should solve the problem, I will update this answer.

Related Questions

Sponsored Content

0 Answered Questions

Unable to fix bit rate of wireless network interface

  • 2018-06-12 10:54:32
  • Sion Fragile
  • 10 View
  • 0 Score
  • 0 Answer
  • Tags:   wifi

0 Answered Questions

connected to network but no internet after booting into cloned drive

  • 2018-03-03 01:08:13
  • vector
  • 37 View
  • 0 Score
  • 0 Answer
  • Tags:   linux-mint wifi

2 Answered Questions

1 Answered Questions

[SOLVED] Increase wireless interface link speed

1 Answered Questions

[SOLVED] Lost wifi connection debian 8 (rtl8821ae wifi driver)

0 Answered Questions

How to setup a Belkin USB Wireless Adapter (F5D7050A)? (Linux Mint 18.1 Xfce)

1 Answered Questions

[SOLVED] WiFi not working with Broadcom 43ba driver

2 Answered Questions

2 Answered Questions

[SOLVED] Retrieve value of RTS threshold without iwconfig

1 Answered Questions

[SOLVED] Compilation of my wifi driver (RTL8192CE) fails

Sponsored Content