Hi, Try this,
setprop net.dns1 <dns serverip> U also require direct internet connection, (ie) no blocking or firewall to connect to internet world. Thanks and Regards, HarishKumar.V On Wed, Jul 8, 2009 at 6:56 AM, gongfen <gong...@gmail.com> wrote: > > #!/system/bin/sh > > ifconfig eth0 192.168.3.199 netmask 255.255.255.0 up > route add default gw 192.168.3.198 dev eth0 > setprop net.eth0.dns1 61.10.0.130 > > Then I can ping the gateway but can't ping the web ip. > > #!/system/bin/sh > > ifconfig eth0 192.168.3.199 netmask 255.255.255.0 up > route add default gw 192.168.3.198 dev eth0 > setprop net.eth0.dns1 61.10.0.130 > > There is anyone to help me? > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---