Hi,

Before posting to this group, I have tried several methods and
followed several hints to make this work. My current problem as
indicated in the subject of this message is to have eth0 configured on
startup with Android ICS on pandaboard.

I have launched each command manually and they are working good. I
have also wrote a shell script like the following (also working well
when launched manually from a shell):

#!/system/bin/sh
setprop service.adb.tcp.port 5555
netcfg eth0 up
ifconfig eth0 <ip> netmask <mask>
route add default gw <ip> dev eth0
setprop net.dns1 <ip>

I have also modified the correct device.mk file to install my script
on a specific directory on system partition and I add the following
lines to the init.omap4pandaboard.rc:

service starteth0 /system/bin/starteth0.sh

I have also checked the rights on the file which are correctly set.
When the board finished its boot sequence an "adb shell dmesg" returns
me these two lines I thought having an impact on my problem:

<3>[   31.963104] init: no such service 'dhcpcd_eth0:-h
android-33b095bf4a9305a0 eth0'
<3>[   31.982055] init: no such service 'dhcpcd_eth0:-h
android-33b095bf4a9305a0 eth0'


 They made me think that some processes/scripts (my script) is
executing but not working well but I'm not sure and a little lost on
this topic.

Does someone encounter the same issue or have any hints for this kind
of problem.

Thx




-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to