#!/system/bin/sh
export PATH=/sbin:/system/sbin:/system/bin:$PATH
export LD_LIBRARY_PATH=/system/lib
export ANDROID_ROOT=/system
export ANDROID_ASSETS=/system/app
export ANDROID_DATA=/data
export EXTERNAL_STORAGE=/sdcard
export DRM_CONTENT=/data/drm/content
mount -t proc proc /proc
mount -t sysfs sysfs /sys
/init &
/system/bin/sh
Then ssh to zaurus,
$ ssh root@zaurus
# rm -f android-root/tmp/*
# umask 000
# chroot /home/root/android-root /a.sh
After Android boots up, in the ssh console hit enter key, then issue setprop command.
\u@\h:\w\$ init: HOW ARE YOU GENTLEMEN
init: reading config file
init: device init
\u@\h:\w\$ setprop net.eth0.dns1 xx.yy.zz.qq
DEPRICATED by A better way to bring network up.
Hit [Enter] key of Android Zaurus keyboard, type somemthing in and hit [Enter] again. Google rules!
[Calendar] key (bottom-left key) works as [Menu] and [Cancel] key (next to the circle cursor key) works as cancel.
Have fun.