WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: What jobs/tasks is Tiny Core Linux the best at?  (Read 2465 times)

Offline trpted

  • Newbie
  • *
  • Posts: 2
What jobs/tasks is Tiny Core Linux the best at?
« on: April 14, 2016, 11:27:45 AM »
For example non OS:

A hammer is the best to get in a nail. Could use a screw driver, but that is not the best tool for the job/task.

Comparing Tiny Core Linux to other distros in the same category (not for example against pfSense - one of many distros designed for connection sharing), what jobs/task is it the best at?

This excludes all spin off like it. For example, this excludes Nanolinux.

Thank you

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: What jobs/tasks is Tiny Core Linux the best at?
« Reply #1 on: April 14, 2016, 11:34:42 AM »
Providing a base from where one can go everywhere.
Download a copy and keep it handy: Core book ;)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: What jobs/tasks is Tiny Core Linux the best at?
« Reply #2 on: April 14, 2016, 11:59:27 AM »
that's the point. today my router died and i had nothing to replace it so i have set up a tinycorelinux on an old thinkpad x61 as a router. side-effect: it's faster than before.
tinycorelinux has no category as you put it.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14796
Re: What jobs/tasks is Tiny Core Linux the best at?
« Reply #3 on: April 15, 2016, 10:35:41 AM »
A tinycorelinux router sounds worth a chapter in the tinycore book, no?

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: What jobs/tasks is Tiny Core Linux the best at?
« Reply #4 on: April 15, 2016, 12:13:14 PM »
sure :)

cause it's fast to do here's the most important part of my setup:

make a script that executed once after boot containing something like this:
you could just leave away sudo and put it into /opt/bootlocal.sh

        sudo ip6tables-restore < /usr/local/etc/ip6tables.rules
        sudo iptables-restore < /usr/local/etc/iptables.rules
        sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
        sudo ifconfig eth0 192.168.178.2
        sudo ifconfig eth0 up
        sudo dnsmasq
        sudo ip a add 10.10.10.2/24 dev eth0
        sudo ip route add  *redeacted* via 10.10.10.10
        sudo /usr/local/etc/init.d/samba start
        tmux new -d 'sudo vtund -n -f /usr/local/etc/vtund.conf pogo ks'
        sudo /usr/local/etc/init.d/openssh start

in addition to the obvious iptables rules, and dnsmasq config you can see i also use a tunnel with corresponding configuration.
also i use openssh, a samba server serving the hard drive for shared storage in the LAN and (not seen here) iproute2 ip rules for source address based routing. these rules are set up manually once the vtund tunnel is up and working.

the only tc-specific task was to create this script that bootstraps everything else installing the tce packages for all the programs mentioned and i also added all configuration files to /opt/.filetool.lst, which was probably the biggest amount of work.
after that i pressed backup and was done.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: What jobs/tasks is Tiny Core Linux the best at?
« Reply #5 on: April 15, 2016, 03:12:11 PM »
perhaps some people wonder why the tmux crap: i want to be able to monitor the process output without having to run some bloated syslog solution. if i had a hard drive at hand i would have saved such log to disk, but i netbooted this machine from an other laptop, then set up ssh and copied the rest over with scp.
but right now everything is in RAM :)
when i get a permanent router replacement i'll copy the config to that router's disk, unplug the power on this one and reboot the machine to it's former purpose.