Re: Modem dials but can't connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clive,

Please send us your /etc/wvdial.conf
Just replace your LoginName and PassWord wth XXXXX

For and COMMAND, you can get usage info with
$ man COMMAND
including
$ man pppd

NumberValues used with +MS= are one of 34, 90, or 92
They specify the max speed/compression to be used with success
depedent on line quality.  +MS=92 is the current default, but is
poorly implemented at some IPs.
So a conservative fallback is to first test with +MS=34
If that is OK +MS=90  can be tested.

MarvS

On Sat, Jul 19, 2008 at 3:37 AM, Clive Oatley <cliveoatley@xxxxxxxxx> wrote:
> Marvin,
> Please see my explanations & requests for clarification to some of your suggestions in *CAPITALS* below (Just using capitals to differentiate between you & me, not shouting or flaming ;->).
>
> Also, is it possible to turn the modem sound off as I find the dialling noises really annoying.
>
> And finally how do you disconnect i.e. what's the command to disconnect once you've successfully connected.
>
> Thanks,
> Clive
> -----Original Message-----
> From: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
> Sent: Saturday, 19 July 2008 10:10 AM
> To: Clive Oatley
> Cc: Discuss@xxxxxxxxxxxxx
> Subject: Re: Modem dials but can't connect
>
> Clive
>
> With
> $ man pppd *PLEASE ELABORATE. IS THIS AN INSTRUCTION FOR ME TO FOLLOW?*
>
>     2      An error was detected in processing the options given,
> such as two mutually exclusive options being used. *PLEASE EXPLAIN WHAT THE TWO MUTUALLY EXCLUSIVE OPTIONS WERE.*
>
>> changes: +MS=34 & +MS=90 gave "bad init string" messages.
> Just use +MS=NumberValue  once as the last item on the line. *SHOULD "number value" BE REPLACED BY AN ACTUAL NUMBER  & IF SO WHAT WOULD BE A RANGE OF NUMBERS THAT WOULD BE APPROPRIATE OR LEFT AS "NumberValue"?*
>
> * I TRIED EACH SEPARATELY & BOTH GAVE "BAD INIT STRING" MESSAGES. I RAN ALL WVDIAL.TXT SUGGESTIONS ONE AT A TIME AS CHANGES TO THE DEFAULTS & IN THESE INSTANCES,I.E. +MS=,THEY WERE AT THE END OF THE LINE & REPLACED "+FCLASS=0"  .
>
> Re:  --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3 ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3
> --------------
> X3 shouldn't be last. Use:
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 or
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34   *I DON'T THINK I REALLY NEEDED X3, BUT WILL TRY AGAIN WITH IT IN THE CORRECT POSITION*
>
> RE: Sending: ATDP0198333713
> ATDP is for older pulse dial phone lines,  If yours is Touch Tone, use the default ATDT * I JUST USED THIS (atdp) AS PART OF THE TEST PROCESS. I ALSO USED THE TONE OPTION.*
>
> You can also test adding a line
> Stupid Mode = 1
> needed with some Internet Providers. *I TRIED THIS WITH "YES" AS PER THE NOTES, WILL TRY AGAIN WITH "1"*
>
> MarvS
>
> On Fri, Jul 18, 2008 at 7:33 PM, Clive Oatley <cliveoatley@xxxxxxxxx> wrote:
>> I have reached the point where I can get the modem to dial, but it
>> fails to connect.
>> I have worked through wvdial.txt & tried the solutions offered there.
>> Some
>> changes: +MS=34 & +MS=90 gave "bad init string" messages.
>> Also, is it possible to turn of the modem sound off as I find the
>> dialling noises really annoying.
>>
>> See below:
>>
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf [sudo] password for
>> clive:
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 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: ATDT0198333713 ;
>> --> Waiting for carrier.
>> ATDT0198333713 ;
>> OK
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT0198333713 ;
>> --> Waiting for carrier.
>> ATDT0198333713 ;
>> OK
>> Caught signal 2:  Attempting to exit gracefully...
>> --> Disconnecting at Sat Jul 19 08:58:47 2008
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> --> Sending: ATQ0
>> ATQ0
>> OK
>> --> Re-Sending: ATZ
>> ATZ
>> OK
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3
>> OK
>> --> Modem initialized.
>> --> Sending: ATDT0198333713 ;
>> --> Waiting for carrier.
>> ATDT0198333713 ;
>> OK
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT0198333713 ;
>> --> Waiting for carrier.
>> p
>> ATDT0198333713 ;
>> Caught signal 2:  Attempting to exit gracefully...
>> --> Disconnecting at Sat Jul 19 09:02:43 2008
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ERROR
>> --> Bad init string.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ERROR
>> --> Bad init string.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=34 X3
>> ERROR
>> --> Bad init string.
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ERROR
>> --> Bad init string.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ERROR
>> --> Bad init string.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +MS=90 X3
>> ERROR
>> --> Bad init string.
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3
>> ATQ0 V1 E1 S0=0  &C1 &D2 +FCLASS=0 X3
>> OK
>> --> Modem initialized.
>> --> Sending: ATDP0198333713 ;
>> --> Waiting for carrier.
>> ATDP0198333713 ;
>> OK
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDP0198333713 ;
>> --> Waiting for carrier.
>> p
>> ATDP0198333713 ;
>> Caught signal 2:  Attempting to exit gracefully...
>> --> Disconnecting at Sat Jul 19 09:08:28 2008
>> clive@clive-desktop:~$ sudo gedit /etc/wvdial.conf
>> clive@clive-desktop:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60 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: ATDT0198333713 ;
>> --> Waiting for carrier.
>> ATDT0198333713 ;
>> OK
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT0198333713 ;
>> --> Waiting for carrier.
>> ATDT0198333713 ;
>> OK
>> Caught signal 2:  Attempting to exit gracefully...
>> --> Disconnecting at Sat Jul 19 09:11:35 2008
>> clive@clive-desktop:~$ sudo wvdialconf wvtest Editing `wvtest'.
>>
>> Scanning your serial ports for a modem.
>>
>> ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1
>> ttyS0<*1>: failed with 2400 baud, next try: 9600 baud
>> ttyS0<*1>: ATQ0 V1 E1 -- OK
>> ttyS0<*1>: ATQ0 V1 E1 Z -- OK
>> ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
>> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
>> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
>> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>> ttyS0<*1>: Modem Identifier: ATI -- IP568 Data/Fax/Voice 56K Modem
>> ttyS0<*1>: Speed 19200: AT -- OK
>> ttyS0<*1>: Speed 38400: AT -- OK
>> ttyS0<*1>: Speed 57600: AT -- OK
>> ttyS0<*1>: Speed 115200: AT -- OK
>> ttyS0<*1>: Max speed is 115200; that should be safe.
>> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>> Modem Port Scan<*1>: S2   S3
>>
>> Found a modem on /dev/ttyS0.
>> wvtest<Warn>: Can't open 'wvtest' for reading: No such file or
>> directory
>> wvtest<Warn>: ...starting with blank configuration.
>> Modem configuration written to wvtest.
>> ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>> clive@clive-desktop:~$
>>
>>
>>
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux