Re: [android-porting] Android 4.3 static IP configuration

2014-08-10 Thread Abdul Haseeb
Hi Allen, Configure static IP by adding below code in vendor/device_name/product_name/init.product_name.rc service net_eth0-start /system/bin/sh /init.net.eth0.sh class core oneshot vendor/device_name/product_name/init.net.eth0.sh ifconfig eth0 IP address netmask up Hope that helps.

[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