[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adsl keep alive script
- To: linux-il(at-nospam)linux.org.il
- Subject: adsl keep alive script
- From: Ohad.Levy(at-nospam)infineon.com
- Date: Thu, 29 Nov 2001 16:30:28 +0100
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Return-Receipt-To: Ohad.Levy@infineon.com
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Title: Message
Hello
all,
I'm trying to write
a script which will keep my adsl connection up all the time.
I tried something
like running :
while
1
rm -rf
/var/run/pp*
pptp
parameters nodetach &
end
but from some
reason, whenever i ran it, it worked for about 10 minutes, and after ten
minutes, the pptp was detached and alot of pptp process started ( even that the
connection was still alive ).
I also wish to enter
in the script, that if the modem fails, i could telnet it a reboot it under the
system menu ( something like telnet with chat, maybe
netcat).
Anyone wrote
something like that?
Thanks,
Ohad.