Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: erfan_m14 on February 13, 2022, 12:41:23 PM
-
Hey everyone, I booted picore 13 on my rpi3B+ and expanded the second partition and made wifi working, then downloaded TC.tcz, now after I run "startx" after a few seconds I get the error:
failed in waitforX
-
Hi erfan_m14
Welcome to the forum.
See if this command provides any more information:
`head -n1 .xsession`
Those are not apostrophes at the beginning and end of the command. They are back ticks and
look like this ` , not like this '. It is usually found at the left end of the keyboard
on the tilde (~) key.
-
Hi erfan_m14
Welcome to the forum.
See if this command provides any more information:
`head -n1 .xsession`
Those are not apostrophes at the beginning and end of the command. They are back ticks and
look like this ` , not like this '. It is usually found at the left end of the keyboard
on the tilde (~) key.
Thank you for your greetings!
/usr/local/lib/xorg/Xorg: error while loading shared libraries: libdev.so.0: cannot open shared object file: no such file or directory
-
Hi erfan_m14
Did you copy that by hand? Is it possible it said libudev.so.0 , not libdev.so.0? If that is the
case, try installing libudev.tcz.
-
Hi erfan_m14
Did you copy that by hand? Is it possible it said libudev.so.0 , not libdev.so.0? If that is the
case, try installing libudev.tcz.
You're right it was libudev.so.0.
I ran:
tce-load -wi libudev.tcz
And got:
libudev is already installed!
-
Hi erfan_m14
Make sure it really is installed and not just downloaded:
tce-load -i libudev.tcz
If that doesn't help, try running this:
sudo ldconfig
-
Hi erfan_m14
Make sure it really is installed and not just downloaded:
tce-load -i libudev.tcz
If that doesn't help, try running this:
sudo ldconfig
Here is the result:
$tce-load -i libudev.tcz
libudev is already installd!
$sudo ldconfig
$startx
failed in waitforX
-
Hi erfan_m14
Attach the following log file to your next post:
/var/log/Xorg.0.log
-
Hi Rich!
I rebooted the RPI and this time I got different results when I ran `head -n1 .xsession`
And it seems there isn't Xorg.0.log file in /var/log/
(https://8pic.ir/uploads/20220214-011511_6695b.jpg)
-
Hi erfan_m14
Install openssl.tcz.
-
(https://8pic.ir/uploads/20220215-083229.jpg)
-
Hi erfan_m14
Run this command:
hash -r
Then try this again:
`head -n1 .xsession`
-
I get the exact same results of the previous post
-
Hi erfan_m14
Please post the contents of your onboot.lst file.
-
openssh
firmware-rpi-wifi
firmware-rpi3-wireless
TC
wireless-KERNLE
wifi
Is there any chance that I have messed something up at some point, let me load Picore 13.1.0 on my SD using rpi imager again and tell you every command I run from first run.
-
Hi erfan_m14
Try it like this:
firmware-rpi-wifi.tcz
wifi.tcz
TC.tcz
Then reboot.
I don't see firmware-rpi3-wireless.tcz anywhere in the repositories.
-
(https://8pic.ir/uploads/20220215-091517.jpg)
-
I have used this old instruction:
https://www.novaspirit.com/2018/01/09/tiny-core-raspberry-pi-zero-w-install/
As it says for running WiFi I have downloaded some tcz files from this site to my SD card and copied them to /mnt/mmcblk0p2//tce/optional
So maybe I have replaced some tcz files with older versions?
-
Hi erfan_m14
Something is very wrong with your current installation.
Go here:
http://tinycorelinux.net/12.x/armv7/releases/RPi/
Read the files called IMPORTANT and README and follow the instructions.
Download the latest version from here:
http://tinycorelinux.net/13.x/armv7/releases/RPi/
-
It kinda looks like your openssl.tcz or one of its deps is corrupted. Did you run out of space?
-
Ok finally I got everything working properly so I share what I did in case that I forget it later and it can be helpful for others who are like me and need a simple and straight forward instruction on how to install picore 13.1.0 on Raspberry pi3 B+ with WIFI and Tiny Core GUI working.
-
It kinda looks like your openssl.tcz or one of its deps is corrupted. Did you run out of space?
I don't know if I had run out of space, but I guess I have replaced the file with older or corrupted file.
I did what Rich said:
Something is very wrong with your current installation.
Read the files called IMPORTANT and README and follow the instructions.
-
I downloaded and installed picore 13.1.0
Expanded second partition with the help of following video (at 4:00 until 5:20):
https://www.youtube.com/watch?v=aKvW59uk4PY&t=240s
Then ran filetool.sh -b
Then to use wifi I ran
tce-load -i firmware-rpi-wifi
tce-load -i wireless-KERNEL
tce-load -i wifi
But they needed some tcz files which were not available so I downloaded them with my PC from "http://tinycorelinux.net/13.x/armv7/tcz/" and copied them to "mnt/mmcblk0p2/tce/optional" so running those 3 tce-load commands (for wifi) would give me OK without any error.
-
For copying I had to mount mmcblk0p1 and then copy tcz files using "cp" command and I the instruction of how to mount and how to copy files are in that video too (he copies something else but I didn't copy them, I copied only the files that I mention here"
The TCZ files I downloaded are:
firmware-rpi-wifi.tcz
wireless-5.10.77-picore-v7.tcz
wifi.tcz
Then I ran "sudo wifi.sh" and it returned "No wifi device found!"
I found out that if I copy "wireless_tools.tcz" that I downloaded from "http://tinycorelinux.net/13.x/armv7/tcz/" to "mnt/mmcblk0p2/tce/optional" and run "tce-load i- wireless_tools" I won't get "No wifi device found!", and all wifi routers will show up and after I choose my router and enter my password, I get:
sending credentials to requested access point (network SSID): wpa_passphrase: not found
-
And then it fails to connect.
Then I found that if I copy "wpa_supplicant.tcz" that again I downloaded from that link and run "tce-load -i wpa_supplicant" I won't get that "wpa_passphrase: not found" error but this time a new error:
sending credentials to requested access point (network SSID): wpa_passphrase: error while loading shared libraries: libnl-3.so.200: cannot open shared object file: No such file or directory
and then again it fails to connect.
Then I realized that if I do the same thing as I did for "wpa_supplicant" for "libnl.tcz", and then run "sudo wifi.sh" I won't get any errors anymore and finally can connect to my wifi successfully!
Then I ran "tce-load -iw TC.tcz"
and after it finished I could enter GUI with "startx"
now after I rebooted I didn't have wifi working because I had to run all those "tce-load" commands again in terminal so I added them to onboot.lst with the commands below to make wifi working every time system boots.
-
Tinycore dependency files are recursive - that means you need to download the contents of wifi.tcz.tree.
In addition, for each file listed in extension.tcz.tree, you need to download extension.tcz, extension.tcz.dep and extension.tcz.md5.txt.
Once you've done the above, "tce-load -i wifi" will load everything you need.
-
Hi erfan_m14
Doesn't the pi have a port for a wired network connection? From the README file:
... advised to have a wired Internet connections to have proper system time, to install packages ...
This would allow you to install what you need to get a wireless connection.
If you are going to fetch an extension manually, you also need to fetch all of its dependencies. The
easiest way to do that is to use the .tree file. In the case of wifi.tcz , that would be:
http://tinycorelinux.net/13.x/armv7/tcz/wifi.tcz.tree
For each file listed, you need the .tcz , .tcz.md6.txt , and if it exists, the .tcz.dep file. For example:
wifi.tcz
wifi.tcz.md5.txt
wifi.tcz.dep
Do not fetch the wireless-5.10.16-piCore-v7.tcz file. It does not match your kernel version.
Run:
uname -r
to find out what kernel version you have and use that for the part highlighted in bold text.
Once you have copied the files to your tce/optional directory, create a tce/onboot.lst file that looks
like this:
firmware-rpi-wifi.tcz
wifi.tcz
Now when you run:
tce-load -i firmware-rpi-wifi
tce-load -i wifi
all the required extensions should now load correctly. They should all now load correctly when you boot.
When the wifi is up, you should be able to install TC.tcz
tce-load -wi TC
As far has how tce-load works:
To download only:
tce-load -w TC
To install an already downloaded extension:
tce-load -i TC
To download, install, and add to onboot.lst:
tce-load -wi TC
To download, install, and not add to onboot.lst:
tce-load -wil TC
-
Thank you Rich, I didn't have any experience in working with a linux os, and my purpose of installing picore on my rpi is to have a web browser with good performance that I can have about 4 tabs open of tradingview charts at the same time.
So I did re-installed the os again from the first step this time with the wired network connected (I wish I had done this at first, it would have saved me and you 2 days of ...!)
By the way I tried installing dillo and after downloading some dependencies it gave me this error:
mdsum: ipv6-netfilter-5.10.77-piCore-v7.tcz.md5.txt: No such file or directory
Error on ipv6-netfilter-5.10.77-piCore-v7.tcz
I also installed epiphany successfully but when I run "epiphany" it gives me this error:
epiphany: error while loading shared libraries: libhogweed.so.5: cannot open shared object file: No such file or directory
I can run firefox but I guess maybe one of those 2 would perform better, because I tried firefox but it was so slow on tradingview even slower than cheromium on raspbian.
And if you have any suggestions about overclocking my rpi or even another OS that can do what I need better, please let me know. I also had DietPi and Manjaro OS in mind but guessed picore may be better as it runs on ram so it should be faster. Thanks a lot!
-
Dillo won't work, it doesn't support JS. That said, it's a pretty hopeless quest trying to use heavy websites on a rpi.
-
Hi erfan_m14
epiphany: error while loading shared libraries: libhogweed.so.5: cannot open shared object file: No such file or directory
It needs nettle7.tcz.
-
epiphany dep file adjusted