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: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
--
Android-x86
http://www.android-x86.org
Can you please elaborate ?
I am adding a new interface which will have a gateway to the internet,
what should I do to make the framework recognize it ?
Can you please point me to a file(s) I should use as a reference ?
Thanks,
Sabhe
Also, in Android-x86, we have implemented Ethernet support, you may
take a look at
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=73c8442658704e5749c5fc6fd6f93c15fcf1d7c6
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=ed0db68a4733396c22b4fe88ff72ad0699e0fc49
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=b3de8efe6b88a345310abb71e890025d50caf86b