Do you mean you can change the value of an existing property but cannot create a new one?
That seems odd. What device/build? R On Wed, Aug 25, 2010 at 3:36 AM, guru <guru.nav...@gmail.com> wrote: > Hi Rober/Deva R > > If I comment some of the existing properties in system.prop I am able > to set the value, otherwise not. Why this behavior and how to deal > with this? > > Thanks > Gururaja B O > > On Aug 19, 9:35 am, guru <guru.nav...@gmail.com> wrote: > > Why I asked this question is when i enable wifi, dhcpcd is not setting > > system properties like > > > > A) > > dhcp.etho.ipaddress > > dhcp.eth0.mask > > dhcp.eth0.gateway > > dhcp.eth0.leasetime > > dhcp.eth0.server > > > > but setting onlly > > > > B) > > dhcp.eth0.dns1 > > dhcp.eth0.dns2 > > dhcp.eth0.dns3 > > > > I tried to set above (A) using setprop but it is not setting the > > properties. > > > > is there any permission problem with this? > > > > Thanks > > Gururaja B O > > > > On Aug 18, 11:22 pm, Robert Greenwalt <rgreenw...@google.com> wrote: > > > > > Perhaps - the '#' suggests root, but I know my adb shell doesn't start > as > > > root and I've been burned before with this same issue because of that. > > > Trying it doesn't hurt. If that's not it I don't know why setprop > isn't > > > working. > > > > > R > > > > > On Wed, Aug 18, 2010 at 10:55 AM, Deva R <r.deva...@gmail.com> wrote: > > > > >try 'su' first > > > > Isnt this android console terminal, by default have root access? > > > > > > >How to make this to set the value? > > > > Not sure whats wrong, btw tried on my froyo setup, it worked like > below > > > > just after boot., > > > > > > # getprop net.eth0.dns1 > > > > > > # setprop net.eth0.dns1 9 > > > > # getprop net.eth0.dns1 > > > > 9 > > > > # > > > > # > > > > > > On Wed, Aug 18, 2010 at 8:32 PM, Robert Greenwalt < > rgreenw...@google.com>wrote: > > > > > >> try 'su' first > > > > > >> R > > > > > >> On Wed, Aug 18, 2010 at 6:56 AM, guru <guru.nav...@gmail.com> > wrote: > > > > > >>> Hi all > > > > > >>> I am trying to set system property so some value. like > > > > > >>> # setprop net.eth0.dns1 9 > > > >>> # getprop net.eth0.dns1 > > > > > >>> # > > > > > >>> if i follow above steps it is not setting system property. what may > be > > > >>> the reason for this? > > > > > >>> How to make this to set the value? > > > > > >>> Thanks > > > >>> Gururaja > > > > > >>> -- > > > >>> unsubscribe: > > > >>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > > > > > >>> website:http://groups.google.com/group/android-porting > > > > > >> -- > > > >> unsubscribe: > > > >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > > > > > >> website:http://groups.google.com/group/android-porting > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting