Skip to content

RTL8822BE 802.11a b g n ac WiFi adapter

commandline_be edited this page Nov 9, 2019 · 23 revisions

Status : SOLVED, reliable solution
Reason : outdated drivers and/firmware for RTL8822BE
Notable: NetworkManager configuration may require a change to fix.


Vendor : Realtek Semiconductor Co., Ltd.
Product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
Kernel : 5.x Linux
Distro : Multiple


Analysis : No real resolvable problem was found, this is a bug.
Solution : Download and compile of latest RTL drivers for Linux.


resources

Notable : Author Larry Finger is mentioned on kernel.org

Github : RTLwifi_new drivers for Linux
ReadME : at the bottom of this README is the installation procedure for the RTL8822BE module.


RTL8822BE upgrade

RTL8822BE : RLT8822BE specific github repository
get ready : cd /usr/src/
clone git : git clone http://github.com/lwfinger/rtlwifi_new.git -b rtw88
change to : cd rtlwifi_new
make code : make -j8
installit : make install

now go to the verification section below

RTL8822BE upgrade maintenance

after kernel upgrade perform the below
assuming you do use /usr/src

cd /usr/src/rtlwifi_new
git pull
make -j8
make install

verification

command ip link set wlan0 up should throw no error
known error : RTNETLINK answers: Operation not permitted
know fix : if it does throw the known error check the 'fix for known error(s)' below.

fix for known error(s)

observed issue : RTNETLINK answers: Operation not permitted
solution status: reliable solution
solution source: rtfm
error solution: edit /etc/NetworkManager/NetworkManager.conf, set value to true

[ifupdown]
managed=true

related error : SIOCSIFFLAGS: Operation not permitted


issue tracking (for other issues)

visit the issue tracker on the rtlnew github page

validation

command dmesg -T | grep rtl (as root or through sudo) to observe the behavior of module and firmware loading

command ip link to observe if the wireless interface becomes available (means the module initialized successfully)

validation of suggested fixes for known issues

observed issue : halmac_init_hal failed
solution status: does not work, uncertain of relevance
solution source: rtlnew issue
error solution : create /etc/modprobe.d/rtl8822be.conf and the below line as content

 options rtl8822be aspm=0

note on issue : this observed issue is remediated with the fix for known error(s)

Clone this wiki locally