On Sun, May 16, 2004 at 01:20:46AM +0300, Aaron wrote:
> neat I was just wondering what to do when my cable connection dies.
> 
> I was hoping for a script that with do an ifconfig and if no ppp0 is
> found automatically redial.
> 
> Then I would make it run every x minutes (cron?) 
> Are the options essentially the same for cable as for adsl??

Yes.

When writing the script you should consider the possibility of two such
redials being run simulataniously (e.g: maybe you try running it
manually, and then the one from cron starts running). I use a simple
lock file to check for that.

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to