I'm seeing two problems here.
First is that it can't start pppd:
-Possibly because you don't have /etc/init.gprs_pppd executable, as
kkw mentioned... grab the script from some other cupcake build and
modify it to point to the correct serial channel
-Also you do need to configure all the scripts and settings in /etc/
ppp (options.<serport>, pap-secrets, chap-secrets, ip-up, ip-down)

The second issue is separate. It looks like the PPP traffic is landing
in the current serial session, which will not work at all.
-There should be an AT command when setting up the connection to
redirect it to the modem's secondary serial channel... you'll need to
look at the GPRS spec for your modem to figure out the right command.
-The other possibility is that you haven't implemented the multiplexer
properly yet.

-Jesse

On Nov 17, 10:33 pm, 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]
website: http://groups.google.com/group/android-porting

Reply via email to