[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ADSL automatic re-dialing
- To: "Linux-Il" <linux-il(at-nospam)linux.org.il>
- Subject: ADSL automatic re-dialing
- From: "Haim Gelfenbeyn" <rnews(at-nospam)hageltech.com>
- Date: Sun, 4 Feb 2001 11:56:32 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Importance: Normal
- Reply-To: <haim(at-nospam)hageltech.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hello,
I'm trying to make my Linux box re-dial automatically if ADSL
connection dies. I often need to access my home computer from work, so
manual dialing is not an option.
The problem is, I don't know what happens on the Linux side if
connection dies... My first try is to create /etc/ppp/ip-down.local
with these lines:
killall pptp
# give pptp time to exit cleanly
sleep 10
# remove this file or pptp won't start
rm -f /var/run/pptp/10.0.0.138
# re-start pptp
/usr/local/sbin/pptp 10.0.0.138 <other pptp options omitted>
/etc/ppp/ip-up.local will update dynamic DNS so I will be able to find
my computer from the outside.
If anybody already solved this problem, please share you solution. I
know that mine is not perfect...
Thanks,
Haim Gelfenbeyn.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il