Here's what I did :
~ ~ Do these things IN ORDER ! ! ~ ~
shutdown ALL running apps on the puter except iTunes. (repeat, ALL !)
on the iPhone, turn off the sim lock AND the passlock.
re-boot the phone. (turn it off w/switch on top, then back on)
get iTunes up on your 'puter.
plug phone into 'puter with usb, NOT into hub.(use good short cable).
let it sync. (if you don't have auto sync turned on, clik sync)
when thats done, turn sync OFF, and APPLY.. (bottom right on the iPhone Page of iTunes).
disconnect, and THEN unplug iphone.
hold down HOME and off switch on top of iPhone until it DIES COMPLETELY, (after red slide line appears, wait til it DIES).
wait a minute, til it goes dead, then turn it back on.
plug it back into the puter (remember, sync should be OFF).
clik on "Restore", and it will ask you "restore from backup or new phone".
I chose restore from backup, but you can do either.
when it's doen restoring, THEN sync the phone (clik sync bottom right) all your stuff will be back.....
if you are out of range of a cell tower, you will have to go to get some signal to "Activate" the iphone. this is not a problem, it just wants to check with ATT to make sure you have a valid account, and when done, WHOOPEEEE !! you back on the air !
now the next part is just as important:
get the iphone close to a wifi signal, and let it find a signal.
clik "Settings" and then "WIFI" ... make sure the slider is set to "ON".
your network should come up, when it does, tap it... a checkmark should show up.
clik on "More Info" (the lil' blue " > " ).
make sure "DHCP" is blue.
swipe down to "Renew Lease" and clik it, then clik "Renew Lease" again when it pops up.
close that app (press home button).
clik Safari, and load any page....make sure it will go to a couple different pages, so you KNOW you have Internet Service.
clik Home and close the Safari app.
hold down the off switch (on top) until the red "Power Off"slider shows up and release switch, and swipe it OFF (reboot iphone)
your done, this should fix most of the crap...if it doesn't, go to the iPhone store nearest you and throw the SOB in their laps.
this process fixd mine, it now will find the WIFI after sleep, (Bluetooth works fine), and hooks up, and will surf fine..... I don't think it has quite the range it should have, we'll probably have to wait until 3.1 or whatever for that. good luck and thanks to all who posted help on here, as it was thru HERE that I was able to come up with all this.