12/25/2007

Network is up.

My Android Zaurus got network up! setprop/getprop works after android-root/init runs through. Modify android-root/a.sh
#!/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.
posted by 安藤恐竜 at 21:18 | Comment(1) | TrackBack(0) | 日記
Comments for this entry
test post from Android Zaurus.
Posted by andouzau at 12/25/2007 21:29
Leave your comment
Name: [Must]

EMail: [Must]

URL: [Must]

Comment: [Must]

Confirmation Code: [Must]


Type in alphabets what you see in this image.

Trackbacks to this entry
×

この広告は90日以上新しい記事の投稿がないブログに表示されております。