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. Thanks, Abdul Haseeb On Aug 8, 2014 4:46 AM, "Allen Curtis" <ajcurti...@gmail.com> wrote: > 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 > Allen > GPG: E0A987D7DBB838A6 > > > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.