Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread 'Robert Greenwalt' via android-porting
It's almost certainly using linux conventions (resolv.conf) that android has moved away from and can't find out the dns servers. On Wed, Jul 16, 2014 at 2:16 PM, Allen Curtis wrote: > Robert, > > Actually it appears that anything in busybox that uses DNS is broken. > "busybox ping" does not wo

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread Allen Curtis
Robert, Actually it appears that anything in busybox that uses DNS is broken. "busybox ping" does not work either. Thanks for the help! We are moving again. Allen -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- Y

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread 'Robert Greenwalt' via android-porting
Java's InetAddress.getByName()? I'll file a bug to investigate nslookup in busybox. On Wed, Jul 16, 2014 at 11:58 AM, Allen Curtis wrote: > Interesting… > > 1. ping yahoo.com - WORKS! > > 2. busybox nslookup yahoo.com - does not work, same results as before > > Is there another utility for tes

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread Allen Curtis
Interesting... 1. ping yahoo.com - WORKS! 2. busybox nslookup yahoo.com - does not work, same results as before Is there another utility for testing DNS resolution? Thanks! On Jul 16, 2014, at 10:56 AM, Robert Greenwalt wrote: > you also need to set eth0 as your default for dns via > resolve

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread 'Robert Greenwalt' via android-porting
you also need to set eth0 as your default for dns via resolver setdefaultif On Wed, Jul 16, 2014 at 10:37 AM, Allen Curtis wrote: > Hello Robert, > > I can ping the DNS server but nslookup fails. This is what I get. (Note: > eth0 is actually usb0) > > root@sabresd_6dq:/ # ndc resolver setifdns

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread Allen Curtis
Hello Robert, I can ping the DNS server but nslookup fails. This is what I get. (Note: eth0 is actually usb0) root@sabresd_6dq:/ # ndc resolver setifdns eth0 192.168.10.40 192.168.10.45 200 0 Resolver command succeeded root@sabresd_6dq:/ # busybox nslookup yahoo.com Server:0.0.0.0 Address 1

Re: [android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread 'Robert Greenwalt' via android-porting
the ndc commands are required. static/dynamic ip doesn't really affect this and the setprop stuff is ignored. Are you able to ping the dns servers from the device? I believe the google 8.8.8.8 servers are pingable, so you could use them for this test. Once you find you can reach the servers, se

[android-porting] Re: Kernel hang at Kernel panic - not syncing: No init found

2014-07-16 Thread Vishveshwar
On Tuesday, July 8, 2014 11:23:00 AM UTC+5:30, deepak vijay wrote: > > Hello all, > > I am new to andorid and I am trying to port android 4.4.3_r1 to am43xx > platform. > I used am335x JB release as a reference. > > The kernel version that I am using is 3.12.10, and I applied all the > android pa

[android-porting] unable to configure DNS/resolver on USB0

2014-07-16 Thread Allen Curtis
Hello, I am porting Android 4.3 to a device that does not have WiFi or a traditional Ethernet interface. We are using a Gadget CDC USB ethernet interface. Getting general IP communications working was easy enough. I can ping using an IP address. It even works correctly with a gateway. The