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

2014-11-30 Thread Allen Curtis
eth0 as your default for dns via resolver setdefaultif iface On Wed, Jul 16, 2014 at 10:37 AM, Allen Curtis ajcu...@ac2enterprises.com 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

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

2014-11-30 Thread Allen Curtis
wrote: you also need to set eth0 as your default for dns via resolver setdefaultif iface On Wed, Jul 16, 2014 at 10:37 AM, Allen Curtis ajcu...@ac2enterprises.com wrote: Hello Robert, I can ping the DNS server but nslookup fails. This is what I get. (Note: eth0 is actually usb0) root

[android-porting] Re: Modifying kernel to expose GPIOs to user apps

2014-10-29 Thread Allen Curtis
If you follow standard Android/kernel development standards, the GPIOs should be exported via sysfs. The only customization you may need in the init script is to enable write permissions for your application. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] problems with netperf in JB

2014-09-13 Thread Allen Curtis
Hello, I am having problem running netperf in 4.2 JB. The netserver host is a different computer. The test seems to start ok but the netperf client times out waiting for the server to acknowledge the connection. From Wireshark it appears the ACK was sent. Any ideas? BTW: in the AOSP I added

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

2014-08-12 Thread Allen Curtis
the interface as described using LinkProperties and ConnectivityService? Best Regards, Allen Curtis On Aug 12, 2014, at 12:24 PM, Robert Greenwalt rgreenw...@google.com wrote: Alot of stuff is continuing to get locked down via selinux security policies. I wouldn't be surprised if ndc

[android-porting] NAT network configuration in AOSP 4.3

2014-08-11 Thread Allen Curtis
Hello, This configuration works with earlier Android versions. Now when the Android device attempts to use DNS, it hits a name server 2 subnets away. In the previous version, the Class C IP was transformed into a Class B and used the DNS server on this subnet. Now the DNS request is going

[android-porting] Android 4.3 static IP configuration

2014-08-07 Thread Allen Curtis
Hello, Can anyone point me to an example of configuring a network interface with a static IP/DNS using the system configuration files, not Settings.apk. Can this be configured via /etc/interfaces? It looks like I need to create a shell script and call it as a service from init.rc Thanks

[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

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

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

2014-07-16 Thread Allen Curtis
for dns via resolver setdefaultif iface On Wed, Jul 16, 2014 at 10:37 AM, Allen Curtis ajcur...@ac2enterprises.com 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 eth0

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 ---

[android-porting] what is ANDROID_PMEM?

2011-04-29 Thread Allen Curtis
Hello, What is the difference between ANDROID_PMEM and the standard Linux protected memory functions? For instance, there is currently a conflict between drivers/char/mem.c AND drivers/misc/pmem.c They both have implementations of phys_mem_access_prot() and other routines The

[android-porting] Kernel porting with GIT recommandation?

2011-04-14 Thread Allen Curtis
Hello, I am in the process of creating a Samsung S3C6410 Android kernel that is compatible with Gingerbread. The procedure that I am using seems to be working but there must be something more efficient given the power of GIT. Goal: Create a S3C6410 Gingerbread kernel Resources: 1.

[android-porting] feedback on GIT porting process

2011-04-14 Thread Allen Curtis
Hello, I am in the process of creating a Samsung S3C6410 Android kernel that is compatible with Gingerbread. The procedure that I am using seems to be working but there must be something more efficient given the power of GIT. Goal: Create a S3C6410 Gingerbread kernel Resources: 1.

[android-porting] why is gingerbread unpopular?

2011-02-03 Thread Allen Curtis
Hello, I see lots of devices being shipped with Froyo. There are lots of tables announced with the future honeycomb version. Why aren't vendors delivering products with gingerbread? TIA -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: