Thanks your advice.
I have modified the Android.mk in system/core/rootdir
copy_from := \
etc/dbus.conf \
etc/init.goldfish.sh \
etc/hosts \
etc/init.gprs-pppd \
etc/ppp/chap-secrets \
etc/ppp/ip-down \
etc/ppp/ip-up
but the service can not work. I can start it by myself, with root right.
On Wed, Nov 18, 2009 at 10:42 PM, kkw <[email protected]> wrote:
> Hi XingWen,
> i think u r working cupcake rite?
> Do u hv the init.gprs_pppd in the /etc directory and is it executable?
>
> On Nov 18, 5:53 pm, Xingwen Huang <[email protected]> wrote:
> > any idea for the problem, please
> >
> >
> >
> > On Wed, Nov 18, 2009 at 11:33 AM, simon <[email protected]> wrote:
> > > Hi, all
> > > I want to start pppd in my system. So, I follow the advice in the
> > > maillist, but it still doesn't work. It said that Unable to start
> > > service ctl [pppd_gprs] uid: 1001.
> > > I found my problem was in the list too, but hadn't soloved.
> > > What i have done:
> > > init.rc
> > > setprop ro.radio.use-ppp yes (it works)
> >
> > > service pppd_gprs /etc/init.gprs_pppd
> > > user root
> > > group radio cache inet misc
> > > disabled
> > > /system/core/init/property_service.c
> > > struct {
> > > const char *service;
> > > unsigned int uid;
> > > } control_perms[] = {
> > > {"pppd_gprs", AID_RADIO },
> > > {NULL, 0 }
> > > };
> > > But it also happend :<3>init: sys_prop: Unable to start service ctl
> > > [pppd_gprs] uid: 1001 pid:97
> >
> > > any idea please!
> >
> > > log:
> > > D/AT ( 42): AT> AT+CGQREQ=1
> > > D/AT ( 42): AT< OK
> > > D/AT ( 42): AT> AT+CGQMIN=1
> > > D/AT ( 42): AT< OK
> > > D/AT ( 42): AT> AT+CGEREP=1,0
> > > D/AT ( 42): AT< OK
> > > D/AT ( 42): AT> AT+CGACT=1,1
> > > D/AT ( 42): AT< OK
> > > D/AT ( 42): AT> ATD*99***1#
> > > <3>init: sys_prop: Unable to start service ctl [pppd_gprs] uid: 1001
> > > pid:97
> > > D/AT ( 42): AT< CONNECT
> > > D/RILJ ( 97): [0038]< SETUP_DEFAULT_PDP {1, ppp0}
> > > D/GSM ( 97): [PdpConnection] PDP setup on cid = 1
> > > D/AT ( 42): AT< ~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }
> > > # !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }*} }"}
> > > (}"U ~~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }
> > > *} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"!}!}!} }2}"}
> > > &} }*} } }#}$ #}'}"}
> > > D/AT ( 42): AT< NO CARRIER
> >
> > > Thanks & best regards
>
> --
> unsubscribe:
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting