MLUG: Re: [MLUG] Checking network interfaces
Re: [MLUG] Checking network interfaces
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Thu, Feb 05, 2004 at 09:02:00PM -0000, Russell Horn wrote:
> Folks,
> 
> I have a script I want to run if interface ppp0 goes down. How would you
> go about testing if it's down and then calling the script.
> 
> I'm thinking I might have to use cron and bash - grep the output of
> ifconfig and determine whether to run my script.
> 
> Any alternatives?
> 
> Russell
> 

If you are just wanting to redial, use the 'persist' pppd option.

Regards,
Mark
EMAIL:PROTECTED
-- 
To invent, you need a good imagination and a pile of junk. -Thomas Edison
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members