Hi Patrick,

The script in question uses and pass an option called PERSIST=yes that
causes it to redial if the connection is lost.  Myself,  I added some
stuff in the script that checks for a connection (and retries in two
minutes) before the script exits.  Each attempt causes a counter to
click over one more time, if the counter reaches 10 then it log a
message to log files (via syslogd) and it goes to sleep for
15minutes.  After 15 minutes it starts all over agian. This time if it
fails it logs a fatal error in the log files and exits the script. 
Note:  for this to work I had to disable the PERSIST option.  

--
robert 

Patrick Friedel wrote:
> 
> OK, this one should be easy - I finally started to use ifup and netcfg
> instead of rolling my own ppp script, and I only have one question:
> 
>   When ifup notices that the interface is down, it automatically
> redials.  (Cool!)  But, how often will it redial?  Say my ISP is
> having major dial-in problems, and I'm not getting connected (busy
> signals, no answer, etc..)?  $0.06 per call adds up, if slowly. :)
> 
>   I've just had to deal with too many ISDN nutcases who have dialed
> once per second for a whole month (what's this $14,000 bill for? :) to
> be completely complacent about it.
> 
>   I'm not concerned about tying up the ISP's port - I'm on a staff
> dial-in box (read: we get the 3com betas tested on us first before the
> customer pool gets messed with), so I'm not tying up anything that
> they don't know about.
> 
>   It seems to dial in around once per minute during some preliminary
> testing, but over an 8 hour day that'd add up to $28 over a bad day.
> 
>   I looked for any documentation I could find on it, but I couldn't
> find anything in the archives or pretty much anywhere else.  Thanks!
> 
> --
> Patrick Friedel
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with
>                        "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to