View Single Post
Old 07-09-2008, 03:01 AM   #3
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
Default pppd 2.4.4 modification test

In file lcp.c on line 1597 is the CONFREJ call. I commented it out and sure enough, I get a full LCP and IPCP negotiation. My first pass connect died after 12 seconds and I am debugging that as a configuration issue for now.


[root@muspell blackberry]# /home/woody/blackberry/ppp/sbin/pppd call bbppp
abort on (BUSY)
abort on (NO CARRIER)
abort on (VOICE)
abort on (NO DIALTONE)
abort on (NO DIAL TONE)
abort on (NO ANSWER)
abort on (DELAYED)
abort on (ERROR)
Initializing
send (AT^M)
expect (OK)
^M
OK
-- got it

send (ATE0V1^M)
expect (OK)
^M
^M
OK
-- got it

send (AT^M)
expect (OK)
^M
^M
OK
-- got it

send (AT+cgdcont=1,"IP","wap.voicestream.com"^M)
expect (OK)
^M
^M
OK
-- got it

send (ATS0=0^M)
expect (OK)
^M
^M
OK
-- got it

send (AT^M)
expect (OK)
^M
^M
OK
-- got it

send (ATE0V1^M)
expect (OK)
^M
^M
OK
-- got it

send (AT^M)
expect (OK)
^M
^M
OK
-- got it

send (AT+cgdcont=1,"IP","wap.voicestream.com"^M)
Dialing
expect (OK)
^M
^M
OK
-- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
^M
CONNECT
-- got it

send ()
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab0fa16f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xf <asyncmap 0x0> <auth pap>]
No auth is possible
Not rejecting PAP (Woody)
sent [LCP ConfAck id=0xf <asyncmap 0x0> <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0xab0fa16f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfAck id=0x2 <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 [IPCP ConfReq id=0x10 <addr 169.254.1.1>]
sent [IPCP ConfAck id=0x10 <addr 169.254.1.1>]
rcvd [IPCP ConfNak id=0x1 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
sent [IPCP ConfReq id=0x2 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
rcvd [IPCP ConfAck id=0x2 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
not replacing existing default route via 192.168.151.1
local IP address 10.171.158.48
remote IP address 169.254.1.1
primary DNS address 66.94.9.120
secondary DNS address 66.94.25.120
Script /etc/ppp/ip-up started (pid 20389)
Script /etc/ppp/ip-up finished (pid 20389), status = 0x0
rcvd [IPCP ConfReq id=0x11 <addr 169.254.1.1>]
Connect time 0.1 minutes.
Sent 0 bytes, received 10 bytes.
Script /etc/ppp/ip-down started (pid 20398)
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x11 <addr 169.254.1.1>]
rcvd [IPCP ConfNak id=0x3 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
sent [IPCP ConfReq id=0x4 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
rcvd [IPCP ConfAck id=0x4 <addr 10.171.158.48> <ms-dns1 66.94.9.120> <ms-dns3 66.94.25.120>]
not replacing existing default route via 192.168.151.1
local IP address 10.171.158.48
remote IP address 169.254.1.1
primary DNS address 66.94.9.120
secondary DNS address 66.94.25.120
Script /etc/ppp/ip-down finished (pid 20398), status = 0x0
Script /etc/ppp/ip-up started (pid 20413)
Script /etc/ppp/ip-up finished (pid 20413), status = 0x0
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
rcvd [IPCP ConfReq id=0x12 <addr 169.254.1.1>]
Connect time 0.1 minutes.
Sent 12 bytes, received 10 bytes.
Script /etc/ppp/ip-down started (pid 20422)
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x12 <addr 169.254.1.1>]
Script /etc/ppp/ip-down finished (pid 20422), status = 0x0
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
rcvd [LCP ProtRej id=0x13 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Terminating on signal 2
sent [LCP TermReq id=0x3 "User request"]
rcvd [LCP TermAck id=0x3]
Connection terminated.
abort on (BUSY)
abort on (ERROR)
abort on (NO DIALTONE)

Sending break to the modem
send (\K^M)
send (\K^M)
send (\K^M)
send (\d\d+++\d\dATH^M)
expect (OK)
^M
OK
-- got it

send (AT^M)
expect (OK)
^M
^M
OK
-- got it

send (ATE0V1^M)
expect (OK)
^M
^M
OK
-- got it

send (AT^M)
expect (OK)
^M
^M
OK
-- got it

send (AT+cgdcont=1,"IP","wap.voicestream.com"^M)
expect (OK)
^M
^M
OK
-- got it

send (ATS0=0^M)

PDP context detached
Serial link disconnected.
Offline   Reply With Quote