[android-porting] Re: PPP problem on Android

2009-11-12 Thread HermanMao
Hi, I change some parameters of PPPD and get another situation. It failed on IPCP step. Latest log is showed below. PPPD ran by manual. Does anyone have any idea or tell me what parameter should I set or remove? Thanks. pppd options in effect:pppd options in effect: debug # (from comma

Re: [android-porting] Re: PPP problem on Android

2010-01-19 Thread Xingwen Huang
I also got this problem --- LCP terminated by peer !!! But i had no idea about that. On Fri, Nov 13, 2009 at 1:45 PM, HermanMao wrote: > Hi, > > I change some parameters of PPPD and get another situation. It failed > on IPCP step. Latest log is showed below. PPPD ran by manual. > Does anyone hav

Re: [android-porting] Re: PPP problem on Android

2010-01-21 Thread Xingwen Huang
i ues the option refuse-eap! So CHAP works, but it appears once more!!! LCP terminated by peer On Wed, Jan 20, 2010 at 3:02 PM, Xingwen Huang wrote: > I also got this problem --- LCP terminated by peer !!! > But i had no idea about that. > > > On Fri, Nov 13, 2009 at 1:45 PM, HermanMao wrot

Re: [android-porting] Re: PPP problem on Android

2010-01-25 Thread Xingwen Huang
any idea?? On Fri, Jan 22, 2010 at 3:48 PM, Xingwen Huang wrote: > i ues the option refuse-eap! > So CHAP works, but it appears once more!!! > LCP terminated by peer > > On Wed, Jan 20, 2010 at 3:02 PM, Xingwen Huang wrote: > >> I also got this problem --- LCP terminated by peer !!! >> But

Re: [android-porting] Re: PPP problem on Android

2010-01-25 Thread hongxue.ren
Your mru and mtu are all set to 1280, and how long is your max frame length of mux? On Tue, Jan 26, 2010 at 11:22 AM, Xingwen Huang wrote: > any idea?? > > > On Fri, Jan 22, 2010 at 3:48 PM, Xingwen Huang wrote: > >> i ues the option refuse-eap! >> So CHAP works, but it appears once more!!! >>

Re: [android-porting] Re: PPP problem on Android

2010-01-25 Thread Xingwen Huang
I don't set mru and mtu. my options: /dev/gprs debug nodetach dump modem noauth 115200 novj noccp novjccomp ipcp-accept-local noaccomp nopcomp usepeerdns noipdefault defaultroute user cmnet password cmnet 0.0.0.0:0.0.0.0 persist PAP authentication succeeded sent [IPCP ConfReq id=0x2 ] rcvd [IPCP

Re: [android-porting] Re: PPP problem on Android

2010-01-26 Thread ypluo
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 c

Re: [android-porting] Re: PPP problem on Android

2010-01-26 Thread Xingwen Huang
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

Re: [android-porting] Re: PPP problem on Android

2010-01-26 Thread hongxue.ren
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 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

Re: [android-porting] Re: PPP problem on Android

2010-01-27 Thread Adam Jiang
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

Re: [android-porting] Re: PPP problem on Android

2010-01-27 Thread Xingwen Huang
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 We

Re: [android-porting] Re: PPP problem on Android

2010-02-01 Thread Xingwen Huang
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 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 > loc