RTL8821AE does't work. (16.04)

Asked by Kigyós János

The problem is:

RTL8821AE doesn't work at all. I can see it in several command result so it has drivers and etc... just not working.
Not listing SSID -s and in network manager (in unity-control-center) I cannot switch ON Wireless.
I have dualboot Win10 (unfortunatelly i need it :/ ) and Ubuntu 16.04.
On win10 Wifi works just fine (driver problems there too but i managed to make it work).

How can I make it work on Ubuntu?

sudo lshw -C network
*-network DISABLED
       description: Wireless interface
       product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 00
       serial: 48:e2:44:58:39:e5
       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-38-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:43 ioport:3000(size=256) memory:d1300000-d1303fff

I tried:
sudo ifconfig wlp2s0 up (it cleared away the DISABLED title but nothing else happened)
sudo network-manager restart (this changed back *DISABLED)

tried this too
https://github.com/lwfinger/rtlwifi_new
installed it but nothing changed.

tried several modprobe stuff what i found on internet but nothing :/

Please help me to fix it.

Sorry for my English.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kigyós János
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you have a shortcut to enable / disable wifi then press it

Revision history for this message
Kigyós János (cycool89) said :
#2

Sorry i don't know what do you mean :) On the notebook (Lenovo Y700-15acz) there is no shortcut key for enabling/disabling wifi.
I have On/Off switch on GUI (control-center->network) but not switches On. (I click on it but immediatelly switches back to off).
On notification bar (near the clock) I clicked on enable wifi. Tick appears near that option but no wifi SSId pops up. And ifconfig says nothing about wireless card. lshw says DISABLED.

Thanks for reply, any other advice? :)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try Fn + F5 or (if it is pre 2010 you will have a physical switch)
https://support.lenovo.com/gb/en/documents/ht072689

Revision history for this message
Kigyós János (cycool89) said :
#4

Oh that airplane icon (was not trivial for me) but unfortunatelly not helped :/ no reaction for that button.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Try:

sudo rfkill unblock all

Revision history for this message
Kigyós János (cycool89) said :
#6

Tried

I checked before and after:

~$ rfkill list; lsmod | grep ideapad
0: ideapad_wlan: Wireless LAN
 Soft blocked: no
 Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: yes
2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
3: hci0: Bluetooth
 Soft blocked: yes
 Hard blocked: no
ideapad_laptop 24576 0
sparse_keymap 16384 1 ideapad_laptop
wmi 20480 1 ideapad_laptop
video 40960 1 ideapad_laptop

~$ sudo rfkill unblock all

~$ rfkill list; lsmod | grep ideapad

0: ideapad_wlan: Wireless LAN
 Soft blocked: no
 Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: yes
2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
3: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
ideapad_laptop 24576 0
sparse_keymap 16384 1 ideapad_laptop
wmi 20480 1 ideapad_laptop
video 40960 1 ideapad_laptop

If I press Fn+F5 then some of the soft locks toggling off/on.

But still doesn't works.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

Please run the following commands in a Terminal:

sudo apt-get update

sudo apt-get install python-bs4

cd /tmp

rm -rf medigeek-kmp*

wget --no-check-certificate https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz

tar xzf kmpd.tar.gz

cd medigeek-*

python kmpd.py -d

Then reboot and retest wireless using mainline kernel version v4.8-rc8.

Revision history for this message
Kigyós János (cycool89) said :
#8

It was a bit tricky without internet but i found a place :)

The new kernel was successfully installed. I rebooted but nothing changed :/ I tried a USB Wifi Stick(AR5523 chip) but that doesn't work too.

Revision history for this message
Kigyós János (cycool89) said :
#9

Any ideas? Still have the problem.

Revision history for this message
Kigyós János (cycool89) said :
#10

I solved it.
I write the solution for others.
I think this work only for Lenovo ideapads.

In terminal write this:

echo "blacklist ideapad_laptop" | sudo tee /etc/modprobe.d/idepad.conf

then reboot and wifi should work.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#11

Thanks for sharing the solution with us. This will help others.