Ok; So i did some experiment with my setup on beagle board; and here is out come
a) In DHCP Reply message i can see DNS Server IP address is coming correctely. That means DHCP server setting is correct. b) But DNS is still not getting resolved. After getting the DNS server entry in DHCP reply it is supposed to be updated in Linux Networking stack. So i guess same case as your king. When i did manual setting for DNS Server it works. I have not debugged it further; Thanks Prabhu --- On Sun, 11/1/09, king <[email protected]> wrote: > From: king <[email protected]> > Subject: [android-porting] Re: Ethernet DNS > To: "android-porting" <[email protected]> > Date: Sunday, November 1, 2009, 5:06 PM > Hi, > > Would you mind telling me more detail? > > Thanks and Regards, > King.S > > On Oct 30, 3:39 pm, Prabhu Srivastava <[email protected]> > wrote: > > 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 <[email protected]> > wrote: > > > > > From: king <[email protected]> > > > Subject: [android-porting] Ethernet DNS > > > To: "android-porting" <[email protected]> > > > 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: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
