At android-x86,we changed dhcpd to enable domain_name_server option so that dhcpd can work correctly with certain dhcp server. You may try this to see if it fixes your problem http://git.android-x86.org/?p=platform/external/dhcpcd.git;a=commitdiff;h=bd31c613f9ba6f0f2d4f4fde3f241cae2d2b69bb Yi
On Mon, Nov 2, 2009 at 4:37 AM, Prabhu Srivastava <[email protected]>wrote: > 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]<android-porting%[email protected]> > > website: http://groups.google.com/group/android-porting > > > > > > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- Android-x86 http://www.android-x86.org -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
