From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: some problem
Date: Wed, 03 Mar 2010 21:40:07 +0000 [thread overview]
Message-ID: <4B8ED737.3000107@workingcode.com> (raw)
In-Reply-To: <1267602954.2112.31.camel@rs.local>
James Cameron wrote:
> On Wed, Mar 03, 2010 at 11:41:15PM +0900, Murali K. Vemuri wrote:
>> Jan 1 00:02:37 (none) local2.info chat[109]: send (AT^M)
>> Jan 1 00:02:37 (none) local2.info chat[109]: send (AT
>> +CGDCONT=1,"ip","web.sktelecom.com",,,^M)
>> Jan 1 00:02:38 (none) local2.info chat[109]: send (ATDT*98#^M)
>> Jan 1 00:02:38 (none) local2.info chat[109]: expect (CONNECT)
>> Jan 1 00:03:23 (none) local2.info chat[109]: alarm
>
> There's no evidence in that chat log that you are receiving anything
> back from the modem. You should receive OK in response to AT and
> AT+CGDCONT. Can you confirm that with a manual connection between
> keyboard and modem?
More to the point, it looks like he removed the "OK" that I had in my
sample chat script, so even if it happens, he's not waiting for it.
It's important to note that most modem-like devices will balk if you
send back-to-back AT commands. Internally, they don't design using the
usual sorts of UARTs that ordinary computers use. Instead, for
autobauding, they use bit-bashing techniques. One of the consequences
of this is that if you send a new character (particularly "A") right as
the modem is attempting to respond, it will treat that as a request to
abort the previous command.
Thus, you have to stop and wait for each "OK" response, or it'll fail
miserably, and that's not what he's doing.
Miniterm, kermit, cu or equivalent sounds like the right debugging tool
at this point. And the programmer's reference manual and tech support
line for the manufacturer might be handy. I don't think the device
works, at least here.
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
next prev parent reply other threads:[~2010-03-03 21:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-03 7:55 some problem Murali K. Vemuri
2010-03-03 13:34 ` Eugene Paskevich
2010-03-03 13:37 ` James Carlson
2010-03-03 14:03 ` Charlie Brady
2010-03-03 14:41 ` Murali K. Vemuri
2010-03-03 20:30 ` James Cameron
2010-03-03 21:40 ` James Carlson [this message]
2010-03-04 2:31 ` Murali K. Vemuri
2010-03-04 2:53 ` James Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B8ED737.3000107@workingcode.com \
--to=carlsonj@workingcode.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.