I found the instructions below and they worked for me.
I have a galaxy nexus thats would not connect to my wifi at home. I have a microsoft mn-700 router and i tried all the tips on this thread but nothing worked. I kept getting the same obtaining ip address message when i tried to connect to my wifi.
Hope it helps
We can prob get you connected without needing the admin password - you should get it for future needs anyway.
Hold the Thrive in portrait mode so the keyboard does not hide the settings Go to Settings >> Wireless and Networks >> Wi-Fi settings >> tap your network name, Tap FORGET Now when your network name shows up again under wifi settings ....
Select security type Enter password, it is case sensitive.
tap the triangle where it says DHCP, select "static"
Enter 192.168.2.38
the "connect" is greyed out .... right?
Enter gateway 192.168.2.1
RE-ENTER prefix 24 (all the greyed out fields must be re-entered, even if the info is the same)
Enter DNS2 192.168.2.1
Enter DNS2 192.168.2.1
You have no more greyed out fields correct?, and CONNECT brightened up again? Correct?
tap CONNECT you should be connected to the network in-house, (but not be necessarily be able to access the internet).
Only if you are not yet accessing the internet, , power down (UNPLUG) your modem for 20 seconds, and plug it in again, let it re-boot. (do not reset it.)
Everything working now?