Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wifi setup: realtek 8821AE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 3

PostPosted: Tue Aug 29, 2017 2:47 pm    Post subject: wifi setup: realtek 8821AE Reply with quote

Hi

I'm trying to set up wifi on a Lenovo Ideapad. The Laptop uses a realtek 8821AE card. I was following the tutorial:

https://wiki.gentoo.org/wiki/Wifi

to set up the wifi, which for my card instructs me to manually install the firmware for my card, however there is no linuix firmware for this card on realteks' website.
I'm a bit stuck now as what to do, please help.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21543
Location: here

PostPosted: Tue Aug 29, 2017 3:23 pm    Post subject: Reply with quote

Your firmware is present in sys-kernel/linux-firmware package.
Code:
$ ls /lib/firmware/rtlwifi/rtl8821aefw*
/lib/firmware/rtlwifi/rtl8821aefw_29.bin  /lib/firmware/rtlwifi/rtl8821aefw.bin  /lib/firmware/rtlwifi/rtl8821aefw_wowlan.bin

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 3

PostPosted: Thu Aug 31, 2017 3:30 pm    Post subject: Reply with quote

Thanks fedeliallalinea

I've done as suggested and double checked that the firmware is present, all seems good there.

However I've just ran lspci:

Code:

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
   Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter
   Flags: fast devsel, IRQ 255
   I/O ports at 2000 [size=256]
   Memory at 91200000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Endpoint, MSI 00

02:00.0 0280: 10ec:8821


Seems I don't have a driver loaded up, apologies for not mentioning at the beginning - I hadn't realised.

When generating my kernel I ensured:

Code:

Device Drivers : Network device support : Wireless LAN : Realtek rtlwifi family of devices : Realtek RTL8821AE / RTL 8812AE wireless network adaptor

was set to modular, so I should have a driver ready to load right?

Searching through my kernel modules gives the following realtek modules:

Code:

./kernel/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko
./kernel/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl818x_pci.ko


however they don't seem to be the right ones.

If they arn't can you please instruct me on how to obtain them / which modules to include in the kernel.
If they are can you please instruct me on how to load the correct module.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2586

PostPosted: Thu Aug 31, 2017 6:21 pm    Post subject: Reply with quote

Did you set those drivers mentioned in https://www.startpage.com/do/search?query=%228821AE%20realtek%22+site%3Acateee.net?
Code:
CONFIG_WLAN=y
CONFIG_RTLWIFI=m
CONFIG_RTL8821AE=m
Back to top
View user's profile Send private message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 3

PostPosted: Thu Aug 31, 2017 7:12 pm    Post subject: Reply with quote

charles17, just checked the config file I used to gen the kernel, it agrees with what you have mentioned.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2586

PostPosted: Thu Aug 31, 2017 9:12 pm    Post subject: Reply with quote

Please ensure the kernel from which you are booting is the one which you have configured. Running uname -a could help.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21543
Location: here

PostPosted: Fri Sep 01, 2017 6:19 am    Post subject: Reply with quote

You have added firmware in kernel?
Post output of
Code:
$ zgrep -i 'WLAN\|RTL88\|FIRMWARE' /proc/config.gz

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum