Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

execute command/skript on connection?

2 views
Skip to first unread message

Moritz Maisel

unread,
Jan 15, 2004, 12:01:26 PM1/15/04
to
Hi all,

Is there any way to get a skript or some commands executed on
connection(!) of a host (OS is Linux)?

I'd like to set a host route on my router (my LAN server running Debian
Linux) when my notebook (Debian Linux, too) connects to it. As I
understood tinc-up is executed on startup of the tinc-daemon which
doesn't fit for me.

The hostroute is ONLY to be set if the Notebook is connected via tinc.
I think of a skript for every host or maybe a "exec_on_connect-option"
for use in "hosts/<hostname>".

Thanks for any help in advance!
Moritz
--
PGP key: http://www.nachtaktiv.org/maisel.asc


Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/


Guus Sliepen

unread,
Jan 15, 2004, 12:28:03 PM1/15/04
to
On Thu, Jan 15, 2004 at 06:01:26PM +0100, Moritz Maisel wrote:

> Is there any way to get a skript or some commands executed on
> connection(!) of a host (OS is Linux)?

man tinc.conf or http://tinc.nl.linux.org/documentation/tinc_4.html#SEC45

--
Met vriendelijke groet / with kind regards,
Guus Sliepen <gu...@sliepen.eu.org>

signature.asc

Moritz Maisel

unread,
Jan 15, 2004, 7:12:17 PM1/15/04
to
OOps,

sorry for my "blindness" and thanks very much!

Guus Sliepen wrote:
> On Thu, Jan 15, 2004 at 06:01:26PM +0100, Moritz Maisel wrote:
>
>
>>Is there any way to get a skript or some commands executed on
>>connection(!) of a host (OS is Linux)?
>
>
> man tinc.conf or http://tinc.nl.linux.org/documentation/tinc_4.html#SEC45
>
--

0 new messages