View Single Post
Old 07-08-2008, 01:12 AM   #1 (permalink)
woodyofid
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8900
OS: 5.0.0.592
PIN: a colada
Carrier: tmobile
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default T-Mobile BB Curve 8320 modem challenges

Please Login to Remove!

Ok, I've followed every guide on this site and many others and come to the conclusion that there is something that is either strange about my curve or my pppd.

It should be noted that I did test the curve on Windows just to prove my data plan was not the issue. It works like a charm (other than being windows).

If I truly use no username, pppd will not attempt (allow) pap authentication and I get a loop of 0.0.0.0 addresses and then a timeout. See the IPCP ConfReq and Conf Rej, I am using wvdial for more verbosity in the chat, but using regular chat results in the same LCP failure...

[root@muspell dun]# pppd call gprs
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATH
ATH
OK
--> Sending: ATE1
ATE1
OK
--> Sending: AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0a
AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0a
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
Serial connection established.
using channel 35
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth pap>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
rcvd [LCP TermReq id=0x1]
sent [LCP TermAck id=0x1]
rcvd [LCP TermAck id=0x1]
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP TermReq id=0x2]
sent [LCP TermAck id=0x2]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0>]
rcvd [LCP TermAck id=0x2]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15>]
rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15>]
Deflate (15) compression enabled
rcvd [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
sent [LCP TermAck id=0x3]
rcvd [LCP TermAck id=0x3]
Connection terminated.
---------------------------------------------------------

It appears that you *must* authenticate even if the credentials are bogus. Even in the examples of working chat/pppd output (as posted on this forum) if you look closely pap auth does occur.

Now if I use a username (pick one, here I use 'guest'), the LCP negotiation dies with the PAP auth send. notice that the BB never responds.


[root@muspell dun]# pppd call gprs
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATH
ATH
OK
--> Sending: ATE1
ATE1
OK
--> Sending: AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0a
AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0a
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
Serial connection established.
using channel 36
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth pap>]
sent [LCP ConfAck id=0x4 <asyncmap 0x0> <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
sent [PAP AuthReq id=0x1 user="guest" password=""]
sent [PAP AuthReq id=0x2 user="guest" password=""]
sent [PAP AuthReq id=0x3 user="guest" password=""]
sent [PAP AuthReq id=0x4 user="guest" password=""]
sent [PAP AuthReq id=0x5 user="guest" password=""]
sent [PAP AuthReq id=0x6 user="guest" password=""]
sent [PAP AuthReq id=0x7 user="guest" password=""]
sent [PAP AuthReq id=0x8 user="guest" password=""]
sent [PAP AuthReq id=0x9 user="guest" password=""]
sent [PAP AuthReq id=0xa user="guest" password=""]
No response to PAP authenticate-requests
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
sent [LCP TermReq id=0x3 "Failed to authenticate ourselves to peer"]
Connection terminated.

------------------------------------------------------------------------------

At this point the BB will no longer respond to pppd (at all!) on any subsequent connect attempts. the chat will work (and I can converse with the modem via minicom), but no LCP responses. To make life interesting, Windows can no longer get the BB to connect either (dies on auth, post chat). I have to drop the battery on the bb to get Windows to work again and/or to get LCP responses in Linux/pppd.

I am using Mandriva 2008.1 (current on updates)
pppd 2.4.4
BB O/S 4.2.2.180

I have used both bluetooth and the usb cable w/XmBlackBerry. Both methods get the same exact result.

I have played with different pppd options (disabled every single compression and encryption option). I have tweaked the dial string (*99#, and so forth), I have tweaked the CDGCONT string based on many different variants posted on the web (that others have had work on various blackberries and T-Mobile). None of those changes have had an impact (positive or negative).

Any thoughts? I would call T-mobile, but since it works in Windows (I wish the ppp terminal in windows would show ALL in/output), I doubt they will much of an idea.

I have seen *one* example of a 8320 on T-Mobile work in Linux but the BB OS was a 4.5 beta which I am not quite yet willing to try.
Offline   Reply With Quote