Red Hat Bugzilla – Bug 53432
wvdial retries forever on busy or no dialtone
Last modified: 2007-04-18 12:36:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-kh5 i686; en-US; rv:0.9.1)
Description of problem:
If the modem is not connected, the destination number
is busy or the line is currently in use at another
extension, wvdial will always redial forever. I've
patched wvdial to add "abort on busy" and "abort on
no dial tone" options that allow the user to disable
this automatic retrying.
Patch will be attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Disconnect the phone line from the modem
2. /sbin/ifup ppp0
3. wvdial tries every 5 seconds until you take down ppp0
Created attachment 31354 [details]
Patch to add "abort on busy" and "abort on no dial tone" options
BTW, wvdial development seems to have stopped. This is why
I'm passing the patch to you guys rather than the author.
*** Bug 79677 has been marked as a duplicate of this bug. ***
Please note that bug 79677 was not the same behaviour as this
bug. Bug 79677 describes a very quick retry (less than 1 second)
which doesn't wait long enough for the far side to answer.
In my case, wvdial continued to redial, as normal, when the
modem replied BUSY or NO DIAL TONE. In many cases, this is
correct, desired behaviour.
However, in my case, I share the phone line with other people in
the house. When they are on a call, I would like wvdial to only
try dialling once, then give up. Hence my patch to add the
ABORT ON BUSY and ABORT ON NO DIAL TIME options.
should work with current versions