Hi,
I have to use the ethernet based communication in my project where I am using blaze board & ported the android JB source code.
There are no issues with booting. As their is no UI support for ethernet to set Static IP. I have used the adb shell & configured the following settings
netcfg eth0 up
ifconfig eth0 172.16.1.121 netmask 255.255.255.0
route add default gw 172.16.1.1 dev eth0
setprop net.dns1 172.16.1.1
But on every boot I have give these setting. So, to get these commands executed how I have to add in the init.rc. I have also the blazeboard.rc file. I'm confused in which file I need to add above 4 lines & whats the procedure. since I am seeing services getting enabled from the init.rc file through which some .sh shell scripts are being invoked.
so please someone help me out from here in setting the static Ip.
If possible also give me some hints on adding the ethernet UI support to android.
Regards,
Sainath