Re: Control pppd behaviour
Ashmath Khan wrote:
> Its neither about PPP negotiation nor about separate invocation of pppd.
>
> As I mentioned its about retry mechanism or the algorithm or you can
> call it the strategy employed to retry if things fail.
>
> For the normal retries if the retry interval is 30 secs and max retries is 5 ...
> then the 1st retry is at 30 secs
> 2nd at 60 secs
> 3rd at 90 secs
>
> But I need it something like this:
> 1st retry at 30 secs
> 2nd retry at 120 secs
> 3rd retry at 300 secs etc..
>
> Hope its clear. thanks.
Ashmath Khan wrote:
> I want to consider all failure cases(at lcp, at chap etc), any
> negotiation failure etc, for which pppd would retry with the server
> from scratch.
> Basically I don't pppd to retry after a failure but I want pppd to
> exit, and then the retry will be done by my program by relaunching
> pppd. is this possible ? maybe i need to keep the retries as zero ?
> thanks.
How about using the pppd "updetach" option, and using a script to invoke
and retry pppd as desired?
--
James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Audio Users]
[Hams]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Linux Resources]
[Fedora Users]