Hi all, With exactly the same pppd command, if pppd is invoked from command prompt, data connection works fine. I can browse Internet and I can get ppp logs in DDMS.
Here is the command (same as that in init.gprs-pppd called by RIL) C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell # /system/bin/pppd /dev/ttyUSB0 115200 mru 1280 mtu 1280 nodetach debug dump defaultroute usepe pdefault ipcp-accept-local ipcp-accept- remote connect-delay 5000 linkname ppp0 However if I invoke pppd in Android RIL (err = property_set("ctl.start", SERVICE_PPPD_GPRS); statement in reference- ril.c), pppd deamon is started (no error returned) but the ppp0 link is not up, and I can not get any ppp log in DDMS. Since there is no log visibility, I am not able to know what is happening. Could anyone please help 1) Any suggestion on how to get ppp logs (if it is invoked by RIL)? 2) Any idea why invoking ppp from RIL give a different result than from the command prompt? Appreciate your help in advance. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting