Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: ltrk on May 10, 2019, 09:54:21 PM
-
I am running CorePlus version 9. I tried connecting a 4g usb modem but it shows up as a disk drive. I am guessing the mode seitch to modem is not happening.
I could not find way to check kernel messages -I just looked for /var/log/messages but thats not there -perhaps its something else?
Do I need to configure anything for the modem to be correctly detected. I thought in the newer kernel this was automatic
-
Hi ltrk
To view kernel messages, you can:
dmesg > dmesg.txt
and view it with a text editor. Or you can pipe it through the less command:
dmesg | less
and use page up/page down to navigate through the results.
I just looked for /var/log/messages but thats not there -perhaps its something else?
Add the syslog boot code and it will be there.
-
Did you install the modules (usb-serial-KERNEL)? For some sticks those are enough, for others you need usb-modeswitch in addition.
-
Hi Rich
Tanks for the info will check that
-
hi curaga
No I have not installed those modules -thought they would be built-in.
I need to offline install these modules -I dont have a network yet. How do I ensure I pick up right version? I saw some discussion in the forums about getting the right version. I'm running on a x86 box.
-
Hi ltrk
... I need to offline install these modules -I dont have a network yet. How do I ensure I pick up right version? ...
You want:
http://tinycorelinux.net/9.x/x86/tcz/usb-serial-4.14.10-tinycore.tcz
http://tinycorelinux.net/9.x/x86/tcz/usb-serial-4.14.10-tinycore.tcz.md5.txt
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz.dep
http://tinycorelinux.net/9.x/x86/tcz/usb-modeswitch.tcz.md5.txt
You will need to make sure these dependencies are also in your tce directory:
expat2.tcz
fontconfig.tcz
freetype.tcz
glib2.tcz
libffi.tcz
libpng.tcz
libusb.tcz
libX11.tcz
libXau.tcz
libxcb.tcz
libXdmcp.tcz
libXext.tcz
libXft.tcz
libXrender.tcz
libXss.tcz
tcl.tcz
tk.tcz
udev-lib.tcz
usbutils.tcz
Some of them will already be present. Download the the missing ones including the .md5.txt files and the .dep files if they
have one.
Then add the following line to your onboot.lst file:
usb-modeswitch.tcz
Run a backup if necessary and reboot.
-
hi rich
thank you for the info.
There is this script that downloads extensions and dependencies. I had to tweak it for 9x since it is set to
3x but its very useful for offline install
http://forum.tinycorelinux.net/index.php/topic,7243.msg38349.html#msg38349 (http://forum.tinycorelinux.net/index.php/topic,7243.msg38349.html#msg38349)
I now have the modem correctly being detected.