Hello,

On 31 Mag, 13:17, freakingtux <[email protected]> wrote:
>
> So perhaps I was not particularly clear in my previous post. You need a set
> of permissions to access the ppp device and at set of capabilities
> to be allowed to do things like creating interfaces. The capabilities in
> android are also gained by being part of a group. you need to be at least
> to be part of net_admin radio vpn and inet
>
> What I did for testing was a hack , I added
>   <permission name="com.sample.permission.CONNECTIVITY">
>     <group gid="net_admin"/>
>     <group gid="radio"/>
>     <group gid="vpn"/>
>     <group gid="inet"/>
>   </permission>
> to /etc/permissions and created a permission called
> com.sample.permission.CONNECTIVITY and granted that to my sample application
>
> Greetings

First of all thanks for your help.

Following your advice I've changed my init.rc script and now I'm
launching the RIL with the following lines:

service ril-daemon /system/bin/rild
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio vpn net_admin

the pppd is correctly started.

I've also solved my ping issue (it was a problem with my network
operator).

Regards,
Daniele

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to