Re: Modem dials but can't connect

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

 



Clive,

In your prior email, some of the lines of [Dialer default] were
terminated with a semi-colon
They should be removed.  Be sure to do these edits with a simple text
editor, such as gedit.

MarvS


On Sun, Jul 20, 2008 at 3:24 AM, Clive Oatley <cliveoatley@xxxxxxxxx> wrote:
> Thanks for the input Antonio. Tried your solutions, but still get the "bad
> init string" message. Couldn't turn off the dialler noise either.
> Frustrated, moi?
>
> Thanks again for the support,
> Clive
>
> -----Original Message-----
> From: Antonio Olivares [mailto:olivares14031@xxxxxxxxx]
> Sent: Sunday, 20 July 2008 1:22 PM
> To: Clive Oatley
> Cc: discuss@xxxxxxxxxxxxx
> Subject: RE: Modem dials but can't connect
>
>
> Clive,
>
> I have had a similar problem with an external modem.  I could connect with
> it using slax, but not with Fedora :(
>
> It did not allow the +MS=90 or +MS=34, but the following strings did get
> through
>
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=V90 or
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=V34
>
> There are some ppp options that do not work together, if you have Auto DNS =
> yes and in /etc/resolv.conf you have nameservers, pppd will complain :(
>
> In my /etc/pppd/options I have (copied from slax to Fedora, fedora only had
> lock option ), this way I could connect.
>
> Checking settings of:   /etc/ppp/options
> asyncmap 0
> crtscts
> lock
> modem
> proxyarp
> lcp-echo-interval 30
> lcp-echo-failure 4
>
> Now depending on what type of modem that you have and your ISP, it might
> help to know which is your ISP and determine why the connection is not going
> through
>
> Here's wvdial.conf for the external modem that worked without the Init2
> string:
>
> [root@localhost etc]# cat wvdial.conf
>
>
> [Modem0]
> Modem = /dev/ttyS0
> Baud = 57600
> SetVolume = 2
> Dial Command = ATDT
> Init1 = ATZ
> Init3 = ATM1L2
> FlowControl = CRTSCTS
> [Dialer awesomenet]
> Username = my_username
> Password = my_password
> Phone = 7072000
> Stupid Mode = 1
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Inherits = Modem0
>
> There you could see the command SetVolume = 2, if you do not want sound you
> may change that to SetVolume = 0 if it works for your modem of course.
>
> Regards,
>
> Antonio
>
>> [Dialer Defaults]
>> Init1 = ATZ ;
>> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem
>> Baud = 115200 New PPPD = yes Modem = /dev/ttyS0 ISDN = 0 Phone =
>> 0198333713 ; Password = xxxxxxxxxxxx ; Username = xxxxxxxxxxxxx;
>> Carrier check = no Stupid Mode = 1
>>
>> I have tested with your suggestions & still can't connect. Whenever I
>> replace "+FCLASS=0" with "+MS=34", "+MS=NumberValue"  or "+MS=90" I'm
>> still getting the "bad init string" message.
>>
>> I do appreciate the time you are giving me.
>>
>> Clive
>>
>> -----Original Message-----
>> From: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
>> Sent: Saturday, 19 July 2008 11:43 PM
>> To: Clive Oatley
>> Cc: Discuss@xxxxxxxxxxxxx
>> Subject: Re: Modem dials but can't connect
>>
>> 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