Just traded in my Iphone 4 for an Iphone 5s. My new phone was fine yesterday. Now won't connect to home wi-fi.
Probably because the DHCP process in your router that assigns IP addresses has quit working. Reboot the router by removing power from it for about 15 seconds to reset the DHCP server.