connect to wifi then go to wifi settings
click menu button the choose advanced
check the "static IP"
if that will not work.. try to change the last number of your IP Address (ex from 1 to 2) and check the "static IP" address again...
this MIGHT work for you BUT you will need to UNCHECK the static IP address each time you are going to use different wifi connection coz it might not work to other's connection..
try it and i'd be glad to hear if it works for you... good luck!