There are two ways to debug this problem. a) Enable LOG in libnetutils: I did by changing LOGD message to printf. and do recompilation. ( not sure about better way)
b) Attach wireshark and sniff for DHCP message Using about two methods of sniffing; check for DHCP REPLY message and make sure your DNS Server IP address in DHCP Reply is correct. If it is not; correct it on DHCP Server side. Thanks Prabhu --- On Fri, 10/30/09, king <king06552...@gmail.com> wrote: > From: king <king06552...@gmail.com> > Subject: [android-porting] Ethernet DNS > To: "android-porting" <android-porting@googlegroups.com> > Date: Friday, October 30, 2009, 12:05 AM > > Hi, > > Does anybody know how to let the android to get the dns for > the eth0 > automtically instead of setprop net.dns1 manually ? > > I have try command "dhcpcd eth0", after that i find the > eth0 got the > correct ip address however the browser doesnt work . > > Does anybody have experinece on that? > > Thanks and Regards, > King.S > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---