Subject: Re: idle timeouts from isp
To: None <firstname.lastname@example.org>
From: Giles Lean <email@example.com>
Date: 11/04/2001 07:16:17
> Is there a way to prevent an idle timeout from an isp.
As others have suggested, ping is probably enough.
If ping fails, a HTTP request every few minutes should certainly do
the trick. I use a URL with a valid host (i.e. not the host below)
and a non-existent file to minimise data traffic.
echo $$ > /var/run/bigpond-keepalive.pid
ftp -o /dev/null http://www.example.com/keepalive > /dev/null 2>&1
Arrange that your ppp-up script call the above and your ppp-down
script kill it, and you're done.