Re: IPhone 2G
Go ahead and connect it to iTunes and sync all your info.
Back up all pictures, songs, texts, apps, and notes, etc. Whatever you'll need. I would suggest that you manually back up your pictures and stuff to your desktop, too.
Connect the phone, and click on "Restore" on the main screen. Go ahead and "restore and update" it and then wait for the process to complete.
Once it is done, check and see if WiFi works. If it DOES, then you can choose whether or not to sync all your previous data or start the phone off fresh.
Do that and see what happens. I'm 99% sure a restore will fix your problem.
Intel Q6600 @ 3204Mhz ~ Tuniq Tower 120 ~Corsair XMS2 5GB ~ WD VelociRaptor 150GB Main ~ WD 1TB Black ~ EVGA 8800GTS 640MB ~ 7 Home Premium (64-Bit)