Description of problem: When wvdial is the dialler for a ppp interface in DEMAND mode, and for some reason it gets a "NO CARRIER" error, it redials immediately but allows no time for the call to go through. This looping occurs multiple times per second until the process is killed. It appears the failure condition or a timer for failure to get carrier is not getting reset when redialling. Version-Release number of selected component (if applicable): wvdial-1.53-7 How reproducible: always Steps to Reproduce: 1.Configure a ppp interface in DEMAND mode with WVDIALSECT=someconnection 2.During dialling disconnect the phone line, pause, reconnect to cause connection failure. Actual results: wvdial loops, not waiting even for echo of the dialled number before declaring NO CARRIER. Expected results: Redial attempt that allows time for call to go through and carrier to be established. Additional info: I changed to a chat script which does not have this problem. Perhaps chat should be the default?
Syslog excerpt for the problem (I changed the phone number to avoid someone annoying my ISP): Dec 8 17:36:55 freedom pppd[8830]: Starting link Dec 8 17:36:56 freedom wvdial[20795]: WvDial: Internet dialer version 1.53 Dec 8 17:36:56 freedom wvdial[20795]: Initializing modem. Dec 8 17:36:56 freedom wvdial[20795]: Sending: ATZ Dec 8 17:36:56 freedom wvdial[20795]: ATZ Dec 8 17:36:56 freedom wvdial[20795]: OK Dec 8 17:36:56 freedom wvdial[20795]: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dec 8 17:36:56 freedom wvdial[20795]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dec 8 17:36:56 freedom wvdial[20795]: OK Dec 8 17:36:56 freedom wvdial[20795]: Modem initialized. Dec 8 17:36:56 freedom wvdial[20795]: Sending: ATDT1-999-999-9999 Dec 8 17:36:56 freedom wvdial[20795]: Waiting for carrier. Dec 8 17:36:57 freedom wvdial[20795]: ATDT1-999-999-9999 Dec 8 17:37:57 freedom wvdial[20795]: Timed out while dialing. Trying again. Dec 8 17:37:57 freedom wvdial[20795]: Sending: ATDT1-999-999-9999 Dec 8 17:37:57 freedom wvdial[20795]: Waiting for carrier. Dec 8 17:37:57 freedom wvdial[20795]: NO CARRIER Dec 8 17:37:57 freedom wvdial[20795]: ATDT1-999-999-9999 Dec 8 17:37:57 freedom wvdial[20795]: No Carrier! Trying again. Dec 8 17:37:58 freedom wvdial[20795]: Sending: ATDT1-999-999-9999 Dec 8 17:37:58 freedom wvdial[20795]: Waiting for carrier. Dec 8 17:37:58 freedom wvdial[20795]: NO CARRIER Dec 8 17:37:58 freedom wvdial[20795]: ATDT1-999-999-9999 Dec 8 17:37:58 freedom wvdial[20795]: No Carrier! Trying again. Dec 8 17:37:58 freedom wvdial[20795]: Sending: ATDT1-999-999-9999 Dec 8 17:37:58 freedom wvdial[20795]: Waiting for carrier. Dec 8 17:37:58 freedom wvdial[20795]: NO CARRIER Dec 8 17:37:58 freedom wvdial[20795]: ATDT1-999-999-9999 Dec 8 17:37:58 freedom wvdial[20795]: No Carrier! Trying again.
*** This bug has been marked as a duplicate of 53432 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.