12/24/2007

can't setprop net.eth0.dns1

Android applets on my Android Zaurus can't resolve DNS because DNS server address should be set with setprop command.
# /system/bin/setprop net.eth0.dns1 xx.yy.zz.qq

But... This command can not be issued in ssh console because Android runs on chrooted system tree.

So far I've tried;
o android-root/a.sh
o android-root/etc/default.prop
o android-root/data/local.prop
o android-root/etc/init.rc

None of these could set net.eth0.dns1 successfully yet. orz

Where should I look into?
posted by 安藤恐竜 at 10:41 | Comment(4) | TrackBack(0) | 日記
Comments for this entry
Change a.sh;

runtime &
/system/bin/sh

Now I have a shell.

$ /system/bin/setprop net.eth0.dns1 xx.yy.zz.qq
could not set property

orz
Posted by 安藤恐竜 at 12/25/2007 09:34
On the emulator;
$ adb shell getprop
prints out lots of props.

But on Android Zaurus, nothing. Something terribly wrong.
Posted by 安藤恐竜 at 12/25/2007 18:19
$ sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db
> select * from system;
> insert into system values(50, 'net.eth0.dns1', 'xx.yy.zz.qq');

didn't work.
Posted by 安藤恐竜 at 12/25/2007 18:24
Quasi http://www.ub-es.yamisto.info sua [URL=http://www.el-colombiano-com.yamisto.info] el mila colombiano com [/URL] ministro [URL=http://www.calle.yamisto.info] calle oggi [/URL] punto.
Posted by ... at 01/28/2008 05:52
Leave your comment
Name: [Must]

EMail: [Must]

URL: [Must]

Comment: [Must]

Confirmation Code: [Must]


Type in alphabets what you see in this image.
Trackback URI:  http://blog.seesaa.jp/tb/74379381
Trackback entries must contain URL of this entry.

Trackbacks to this entry
×

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