Support for new Realtek RT8822be wifi/BT module.

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
AerrowNex
Level 1
Level 1
Posts: 6
Joined: Sun Feb 11, 2018 6:29 pm

Support for new Realtek RT8822be wifi/BT module.

Post by AerrowNex »

I have a new laptop using Realtek RT8822be BT/Wifi chipsel. It does not get detected on the system.

Code: Select all

#sudo lshw -C network; lsb_release -a; uname -a; sudo rfkill list

Code: Select all

  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: enp6s0
       version: 10
       serial: 18:31:bf:18:9c:1a
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:53 ioport:e000(size=256) memory:fe504000-fe504fff memory:fe500000-fe503fff
  *-network DISABLED
       description: Wireless interface
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 00
       serial: 80:c5:f2:11:9b:b3
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=r8822be driverversion=4.15.2-041502-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:70 ioport:d000(size=256) memory:fe400000-fe40ffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@3:1
       logical name: wlx7cdd9089bf3f
       serial: 7c:dd:90:89:bf:3f
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=4.15.2-041502-generic firmware=0.29 ip=192.168.1.49 link=yes multicast=yes wireless=IEEE 802.11

Code: Select all

No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 18.3 Sylvia
Release: 18.3
Codename: sylvia

Code: Select all

Linux preetam-GL702ZC 4.15.2-041502-generic #201802072230 SMP Wed Feb 7 22:32:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: phy1: Wireless LAN
 Soft blocked: no
 Hard blocked: no
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AerrowNex
Level 1
Level 1
Posts: 6
Joined: Sun Feb 11, 2018 6:29 pm

Re: Support for new Realtek RT8822be wifi/BT module.

Post by AerrowNex »

It works now. Here are the steps I took to get everything working in my laptop:

1. use ethernet or usb dongle to connect.
2. install ukuu kernel update utility.
3. update kernel to 4.15.2
4. Reboot
5. Download and build rtlwifi_next

Code: Select all

sudo apt-get update
sudo apt-get install git build-essential linux-headers-generic dkms
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6
6. Download rtl8822befw from https://github.com/rtlwifi-linux/rtlwif ... re/rtlwifi

Code: Select all

sudo cp ~/Downloads/rtl8822befw /lib/firmware/rtlwifi
7. Reboot.

This fixed not just the wifi, but other components like touch pad as well.
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: Support for new Realtek RT8822be wifi/BT module.

Post by JeremyB »

Do you really need UKUU and the 4.15 kernel to use the lwfinger github?
patrikx3

Re: Support for new Realtek RT8822be wifi/BT module.

Post by patrikx3 »

With Linux Mint 19, everything is working, except the Wifi, given, the open source driver is not stable and freezes and restarts, I bought this:
https://ark.intel.com/products/99445/In ... ss-AC-9260

It is kind of cheap and at least, it is capable 1.73GB and MU-MIMO and they say, no freezes will be. Until, I receive, I am stuck on wired for now, but at least, with M.2 half height PCIX SSD, 34 GB RAM 2400 Mhz, it is awesome.

I just do not know on Linux with RYZEN 1700 go to to boost. I can go up to 3.2 Ghz, but not 3.7. Of course, on Windows it works everything perfect.

Kind of new Laptop ... I am sure, we will reach 3.7 Ghz on Linux Mint 19 Laptop as well... Hopefully!

Ciao!
wosco
Level 2
Level 2
Posts: 88
Joined: Mon May 14, 2012 5:08 am

Re: Support for new Realtek RT8822be wifi/BT module.

Post by wosco »

Hi Aeronex

I have tried your solution on my new Ideapad 530S Mint 19. I have the RT8822BE wireless card and it says it is unavailable

I got to this point in your code -

sudo dkms add ./rtlwifi_new and got this error --
Error! Could not find module source directory.
Directory: /usr/src/.-rtlwifi_new does not exist.

Any suggestions greatly appreciated
Regards
Wosco
User avatar
Joe2Shoe
Level 5
Level 5
Posts: 850
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: Support for new Realtek RT8822be wifi/BT module.

Post by Joe2Shoe »

Did you copy the downloaded file to: /lib/firmware/rtlwifi/ ?
Copy: sudo cp ~/Downloads/rtl8822befw.bin /lib/firmware/rtlwifi/ (Step 6).
Then build (Step 5).
Maybe that will help.
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire
wosco
Level 2
Level 2
Posts: 88
Joined: Mon May 14, 2012 5:08 am

Re: Support for new Realtek RT8822be wifi/BT module.

Post by wosco »

No I hadn't but after downloading and copying file I still get the same message
wosco
Level 2
Level 2
Posts: 88
Joined: Mon May 14, 2012 5:08 am

Re: Support for new Realtek RT8822be wifi/BT module.

Post by wosco »

I found the problem and completed the installation, it is on kernel 4.15.0-39-generic/x86_64, rebooted but it is still not recognisable

Any ideas?

Thanks
Locked

Return to “Networking”