I have had a nightmare at work trying to use the open wi-fi supplied to customer, every time i tried to connect i got the Obtaining IP address message and it would not connect.
I tried all the usual stuff and nothing worked even though workmates could connect with no problem, after much searching i eventually found this solution having tried many of the ones that didn't work that i found using google.
I haven't a clue how it works but it does. (if someone could explain i would appreciate it)
The solution is to use a static IP for your WiFi connection, to do this:
Go to Settings >
Wi-Fi >
press on your connection for a second, a pop up will appear with the options "forget network" and "modify net configuration" >
select - modify net configuration >
select - show advanced options >
minimise the keyboard >
select - IP settings >
Select - Static
Now enter the settings below (make a note of the ones already there in case you want to change back)
IP - 192.168.1.253 or 195.168.1.253
Gateway - 195.168.1.1
NPL - 24
Netmask - 255.255.255.0
DNS 1 - 8.8.4.4 or 8.8.8.8
DNS 2 - 4.4.4.4
And save.
Press the Home button and now try to connect.
There is another solution that didn't work for me but has worked for a lot of people and that is to try to use the Allshare play app, apparently when it loads it asks you which network you want to use and clicking on yours makes the phone work on your network again.