Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: merab.net on July 02, 2010, 07:21:39 PM

Title: Tiny Core network preparedness
Post by: merab.net on July 02, 2010, 07:21:39 PM
Tiny Core needs to be able to run commands like "ip route add", "route del", "route add" and to have pptp from the first boot. Or their analogues.

Maybe I am just ignorant and there are analogues - then tell me.

Otherwise Tiny Core works great.
Title: Re: Tiny Core network preparedness
Post by: maro on July 02, 2010, 08:33:45 PM
Isn't the route command what you are after?
Code: [Select]
tc@box:~$ route --help
BusyBox v1.16.1 (2010-05-01 11:37:16 EEST) multi-call binary.

Usage: route [{add|del|delete}]

Edit kernel routing tables

Options:
        -n      Don't resolve names
        -e      Display other/more information
        -A inet{6}      Select address family
Sure that is "only" the BusyBox version, but what is missing might be provided via the iproute2.tcz extension.

And I wonder whether the pptpd.tcz extension contains what you need for 'pptp'. There are several ways how you can make an extension available after reboot. It depends how "early" in the game the extension is required. In the "most extreme" case you would have to remaster the initrd. For this please search the forum (and read the wiki).