pianyu / 0xdroid

Automatically exported from code.google.com/p/0xdroid
0 stars 0 forks source link

This system lacks kernel support for PPP #151

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All:
   I met a problem today, The "pppd call gprs" command didn't work after I added it in the framework or ril-daemon code. I have no idea. Does someone have any suggestions?
Thanks!

My code:
static void requestSetupDataCall(void *data, size_t datalen, RIL_Token t)
{
......
system("pppd call gprs");
......
}   //reference-ril.c

My log:
E/pppd    ( 2144): This system lacks kernel support for PPP.  This could be 
because
E/pppd    ( 2144): the PPP kernel module could not be loaded, or because PPP 
was not
E/pppd    ( 2144): included in the kernel configuration.  If PPP was included 
as a
E/pppd    ( 2144): module, try `/sbin/modprobe -v ppp'.  If that fails, check 
that
E/pppd    ( 2144): ppp.o exists in /lib/modules/`uname -r`/net.
E/pppd    ( 2144): See README.linux file in the ppp distribution for more 
details.

Original issue reported on code.google.com by huanyufe...@gmail.com on 4 Sep 2010 at 8:07

GoogleCodeExporter commented 9 years ago
I think the permission is limited. How can I to change the PPP's permission? 

Original comment by huanyufe...@gmail.com on 4 Sep 2010 at 8:31