I got it. This is my modem's problem. The datas are wrong in my modem .

On Wed, Jan 27, 2010 at 7:24 PM, Xingwen Huang <hxwsi...@gmail.com> wrote:

> I check the modem in my PC, using linux pppd, and it works.
> BTW, the same options, the same MUXD, using no flow control.
> r...@ubuntu:/etc/ppp# pppd call gprs2
> local  IP address 10.7.157.79
> remote IP address 10.64.64.64
> primary   DNS address 211.136.20.203
> secondary DNS address 211.136.20.203
>
>
> On Wed, Jan 27, 2010 at 9:48 AM, hongxue.ren <bigc...@gmail.com> wrote:
>
>> What type is your modem?
>>
>> Check your modem serial setting, and try to use some AT command to change
>> the flow control.
>>
>> On Wed, Jan 27, 2010 at 9:28 AM, Xingwen Huang <hxwsi...@gmail.com>wrote:
>>
>>> 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 <lypin...@gmail.com> 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: 
>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>> website: http://groups.google.com/group/android-porting
>>>>
>>>
>>>  --
>>> unsubscribe: 
>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>> website: http://groups.google.com/group/android-porting
>>>
>>
>>  --
>> unsubscribe: 
>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>> website: http://groups.google.com/group/android-porting
>>
>
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to