Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: h2sammo on December 18, 2018, 10:17:10 PM
-
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
-
Hi h2sammo
Is it possible you are missing this firmware:
/usr/local/lib/firmware/rtlwifi/rtl8822befw.bin
which is provided by:
firmware-rtlwifi.tcz
-
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. (https://uploads.tapatalk-cdn.com/20181219/23e1c3cf697e83cb21f6721b72eac452.jpg)
Sent from my MHA-AL00 using Tapatalk
-
You can check if the extension is already loaded with the following command:
$ tce-status -i | grep firmware
-
Firmware shows already loaded but module is not loaded. (https://uploads.tapatalk-cdn.com/20181219/3d4179c7055240330b8d3fd3769766e3.jpg)
Sent from my MHA-AL00 using Tapatalk
-
Did you load the wifi extension (after the firmware extension) and check dmesg to see if the firmware was loaded?
-
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
-
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.
-
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
(https://uploads.tapatalk-cdn.com/20181219/fc21b3e5fd934491afe491da1dd0701b.jpg)
(https://uploads.tapatalk-cdn.com/20181219/9f1c5d1c51d8f3310bbf4d8ca2614f54.jpg)
-
It looks like the rtl8822be driver was in staging (experimental) and might be enabled with:
CONFIG_RTL8XXXU_UNTESTED=y
..but google should be able to help
-
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
-
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
-
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
-
To compile the kernel:
tce-load -i compiletc perl5 bash bc ncursesw-dev
-
Hello
First, it's better to use lspci -nnk to identify your device
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
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
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
dmesg: direct firmware load for rtl*.fw failed with error -2
is not an issue..
-
thank you for the very helpful reply. i get the following error at the make step (unfortunately i dont know how to copy/paste without mouse from the terminal used in tinycore): /lib/modules/4.14.10-tinycore/build: no such file or directory
i am in /tmp/rtlwifi_new folder
-
$ sudo ln -s /lib/modules/4.14.10-tinycore/build /path-to-source/linux-4.14.10
..note that you will also have to prepare the kernel source: $ cd linux-4.14.10
$ make mrproper
$ cp config-4.14.10-tinycore .config
$ make oldconfig
$ make prepare
$ make modules_prepare
$ gunzip Module.symvers-4.14.10-tinycore.gz
$ cp Module.symvers-4.14.10-tinycore Module.symvers
$ make SUBDIRS=scripts/mod
-
wireless-rtl8822be-KERNEL posted - not tested
-
I am working on compiling the new rtl driver from git. I have submitted my problem with the make command in my previous post. Please help me pass that point.
I think I am getting advise regarding two different routes to solving my problem and because I am not expert I can't tell the difference well between the two strategies. Please stick to my git approach first and let me untangle it.
Sent from my MHA-AL00 using Tapatalk
-
wireless-rtl8822be-KERNEL posted - not tested
Juanito has already compiled the driver for the repo. Simply install the firmware extension first then driver extension then WiFi extension, all to OnBoot.lst. Not OnDemand!!
Then run Sudo WiFi.sh or select the WiFi icon
Sent from my iPhone using Tapatalk
-
Thank you for clarifying. From your post:
1) Simply install the firmware extension (how?...)
2) then driver extension (how?...)
3) WiFi extension, (how?...)
4) all to OnBoot.lst (how?...)
Sent from my MHA-AL00 using Tapatalk
-
Hi h2sammo
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.
Go to the the apps/ondemand maintenance menu and click on firmware-rtlwifi. Then click on Delete Item from list.
Now go to apps/onboot maintenance menu and click on firmware-rtlwifi. Then click on Add Item.
Next go to apps/cloud/browse.
In the search field enter wireless and hit enter. Select wireless-rtl8822be-4.14.10-tinycore.tcz and click go.
In the search field enter wifi and hit enter. Select wifi.tcz and click go.
Now open your onboot.lst file. You can find it under /etc/sysconfig/tcedir.
Find the following 3 lines and move them to the top of the file in this order:
firmware-rtlwifi.tcz
wireless-rtl8822be-4.14.10-tinycore.tcz
wifi.tcz
Save the file and reboot the machine.
-
thank you!!!
network card recognized. wifi operational.
-
so, now that i upgraded to coreplus10, does this module need to be recompiled for the 4.19.10 kernel? when i boot from the coreplus 10 image i cannot get wifi.tcz to pickup any wireless connections around me
-
kernel modules need to be compiled for the specific kernel version in use
-
would you be so kind to compile for 10.0 as well? or give me instructions how to do it so i wont bug you in the future?
-
btw, from coreplus base install there is no wireless-4.19.10-tinycore.tcz extension available so wifi.tcz and ndiswrapper.tcz cannot load since they depend on it. Is there a way i can search for these extensions and download them with an internet browser instead of the apps app? Since i cannot connect to wifi when i boot core10. maybe i can search and download what I am missing when i boot core9.0 and cp the extensions into the ondemand folder in tce10.0.
-
btw, from coreplus base install there is no wireless-4.19.10-tinycore.tcz extension available so wifi.tcz and ndiswrapper.tcz cannot load since they depend on it.
The required extension should be available in the coreplus CD/ISO, no?
Is there a way i can search for these extensions and download them with an internet browser instead of the apps app? Since i cannot connect to wifi when i boot core10. maybe i can search and download what I am missing when i boot core9.0
Sure, directly using a browser from the download section of this website
or use wget command and the address from the above download section
cp the extensions into the ondemand folder in tce10.0.
Please NOTE: extensions are installed into the “..tce/optional” directory not “ondemand”
Sent from my iPhone using Tapatalk
-
btw, from coreplus base install there is no wireless-4.19.10-tinycore.tcz extension available so wifi.tcz and ndiswrapper.tcz cannot load since they depend on it.
I just checked the CorePlus-10.0.iso and found /cde/optional/wireless-4.19.10-tinycore.tcz is present..
-
would you be so kind to compile for 10.0 as well? or give me instructions how to do it so i wont bug you in the future?
The instructions are already in this thread...
wireless-rtl8822be-4.19.10-tinycore posted
-
so, im doing something wrong then. i used the latest CorePlus.iso . I do not see these apps in the CDE or the Boot folder. Where do i look?
Also, about the Downloads webpage. The extensions link takes me to a list of extensions, in text format. There is no way to download them.
please explain.
EDiT: i found the extension in CDE folder... i dont know why it hasnt been copied... i will correct
-
Hi h2sammo
... Also, about the Downloads webpage. The extensions link takes me to a list of extensions, in text format. There is no way to download them. ...
That's because in general you should be using the Apps utility to download and install extensions. If you really need to
download via a browser, you can do it like this:
http://tinycorelinux.net/10.x/x86/tcz/wireless-4.19.10-tinycore.tcz