LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wvdial debugging (https://www.linuxquestions.org/questions/linux-networking-3/wvdial-debugging-270764/)

jato 12-27-2004 09:07 AM

Wvdial debugging
 
Hi,

I connect via my mobile phone Sony CMD j70 in Fedora Core 3.

This is what I get from running wvdial (With no stupid mode in [DIALER DEFAULTS]:

--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
OK
--> Modem initialized.
--> Sending: ATDT9310000
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATDT9310000
--> Waiting for carrier.
~[7f]}#@!}!p} }4}"}&} }*} } }%}&}$}!rc}'}"}(}" ]~~[7f]}#@!}!q} }4}"}&} }*} } }%}&}$}!rc}'}"}(}"IN~~[7f]}#@!}!r} }4}"}&} }*} } }%}&}$}!rc}'}"}(}"}#s~~[7f]}#@!}!s} }4}"}&} }*} } }%}&}$}!rc}'}"}(}"J`~~[
NO CARRIER
--> No Carrier! Trying again.

and nothing happens, it doesn't connect. only trying again and again until I got mad.. so it doesn't go.

However when I run wvdial (With stupid mode=1 in [DIALER DEFAULTS]:

--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
OK
--> Modem initialized.
--> Sending: ATDT9606660
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Dec 23 23:13:12 2004
--> pid of pppd: 27743

on this point I waited a couple of minutes, it doesn't work. then I just manually shut the programm with ctrl+C

Does somebody knows what may be wrong???

jailbait 12-27-2004 03:15 PM

"Does somebody knows what may be wrong???"

I am not certain of what the problem is. Here is how I interpret the wvdial output.

When not using stupid mode your ISP is sending a request for your logon ID. pppd does not recognize the request and sends nothing. The ISP times out and hangs up the phone.

When using stupid mode both pppd and the ISP are waiting for the other to respond and neither ever times out. This too could be a case of one end not recognizing what the other end said.

Since the problem may be that neither end recognizes what the other is saying I would check the initialization sequence to you modem. Your modem may be transmitting garbage in one or both directions. You correctly send ATZ to the modem as the first initialization string but wvdial does not mention a second initialization string. So in /etc/wvdial.conf try placing Init2 = ATM0L0 immediately after the Init1 string:

Init1 = ATZ
Init2 = ATM0L0

Init2 = ATM0L0 works for any phone line in the USA and hopefully it will work on the wireless phone system in Latvia (assuming that not having an Init2 is the problem).

If Init2 = ATM0L0 changes the error message that you get but does not fix the problem then you could try putting togather an Init2 string that works on your phone system. Here is a manual for the Hayes modem command set.

http://docs.kde.org/en/3.1/kdenetwor...-commands.html

If Init2 = ATM0L0 does not change the error indications that you are getting then I guessed wrong as to what the problem is.

---------------------------------
Steve Stites

jato 12-30-2004 03:14 AM

Thanks Steve for advice. But it doesn't work nothing changed when I even used such Init strings given in following site:
http://www.physiol.usyd.edu.au/daved...gsm-modem.html

And by the way ATM0L0 sends error in minicom from my Sony Terminal Adaptor :) so it doesn't recognise such command.

Can someone give some other tips please???

p.s. I repeat once more that on windows this sony connects as Standard Modem 19200 bps..


All times are GMT -5. The time now is 09:25 PM.