WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0  (Read 9330 times)

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
This driver is supported by linux kernels 4.14 and above but my tinycore 9.0 install does not pull it properly. (same fatdog64 based kernel pulls it properly on the same machine)

i am not sure if i post in the correct location but can i get help enabling it so my networking card is operational? please keep in mind i dont have network on this HP laptop when i use tinycore so i cannot post command messages from terminal. i used the 100 mb coreplus 9.0 package.

thank you
Thank you for your help!

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Hi h2sammo
Is it possible you are missing this firmware:
Code: [Select]
/usr/local/lib/firmware/rtlwifi/rtl8822befw.binwhich is provided by:
Code: [Select]
firmware-rtlwifi.tcz

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
I'm having trouble loading firmware-rtlwifi. I found it in the apps/ondemand maintenance menu and added it to the ondemand list. However, it doesn't show in apps/load locally list.

Sent from my MHA-AL00 using Tapatalk

Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
You can check if the extension is already loaded with the following command:
Code: [Select]
$ tce-status -i | grep firmware

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Firmware shows already loaded but module is not loaded.

Sent from my MHA-AL00 using Tapatalk

Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Did you load the wifi extension (after the firmware extension) and check dmesg to see if the firmware was loaded?

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
I tried to load module r8822be with modprobe but it does not exist. There are no xxx.ko.gz files with that or similar name. I searched for it by name. Could you help me with instructions how to load extensions under tinycore architecture?

Sent from my MHA-AL00 using Tapatalk

Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
There's a module named rtl8821ae.ko.gz in the wireless-KERNEL extension - if that doesn't work you may need to compile the module.

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
I was able to load the kernel WiFi module on demand and loaded the rtl8821ae module with modprobe. However, lspci -k message still shows the wireless network card without a module. How do I compile and what module do I compile? Or what's the next step?

I get the following for from dmesg: direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2

I found several rtl8168x-y.fw files in rtl_nic firmware library. What is a xxx.fw file? Can I change that into a module and load it?

Sent from my MHA-AL00 using Tapatalk

« Last Edit: December 19, 2018, 03:01:19 AM by h2sammo »
Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
It looks like the rtl8822be driver was in staging (experimental) and might be enabled with:
Code: [Select]
CONFIG_RTL8XXXU_UNTESTED=y..but google should be able to help

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Re: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0
« Reply #10 on: December 19, 2018, 03:42:20 AM »
Let me make sure I understand. Your suggestion is to modify kernel, set that driver to "y" and recompile kernel? Sorry, it's been a while since my Gentoo days.. I'll have to search how to do this if this is what you're suggesting.

How about current firmware error? Would that be an easier fix?

Sent from my MHA-AL00 using Tapatalk

Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0
« Reply #11 on: December 19, 2018, 04:41:19 AM »
It seems that your firmware is present, the issue is the kernel driver, which will need to compiled from the tinycore kernel source.

See:
http://tinycorelinux.net/9.x/x86/release/src/kernel/

Edit: to enable the driver in "make menuconfig":

> Device Drivers > Staging drivers > <M>   Realtek RTL8822BE Wireless Network Adapter
« Last Edit: December 19, 2018, 04:54:49 AM by Juanito »

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Re: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0
« Reply #12 on: December 19, 2018, 06:28:08 AM »
I tried to play with make menuconfig but the make command was not found. How do I install it in this distro?

Sent from my MHA-AL00 using Tapatalk

Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0
« Reply #13 on: December 19, 2018, 06:31:12 AM »
To compile the kernel:
Code: [Select]
tce-load -i compiletc perl5 bash bc ncursesw-dev

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek wifi network card module r8822be is not present/loaded CorePlus 9.0
« Reply #14 on: December 19, 2018, 06:45:05 AM »
Hello
First,  it's better to use lspci -nnk to identify your device
Code: [Select]
lspci -nnk
next;  One way to resolve your missing driver is to build the staging kernel modules as previously suggested.  Alternatively, you can download the latest driver code and from the git source
https://github.com/lwfinger/rtlwifi_new   
Quote
It includes the following drivers:
rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, rtl8821ae, rtl8822be and rtl8723de.

***Note:  Do Not install or run Wifi.tcz, wireless-4.14.10-tinycore.tcz,or any firmware (firmware-rtlwifi.tcz) yet.
You'll need an Internet connection on the notebook, one way or another (Ethernet or a supported USB_WiFi) to download and run

Code: [Select]
tce-load -wil git.tcz
tce-load -wil compiletc.tcz
tce-load -wil linux-kernel-sources-env.tcz

linux-kernel-sources-env
cd /tmp
git clone https://github.com/lwfinger/rtlwifi_new
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8822be

tce-load -wil wifi.tcz
sudo wifi.sh


Firmware is included in the git package.  however if you eventually choose to use the firmware-rtlwifi extension know that
Code: [Select]
dmesg: direct firmware load for rtl*.fw failed with error -2 is not an issue..

« Last Edit: December 19, 2018, 06:55:28 AM by coreplayer2 »