Mike,
I remembered from a previous thread that you were using Verizion. Please note that Verizion and Sprint use the same dial command to access the network (ATDT#777) other carriers require a different access point and use (AT+CGDCONT=1,"IP","internet.com" ATDT*99#). The AT commands before the dial command initialize the modem into the correct command state so the calling program can talk to it properly. The verizion chat script only resets the modem and the dials out. Most of the time this should work.

I wanted you to use the sprint chat script to make sure the modem was in the correct state.
Please put these commands into a chat script and try:
ABORT ERROR
'' AT&F
OK ATZ
OK AT
OK ATE0
OK ATE0V1
OK ATS0=0
OK AT
OK ATE0V1
OK ATI
OK AT
OK ATDT#777
CONNECT

This is what the commands do:
AT&F &F - Restore factory configuration
ATZ Z - Resets the modem and loads stored profile 0
ATE0 E0 - Inhibits the echoing of commands.
ATE0V1 E0 - Inhibits the echoing of commands. V1 - Displays result codes in verbose format.
ATS0=0 S0=0 - Number of rings before Auto-Answer.
ATI I - Reports the product code

The extra "OK AT" are just to make sure the return status is still OK.

Send me the verbose output after trying.

If your device is connected to a BlackBerry Enterprise Server, modem support may have been disabled in the IT Policy. Does it still work with Verizion's Access Manager for Windows?

- Andy

Michael L. Stokes wrote:
Andy,

Thanks for taking a look at this problem.   Several comments:

1) I'm using Verizon instead of Sprint. The ppp config and the chat-script in the barry distribution are
   basically those I submitted to Chris.

2) I did try using the latest CVS versions of the verizon scripts and it behaves the same as current.

3) From a technical perspective, the blackberry chat and ppp config were working great before my employer decided that I had to have a password on the device. Since I did not change either of these two files (other than adding the verbose/password option to pppob), I suspect that the BB is not expecting the dial command at the point it is being sent. Is this possible?

I would recommend other things to try.

Thanks
Mike

Andy Herkey wrote:
Mike,
Thanks for posting the results of  your tests!
The good news is that your device accepted the password and the modem was responding to commands. It is hanging on the dial command (ATD#777). You may need to modify your chat scripts to properly initialize the modem.

Try changing your chat script to the barry-sprint.chat script. If that doesn't work try using both of the sprint scripts together.

You should see a CONNECT message after the dial command like this:
IPModem special packet:
00000000: 00 00 00 00 b0 00 00 00 b0 00 00 00 00 00 00 00 ................
   00000010: 18 00 00 00 78 56 34 12                          ....xV4.

IPModem special packet:
00000000: 00 00 00 00 b0 00 00 00 b0 00 00 00 00 00 00 00 ................
   00000010: 18 00 00 00 78 56 34 12                          ....xV4.

ReadThread:
   00000000: 0d 0a 43 4f 4e 4e 45 43 54 0d 0a                 ..CONNECT..


- Andy

Michael L. Stokes wrote:
Andy/Chris,

It does not work. Appears to hang. I have an 8703e and the results as you requested are
in the attached file.  The file was derived using script.

I will be glad to do any experimentation or any other thing I can do to help.

Thanks
Mike


Andy Herkey wrote:
Chris Frey wrote:
On Wed, Jul 02, 2008 at 12:28:26AM -0500, Michael L. Stokes wrote:
Chris,

My Blackberry was recently changed so that I have to use a password to unlock the device. I can longer tether my computer to it. Ia'm guessing I'll have to send the blackberry this password when calling pppob. Is there support for this, and if so, please tell me what I need to know.

Hi Michael,

You'll need to get the latest CVS version of Barry, and then use the
-P command line option to specify your password.  This is specified
in the pppd options file you use to connect, on the pty line.  Put the
entire command in quotes:

    pty "/usr/sbin/pppob -P password"

The password option is experimental, and may not work on all devices.
Andy Herkey, who implemented this feature, reports success on the 8703e.

If you have trouble, please add verbose protocol data, and post it to the
mailing list:

    pty "/usr/sbin/pppob -vP password"

Good luck,
- Chris

Michael,

I would be very interested in your results.
Please let me know if you have any problems.

Thanks,
Andy

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel
------------------------------------------------------------------------

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
------------------------------------------------------------------------

_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
------------------------------------------------------------------------

_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel
begin:vcard
fn:Andy Herkey
n:Herkey;Andy
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to