hi,

I use dhcpcd to get DHCP properties on a new interface I created (not
wifi).
DHCP succeeds, and I can see all the dhcp.myinterface0.xxx properties
get set correctly.
But dns still doesn't work, and indeed net.dns1 is still not set by
dhcpcd, only dhcp.xxx.dns1 is set.

I tried to add "setprop net.dns1 xxx" to the file:
to /system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf
but it didn't work, because dhcpcd runs not as root anymore
(can I prevent it from dropping the root credentials btw ? i couldn't
find how).

How should I get net.dns1 to be set too ?
What is the relation between dhcp.xxx.dns1 and net.dns1 ?
Who is setting net.dns1 ?
I guess that the framework is doing that, but should it work
automagically on any interface ?
Anyway I can do that from dhcpcd ?

thanks!!!
sabhe

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

Reply via email to