My iPhone will not connect to Wi-Fi?

My iPhone will not connect to Wi-Fi?

Added (1). I heard inputting all the information. IP address Subnet Mask Router DNS will fix it. Tried it many times and it will not work. Will input but won't apply. Currently the DNS is 192.168.1.1 and that hasn't gone away. Yet

Added (2). My iPhone 5 will not connect to any internet. I have tried resetting all routers. I have also reset the iPhone network settings. It has not worked. When I go to Wi-Fi it shows a check mark next to the connection but still isn't connected?

Any ideas?

Iphones or apple products won't connect to WEP authentication… Must be WPA/2 or Radius.

Yes, putting in network information does work… Only if its not in use… Its best to use a high IP address… Like 30 - 60… Ie. 192.168.1.35

Yes a "Computer" can use a Routers Gateway as the DNS… As the gateway is the way through the modem. So all because your DNS is the Router's gateway doesn't mean it does not work.

I phones or apple products won't connect to WEP authentication… Must be WPA/2 or Radius. Yes, putting in network information does work. Use a high IP address… Like 30 - 60… I.e. 192.168.1.35 Yes a "Computer" can use a Routers Gateway as the DNS… As the gateway is the way through the modem. So all because your DNS is the Router's gateway doesn't mean it does not work.