I check the data on the port, and find one issue.
i use chat util to dial ATD*99***1#, and it got the CONNECT and other data
(I guest it is the REQ from the peer)
0d 0a 43 4f 4e 4e 45 43-54 0d 0a  (CONNECT)
7e ff 7d 23 c0 21 7d 21-7d 21 7d 20 7d 32 7d 22
7d 26 7d 20 7d 2a 7d 20-7d 20 7d 23 7d 24 c0 23
7d 27 7d 22 7d 28 7d 22-55 83 7e

However, the pppd seems to ignore the REQ,
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfNak id=0x1 <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x2 <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0xa0000>]

rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth pap>]
sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth pap>]

PAP authentication succeeded
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x1]
rcvd rcvd [LCP TermReq id=0x3]

Will that REQ be the point?

On Tue, Jan 26, 2010 at 6:08 PM, ypluo <[email protected]> wrote:

> my work version with China unicom/CMCC
> /dev/ttyUSB1
> crtscts
> noauth
> nodetach
> usepeerdns
> defaultroute
> modem
> 460800
> 0.0.0.0:0.0.0.0
> noipdefault
>
> it's highly dependent on your modem implementation, I suggest set less
> options, and if possible check the modem's log.
>
> the ppp link setup proc, firstly AT command for pdp context LCP link
> setup, may along with auth, then the ipcp procedure to get IP address,
> please refer to 3GPP TS27.060
>
>
>
>
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to