Same problem here. Using adb logcat for main, I read the following log:
E/pppd ( 1017): This system lacks kernel support for PPP. This could be because E/pppd ( 1017): the PPP kernel module could not be loaded, or because PPP was not E/pppd ( 1017): included in the kernel configuration. If PPP was included as a E/pppd ( 1017): module, try `/sbin/modprobe -v ppp'. If that fails, check that E/pppd ( 1017): ppp.o exists in /lib/modules/`uname -r`/net. E/pppd ( 1017): See README.linux file in the ppp distribution for more details. however this is not true, because the kernel has PPP support and I succeed in starting pppd from command line. Me too suspects a permission problem, but I still haven't managed to find a solution. I have also another problem via pppd from command line: the interface is up and connected but using a ping with numeric address (no dns problem) doesn't work: it seems that I cannot receive data from ppp0 but I can send data because I see my ping packets going to the modem (using a sniffer). Another strange thing is that LCP echo packets are correctly sent and received, so I suspect again a permission problem. I will open a new topic for that. Daniele On 25 Mag, 22:57, Jeffrey <jffrych...@gmail.com> wrote: > 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