I think it should not something with pppd but please check you chat scripts.
The error msg just said your connection script hasn't dial out to the remote
peer successfully.
You can try to invoke chat with -v option to get details.

Another possible reason for this is simple, pppd is not running on the other
side-the remote computer. See,

http://lkml.indiana.edu/hypermail/linux/net/9604.1/0054.html

Best regards,
/Adam


On Wed, Jan 27, 2010 at 10: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
>



-- 
Adam Jiang
-☆-★-☆-★-☆-★-☆-★-☆-★-☆-★-☆-★-
e-mail:jiang.a...@gmail.com <e-mail%3ajiang.a...@gmail.com>
http://www.adamjiang.com
-☆-★-☆-★-☆-★-☆-★-☆-★-☆-★-☆-★-

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

Reply via email to