Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: vinikon on April 03, 2017, 11:21:45 PM
-
Hello all,
I'm trying to make it work. Dmesg shows the usb-ethernet adapter as asix....something. Gives it a usb bus number 1.1.4 but no module is loaded after it boots.
When doing lsmod - I don't see asix module loaded.
What I'm doing wrong?
Also lsusb is not found in the system.
I'm running 8.1.5 version.
Thanks in advance for any help
-
Hi vinikon,
Did you install the net-usb-KERNEL.tcz extension?
There is an asix module in net-usb-4.4.20-piCore+.tcz .
for the lsusb command, install usbutils.tcz .
-
THanks :D
A bit of late reply... but useful anyway!
-
Did you install the net-usb-KERNEL.tcz extension?
There is an asix module in net-usb-4.4.20-piCore+.tcz .
for the lsusb command, install usbutils.tcz .
Hello, I'm completely new to linux and not sure how to install an application on the command line.
I've tried
install net-usb-KERNEL.tcz
but the screen replies with with...
BusyBox v1.26.2 (2017-05-05 07:13:57 UTC) multi-call bninary.
Usage: install...blah, blah.
I am completely new to linux so can anyone help me with the full command to use?
Thanks in advance.
-
It would probably be best to read the tinycore book first.
http://tinycorelinux.net/book.html
-
Thanks for the reply, but there is no mention in the book of how to use the "install" command mentioned above. It's understandable as it's probably too basic for anyone who isn't completely new to linux.
I've managed to get this far now...
1. Without internet connection you can't do "tce-ab" so can't search for a driver.
2. Trying "tce -i"...
/mnt/mmcblk0p1 has no tcz files in the folder or the "overlaps" sub-folder
/mnt/mmcblk0p2 has a tce folder. sub-folder "ondemand" is empty, "optional" has tcz files but there is no
net-usb-KERNEL.tcz
or
net-usb-4.4.20-piCore+.tcz
as mentioned in the previous comments.
So I'm pretty much stuck.
3. There is mention in this forum post of where to download net-usb-4.9.22-piCore.tcz on an internet connected pi, but you have to be connected in the first place!
http://forum.tinycorelinux.net/index.php?topic=21327.0
4. There is a great video for newbies like me on how to add the WIFI drivers for the Pi ZERO W to the microsd card BEFORE first boot.
I just need to do the same for the Pi Zero (NO W) with an USB ethernet driver.
https://www.youtube.com/watch?v=aKvW59uk4PY
Thanks in advance for your replies.
-
You need to download the extensions you need on another machine from:
http://www.tinycorelinux.net/9.x/armv6/tcz
and copy them into /mnt/mmcblk0p2/tce/optional.
For each extension you need:
extension_name.tcz
extension_name.tcz.dep (might not exist)
extension_name.tcz.md5.txt
..and repeat the process for each extension listed in extension_name.tcz.dep
You load extensions with "tce-load -i extension_name", "install" is used for something else entirely.
-
Thanks, I did manage to get there on my own which means I must be learning something. It's great to hear your reply matches what I figured out!
So,
For future reference, to use a USB-ethernet adapter with piCore 9 on a pi zero:
Download http://repo.tinycorelinux.net/9.x/armv6/tcz/net-usb-4.9.22-piCore.tcz
Place it on the SD card: /mnt/mmcblk0p2/tce/optional/
Add "net-usb-4.9.22-piCore.tcz" to /mnt/mmcblk0p2/tce/onboot.lst
1. I think I did this last step, but how can I check? What is the text editor in TinyCore?
2. I did sudo reboot and have ethernet (ifcongig shows eth0), so that's great.
3. I did tce-load -w TC.ycz and it downloaded everything (just like the youtube video I mentioned above)
4. I then celebrated with a cheer (prematurely at it turns out) then typed startx and get
-sh: startx: not found
After 7 hours, I feel like I'm so close!
Once I've got this working I'll write a full How-To for installing PiCore on a Pi Zero for newbies like me! Should help open up TinyCore to more of the younger Pi generation!
Thanks in advance for help with the (hopefully) final step...
-
I found my silly mistake!
I was using "tce -w" instead of "tce -wi"
(my fault as from the youtube video i thought -wi meant download from wireless, so I thought -w meant wired!)
Sorted it by reading the book, and also understand there's not text editor by default, so you can download nano
I've now got xstart working!
Will write a full tutorial from my experiences and post here in the hope it helps out others!
-
If you enter "provides.sh startx" it should tell you which extension provides startx