WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core network preparedness  (Read 2034 times)

Offline merab.net

  • Newbie
  • *
  • Posts: 2
Tiny Core network preparedness
« 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.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Tiny Core network preparedness
« Reply #1 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).
« Last Edit: July 02, 2010, 08:43:52 PM by maro »