Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: GAI on March 29, 2021, 01:54:08 AM
-
hardware: raspberry cm3+
OS : Tiny core 13.03
I want to drive my USB port,
I insmod 8152. Ko, but my USB network card still can't drive. when i input lsusb ,it show me -sh not found usb
What modules are missing
-
Ifconfig has only local loopback
-
Does:
$ lsmod | grep 8152..show that the module is loaded?
Does: $ modinfo r8152..show any dependencies?
Does: $ dmesg | grep 8152..show any error messages?
-
when i input lsusb ,it show me -sh not found usb
You're looking for usbutils.tcz, and all the required dependencies.
bzip2-lib.tcz
gamin.tcz
gcc_libs.tcz
glib2.tcz
libelf.tcz
libudev.tcz
libusb.tcz
pcre.tcz
usbutils.tcz
Ifconfig has only local loopback
What does dmesg say when you plug the card ?
-
Does: $ lsmod | grep 8152..show that the module is loaded?
Does: $ modinfo r8152..show any dependencies?
Does: $ dmesg | grep 8152..show any error messages?
$ lsmod | grep 8152
r8152 77824 0
$ modinfo r8152
modinfo: module lib/modules/5.10.16-picore-v7/r8152 not found
$ dmesg | grep 8152[
new usb device found. idVendor=0bda,idProduct=8152, bcdDDevice=20.00
usecore: registered new interface driver r8152
r8152 1-1.102:1.0: skip request fireware
r8152 1-1.1.1:1.0 eth0: v1.11.11
-
when i input lsusb ,it show me -sh not found usb
You're looking for usbutils.tcz, and all the required dependencies.
bzip2-lib.tcz
gamin.tcz
gcc_libs.tcz
glib2.tcz
libelf.tcz
libudev.tcz
libusb.tcz
pcre.tcz
usbutils.tcz
Ifconfig has only local loopback
What does dmesg say when you plug the card ?
$lsmod | grep 8152
r8152 77824 0
$ modinfo r8152
modinfo: module lib/modules/5.10.16-picore-v7/r8152 not found
$ dmesg | grep 8152[
new usb device found. idVendor=0bda,idProduct=8152, bcdDDevice=20.00
usecore: registered new interface driver r8152
r8152 1-1.102:1.0: skip request fireware
r8152 1-1.1.1:1.0 eth0: v1.11.11
-
Does this help:
$ sudo ifconfig eth0 up
-
Does this help: $ sudo ifconfig eth0 up
You are wonderful
-
Does this help: $ sudo ifconfig eth0 up
In ubuntu ,It automatially strat moules and program in etc mkdir file
What is recommended in this system
-
If you're looking for a way to run a command as root onboot.
Simply append the file /opt/bootlocal.sh
Note that you won't need "sudo" in that file.
Just "ifconfig eth0 up"
-
If you're looking for a way to run a command as root onboot.
Simply append the file /opt/bootlocal.sh
Note that you won't need "sudo" in that file.
Just "ifconfig eth0 up"
If it's a software, I can . /xxx ?
-
If you're looking for a way to run a command as root onboot.
Simply append the file /opt/bootlocal.sh
Note that you won't need "sudo" in that file.
Just "ifconfig eth0 up"
How to load. Ko file, insmod xx.ko ?
-
If you make a personal extension out of the module it might load itself.
-
If it's a software, I can . /xxx ?
Use full path to prevent unwanted behavior.
How to load. Ko file, insmod xx.ko
Simply add the required files to the backup.
vi /opt/.filetool.lst
Note that you'll need to drop the leading "/"
-
If you make a personal extension out of the module it might load itself.
When I load successfully and restart, I need to reload. What should I do to let it load automatically and run my program
-
If you want any extension to be loaded at boot, add it to onboot.lst:
echo myr8152.tcz >> /etc/sysconfig/tcedir/onboot.lst
-
If it's a software, I can . /xxx ?
Use full path to prevent unwanted behavior.
How to load. Ko file, insmod xx.ko
Simply add the required files to the backup.
vi /opt/.filetool.lst
Note that you'll need to drop the leading "/"
I didn't find the Filetools folder. are you sure
-
Note the "." in /opt/.filetool.lst, which makes it hidden..
-
After I follow this setting, the restart settings are gone. Do I need to remake the file system
-
Hi GAI
After you edit /opt/.filetool.lst you need to run a backup:
filetool.sh -b
-
filetools not found
-
Hi GAI
It is not filetools
It is filetool.sh -b
-
thaks