I used to have an original iPhone, used WiFi for everything, Mobile Mouse, VLC Streamer/Remote, VMCmote, TIOD, etc. One night I opened my Mobile Mouse app and was just working on my Puter from about 8 feet away. Then I LOST connectivity abruptly.
I tried everything, including a lot of the methods listed here - I reset my network settings about 25 times, the only thing I did not do was do a full reset- Which I could not do at the time.
So, this is a stumper, and I think it is possible if the WiFi absolutely WILL not connect- That the Hardware must be broken. Because this is a common problem I have with Laptops I repair - Several Laptops I worked on, lost their WiFi. I tried buying a new WiFi card and snapping it in, but it still did not work - So Something else was broken, this happened on about three semi-expensive brand name laptops!
Now my Iphone, not only did it not connect, it refused to show ANY of the local networks, there are about 6 Wireless routers that always show up in my list at any given time. AT NO TIME was I ever able to connect to ANY of them, because my phone simply was NOT showing any Wifi Networks! Now my 2G still worked, but that was all I could get. It was as-if I was stuck in "Airplane Mode" - But my Phone and 2G still worked.
I never did figure out whathad happened to it, about a week after it started doing that, my cat vomited on it and wrecked it for good.
So I'm sure that most of the time, these fixes posted here will work, but if anyone has experienced a 100% lack of any Wifi networks being listed, and has found a fix, I'd like to hear it, just send me a PM.