Well it looks like you already posted it here. Sorry I skipped over the thread. If you are running gingerbread on your phone I'm going to assume that it's cyanogen. That means that you have the newer version of clockword mod installed which doesn't support Froyo (2.2) ROM's. You need to downgrade that first. Follow the steps in this thread:
[GUIDE] Install ClockWorkMod through ADB - xda-developers
After you do that you can flash a Froyo ROM like
THIS one. That should get everything working.
Also I wasn't aware that wifi doesn't work on cyanogen. I'm actually pretty sure that it does work, because I haven't seen reports of anyone having any problems with it.
I haven't actually followed the steps in the threads I posted for you, so I won't be able to explain what's supposed to happen or anything like that. Sorry, I just haven't had the time to give it a spin, but I want to.