Hi All,
I have added below script and did a temporary fix for auto detection.please
let me know your thoughts and run the script from init.rc using below steps
service test /system/bin/script.dhcp start
user root
oneshot
load_dhcp()
{
setprop net.dns1 $(getprop dhcp.eth0.server)
/system/bin/dhcpcd eth0
return $(getprop net.dns1);
}
unload_dhcp()
{
return 0;
}
# Deal with the type of invocation we get.
#
case "$1" in
"start")
if load_dhcp==NULL;then
while load_dhcp==NULL
do
sleep 20;
load_dhcp
done
fi
;;
*)
echo "$0: unknown argument $1." >&2;
;;
esac
Regards and Thanks
Thomas Scarih
On Wed, Sep 29, 2010 at 3:34 PM, Thomas Scariah <[email protected]>wrote:
>
> Hi,
>
> I have an issue with
> Android-eclair,running on omap3530 platform. when I boot android with
> ethernet cable its not taking the network up. so I am run dhcpclient and
> enable the etherent. still it is not working. so I set "setprop net.dns1
> XXX" as dns server address. Then network is working fine and I am able to
> browse through network.So I add the above things in script and it is working
> fine if i plugged in ethernet cable in boot-up time.
> Now I am facing with auto detection
> because network will work if the ethernet is plugged in during the booting
> time. If I plugged in during run time it is not detecting.So anyone can help
> me to enable ethernet auto detection mode.
> --
> Regards and Thanks
> Thomas Scariah
>
--
Regards and Thanks
Thomas Scariah
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting