Hi, I use multiplexer function on ril. When it dial "ATD*99***1#", PPP daemon will start to work. I met a problem, PPP daemon can't get local IP successfully. It will fail and show "Serial line is looped back.". I use the same external modem and use "WvDial" on my PC, it can work well. Does anyone have any suggestion? Below is my pppd log and parameters of pppd. Thanks advice.
<init.gprs-pppd parameter>---------------------------------------- /system/xbin/pppd /dev/pts/1 115200 mru 1280 mtu 1280 nodetach debug dump noauth noipdefault <PPPD log>-------------------------------------------------- D/AT ( 680): AT> ATD*99***1# D/AT ( 680): AT< ATD*99***1# D/AT ( 680): AT< CONNECT 115200 D/RILJ ( 757): [0041]< SETUP_DEFAULT_PDP {1, ppp0} D/GSM ( 757): [PdpConnection] PDP setup on cid = 1 I/pppd ( 867): Starting pppd D/pppd ( 868): using channel 1 I/pppd ( 868): Using interface ppp0 I/pppd ( 868): Connect: ppp0 <--> /dev/pts/1 D/pppd ( 868): sent [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0x0> <magic 0x10ee7db8> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0x0> <magic 0x10ee7db8> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x1 <magic 0xcbadab2d>] D/pppd ( 868): rcvd [LCP ConfNak id=0x1 <magic 0xcbadab2d>] D/pppd ( 868): sent [LCP ConfReq id=0x2 <mru 1280> <asyncmap 0x0> <magic 0xdc2e6c51> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x2 <mru 1280> <asyncmap 0x0> <magic 0xdc2e6c51> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x2 <magic 0x85213cae>] D/pppd ( 868): rcvd [LCP ConfNak id=0x2 <magic 0x85213cae>] D/pppd ( 868): sent [LCP ConfReq id=0x3 <mru 1280> <asyncmap 0x0> <magic 0xa4f6963d> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x3 <mru 1280> <asyncmap 0x0> <magic 0xa4f6963d> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x3 <magic 0x6a788a51>] D/pppd ( 868): rcvd [LCP ConfNak id=0x3 <magic 0x6a788a51>] D/pppd ( 868): sent [LCP ConfReq id=0x4 <mru 1280> <asyncmap 0x0> <magic 0xe32a46cf> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x4 <mru 1280> <asyncmap 0x0> <magic 0xe32a46cf> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x4 <magic 0xf00fb1a9>] D/pppd ( 868): rcvd [LCP ConfNak id=0x4 <magic 0xf00fb1a9>] D/pppd ( 868): sent [LCP ConfReq id=0x5 <mru 1280> <asyncmap 0x0> <magic 0xaec947d1> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x5 <mru 1280> <asyncmap 0x0> <magic 0xaec947d1> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x5 <magic 0x5b856e94>] D/pppd ( 868): rcvd [LCP ConfNak id=0x5 <magic 0x5b856e94>] D/pppd ( 868): sent [LCP ConfReq id=0x6 <mru 1280> <asyncmap 0x0> <magic 0x9dbb784c> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x6 <mru 1280> <asyncmap 0x0> <magic 0x9dbb784c> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x6 <magic 0xcd6c0183>] D/pppd ( 868): rcvd [LCP ConfNak id=0x6 <magic 0xcd6c0183>] D/pppd ( 868): sent [LCP ConfReq id=0x7 <mru 1280> <asyncmap 0x0> <magic 0x20414c33> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x7 <mru 1280> <asyncmap 0x0> <magic 0x20414c33> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x7 <magic 0xa0f230a4>] D/pppd ( 868): rcvd [LCP ConfNak id=0x7 <magic 0xa0f230a4>] D/pppd ( 868): sent [LCP ConfReq id=0x8 <mru 1280> <asyncmap 0x0> <magic 0x3d011750> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x8 <mru 1280> <asyncmap 0x0> <magic 0x3d011750> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x8 <magic 0xaabc6c98>] D/pppd ( 868): rcvd [LCP ConfNak id=0x8 <magic 0xaabc6c98>] D/pppd ( 868): sent [LCP ConfReq id=0x9 <mru 1280> <asyncmap 0x0> <magic 0x1c33c2e3> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0x9 <mru 1280> <asyncmap 0x0> <magic 0x1c33c2e3> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0x9 <magic 0x2e4035ae>] D/pppd ( 868): rcvd [LCP ConfNak id=0x9 <magic 0x2e4035ae>] D/pppd ( 868): sent [LCP ConfReq id=0xa <mru 1280> <asyncmap 0x0> <magic 0xabbfaccd> <pcomp> <accomp>] D/pppd ( 868): rcvd [LCP ConfReq id=0xa <mru 1280> <asyncmap 0x0> <magic 0xabbfaccd> <pcomp> <accomp>] D/pppd ( 868): sent [LCP ConfNak id=0xa <magic 0x670acb6>] D/pppd ( 868): rcvd [LCP ConfNak id=0xa <magic 0x670acb6>] I/pppd ( 868): Serial line is looped back. D/pppd ( 868): sent [LCP TermReq id=0xb "Loopback detected"] D/pppd ( 868): rcvd [LCP TermReq id=0xb "Loopback detected"] D/pppd ( 868): sent [LCP TermAck id=0xb] D/pppd ( 868): rcvd [LCP TermAck id=0xb] I/pppd ( 868): Connection terminated. I/pppd ( 885): pppd exited with 17 -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting