LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2008, 02:24 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
Need help with wvdial.config details


I have a dialup modem internet connection up and running well.
The problem now is I want to add some options into the wvdial.config 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
2) When it discounnts from the other side, it will not try to reconnect
Code:
[Dialer Defaults]
Modem = /dev/ttyS2
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
Phone = 123456
Username = myusername
Password = mypassword
Dial Attempts = 3
Abort on Busy = on
Abort on No Dialtone = on
Auto Reconnect = off
Carrier Check = no
But wvdial just keep on trying to connect if it fails. Then after 3 times, it will just wait and prompt "WAITING" forever.
Where have I gone wrong?
Then if the wvdial tries to dail when the phone line is off, it will just be "WAITING" again. When I cancel it, plug in the phone line and try again, it will still be waiting ... In that case I have to switch off the modem, try to call, fail, power on and try again to be successful.

Last edited by khaos83; 04-30-2008 at 03:36 AM.
 
Old 04-30-2008, 04:28 AM   #2
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
ok ... I know why it didnt work.
Im using a old version of wvdial which does not recognise those options.
Apologise for the waste of disk space and bandwidth ...
 
Old 04-30-2008, 05:32 AM   #3
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
ok ... this is bad

I have a problem now, I have another problem with the newer version of wvdial. This time I my wvdial.conf is:

Code:
[Dialer Defaults]
Modem = /dev/ttyS2
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +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 only want it to retry 3 times.
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.
Then I compared the new and the old wvdial.conf. S11=55 was not in the new conf. I added in to try if it works but it doesn't.

Any idea why it can't redial using the newer version ?
 
Old 05-01-2008, 11:20 PM   #4
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
nevermind. I just put Dial Attempts = 1. And restart wvdial everything it fails.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C compiler cannot create executables See `config.log' for more details mehdiee Linux - Newbie 8 01-01-2009 08:46 AM
Looking for xdm config details not covered in man page Cluracan Linux - Desktop 2 05-28-2007 05:31 PM
multiple ISP's wvdial and config mudelf Linux - Networking 0 09-29-2003 11:38 AM
wvdial help Johnsernickle Linux - Networking 1 10-07-2002 05:25 AM
wvdial help Johnsernickle Linux - Newbie 2 10-05-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration