Find the answer to your Linux question:
Results 1 to 2 of 2
I have a dialup modem internet connection up and running well. The problem now is I want to add some options into the wvdial.conf file but I can't seem to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    10

    Need help with wvdial.conf, Dial Attempts


    I have a dialup modem internet connection up and running well.
    The problem now is I want to add some options into the wvdial.conf file but I can't seem to make it work.

    I added in the stuff in red.
    What I wanted to achieve is:
    1) To stop calling after 3 tries

    Code:
    [Dialer Defaults]
    Modem = /dev/ttyS2
    Baud = 115200
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    ; Phone = <Target Phone Number>
    ; Username = <Your Login Name>
    ; Password = <Your Password>
    Phone = 123456
    Username = myusername
    Password = mypassword
    Dial Attempts = 3
    I have added in the red.
    I made it call my phone and i hang up the call. It will call again but this time it is not able to call out. Giving me a "Timed out while dialing". It keep trying and same message.
    It will be able to call again if I cancel it and wvdial again.

    Code:
    --> WvDial: Internet dialer version 1.53
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT123456
    --> Waiting for carrier.
    ATDT123456
    BUSY
    --> The line is busy. Trying again.
    --> Sending: ATDT123456
    --> Waiting for carrier.
    ATDT123456
    --> Timed out while dialing.  Trying again.
    --> Sending: ATDT123456
    --> Waiting for carrier.
    ATDT123456
    --> Timed out while dialing.  Trying again.
    --> Sending: ATDT123456
    --> Waiting for carrier.
    ATDT123456

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    10
    nevermind. I just put Dial Attempts = 1. And restart wvdial everything it fails.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •