Bug 10639 - ppp (or ppp-watch) not honoring maxfail
Summary: ppp (or ppp-watch) not honoring maxfail
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-07 16:34 UTC by Scott Sharkey
Modified: 2014-03-17 02:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-07 05:05:04 UTC
Embargoed:


Attachments (Terms of Use)
Fix ppp-watch to honor a MAXFAIL variable controlling dialing (1008 bytes, patch)
2000-04-20 23:13 UTC, Scott Sharkey
no flags Details | Diff

Description Scott Sharkey 2000-04-07 16:34:03 UTC
It appears that ppp no longer honors the maxfail option to limit the number
of times to redial the modem if the line does not connect.  This may be in
ppp-watch -- I've just started looking at it's code.

The problem my customer is having is that they are trying to dial a number
of machines located around the state (NOT ISP's) and sometimes one of them
is down.  ppp just keeps dialing that one, generating hundreds of phone
calls.

A second problem is that the line sometimes fails to disconnect, even if
ifdown is called.  I will attempt to fix that with a "maxconnect" option.

Comment 1 Scott Sharkey 2000-04-20 23:13:59 UTC
Created attachment 208 [details]
Fix ppp-watch to honor a MAXFAIL variable controlling dialing

Comment 2 Scott Sharkey 2000-04-20 23:16:59 UTC
I have generated a patch, which will look in ifcfg-pppx for a MAXFAIL setting
that will stop the redialing after a certain number of tries.  It's in the
attachement.  I found that setting the idle and/or maxconnect options will
force the line to drop after x idle seconds, or y seconds connected.

Comment 3 Nalin Dahyabhai 2000-05-02 20:26:59 UTC
The ppp-watch program is part of the initscripts package, so I'm changing the
component to initscripts.

Comment 4 Bill Nottingham 2000-12-12 07:34:14 UTC
Will be added in initscripts-5.53-1.

Comment 5 Alex Kanavin 2001-05-06 20:29:14 UTC
This patch introduces a serious bug into ppp-watch, please see bug #39231 for a
fix.


Note You need to log in before you can comment on or make changes to this bug.