On Sat, Oct 12, 2002 at 22:04:37 -0400, Japhy Ryder wrote:

[...]

> This always works fine for initiating a connection, but when my ppp
> tunnel is dropped I have to manually issue the preceding commands
> again. I know there is a better way to do this, but I can't seem to
> figure it out yet. Anyone here who could share an l2tpd.conf file or
> offer any advice I would greatly appreciate it.

On Debian, you can place scripts that should be executed after the ppp
connection comes up in /etc/ppp/ip-up.d. This would be the right place
for a script that starts the L2TP tunnel. Together with the persist
option of pppd (restart the pppd and connect after the old connection
died, your DSL connection in this case) or even a line like

9:23:respawn:/usr/sbin/pppd nodetach call dsl-provider

in /etc/inittab you should always have a DSL connection with an L2TP
tunnel. Of cource, this has nothing to do with a special l2tpd
configuration, but maybe you get what you want.

Regards,
Tino

-- 
[EMAIL PROTECTED]
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/

Reply via email to