linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Cameron <quozl@laptop.org>
To: linux-ppp@vger.kernel.org
Subject: Re: Error configuring 2 Huawei (EC1261 model )CDMA modem at same
Date: Thu, 30 Dec 2010 22:55:07 +0000	[thread overview]
Message-ID: <20101230225507.GD4279@us.netrek.org> (raw)
In-Reply-To: <AANLkTimJxOafgL6qg9ENCRHWqptb14tpzQY7Gi2G10YG@mail.gmail.com>

On Thu, Dec 30, 2010 at 02:47:59PM +0530, vandana salve wrote:
> At a time only one modem is configured successfully. This works with
> either of the modem but not with both modems at same time

Perhaps the modems are interfering with each other.

Test as follows: With one modem connected to internet, use AT commands
on the second modem to reset it (ATZ), query signal strength (AT+CSQ),
registration with network (AT+CGATT?), and scan for networks (AT+COPS).
Repeat the tests with both modems disconnected from the internet.
Compare the results.

Ensure good electrical and physical separation of:

- the modem power supplies,
- the modem RF stages,
- the modem antenna systems.

Repeat the tests after change of separation.

To automate testing, here is one method, using chat included with pppd
package:

# cat << EOF > test.chatscript
REPORT +CGATT:
REPORT +CSQ:
'' AT
OK-AT-OK AT+CGATT?
OK-AT-OK AT+CSQ
OK-AT-OK ''
EOF
# chat -f test.chatscript -t3 -r test.results < /dev/ttyUSB0 > /dev/ttyUSB0

-- 
James Cameron
http://quozl.linux.org.au/

      reply	other threads:[~2010-12-30 22:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30  9:29 Error configuring 2 Huawei (EC1261 model )CDMA modem at same time vandana salve
2010-12-30 22:55 ` James Cameron [this message]

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=20101230225507.GD4279@us.netrek.org \
    --to=quozl@laptop.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).