WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Re. [?lost] Can't use wired inet.  (Read 2411 times)

Offline labeas

  • Sr. Member
  • ****
  • Posts: 266
Re. [?lost] Can't use wired inet.
« on: November 14, 2016, 05:00:28 AM »
My previous thread seems to be lost ?!
-------------------
> 'not sure you'd buy a 3g dongle that only supports windows  :o
===
You buy 12 months data subscription. The bottle is FREE with the
<coke>. It's part of deceptive marketing.

> In general to download a corepure64 extension you need:
>
>http://tinycorelinux.net/7.x/x86_64/tcz/extension_name.tcz
>http://tinycorelinux.net/7.x/x86_64/tcz/extension_name.tcz.dep [not always present]
>http://tinycorelinux.net/7.x/x86_64/tcz/extension_name.tcz.md5.txt
>
>When the *dep file is present, you will need to repeat the above for each
> extension named in the *dep file recursively.

=== OK, but that's only to d/l.
BTW mc helps a lot for the dependency Tree.    My FAILED results:--
-> mkdir /mnt/sdb1/usr
-> mkdir /mnt/sdb1/usr/bin
-> cd <temp location of mc.tcz>
-> sudo install -t /mnt/sdb1/usr/bin/  mc.tcz
-> ls -l /mnt/sdb1/usr/bin ==
-rwxrwxrwx    1 root     root       1245184 Nov 14 11:16 mc.tcz
=> ! This is just a COPY? We expected install to <expand> *.tcz

HELP!!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Re. [?lost] Can't use wired inet.
« Reply #1 on: November 14, 2016, 06:06:26 AM »
Once you've downloaded the extensions you need, copy them to your tce/optional folder and then "tce-load -i extension_name" to load them.
« Last Edit: November 14, 2016, 06:14:37 AM by Juanito »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 719
Re: Re. [?lost] Can't use wired inet.
« Reply #2 on: November 14, 2016, 06:40:24 AM »
your previous post is here
http://forum.tinycorelinux.net/index.php/topic,20503.0.html
Please don't double post  ;)

If you want to recursively copy files to a directory
Try creating a shell with "recursive_scan_dep()" function in it
You can find the function in "/usr/bin/tce-load"

For example:
Code: [Select]
#!/bin/sh
KERNELVER=$(uname -r)
recursive_scan_dep() {
  # the full script can be found in /usr/bin/tce-load
  # remove 'print "@ "$1; '  in the "recursive_scan_dep()" locate at line 3 from the bottom
}
for file in `recursive_scan_dep $@ | sort | uniq`; do
  cp $file $file".dep" $file".md5.txt" YOUR_DIRECTORY
done