Wifi on iPhone 4S not connecting?

I have the iPhone 4S and I've had it for about 11 months. I don't keep up with downloading software and things, but I decided today would be a good day to get some new music and maybe get iOS 6.0.1. However, I tried connecting to my houses Wi-Fi and it would have the little turning circle and say it was connected, but it would still say it was using 3G. I tried restarting my phone, but nothing is working. Help?

Get into settings and turn wifi back on.

I have the 4S too and the wifi hardly ever works the first time. I just keep trying to connect and eventually it turns on. My laptop has a wifi hookup, so I use that as my source, and even if my phone is right near it, it will still go back to 4G. But if I try to connect it it a few times, it will connect.

Just connect and disconnect until you get it. It takes me about 5-9 tries before I get wifi to work.

Assuming that WiFi is turned on and finds the SSID or your wireless router (or modem router), you have to find out what security key or password your router uses for WiFi. I don't know what default security it tries when you simply enter a password, but if your router uses WEP security you could first try http://www.ehow.com/how_7544368_connect-iphone-wep.html

I had been trying everything to connect my boss' iphone 4S to our office wifi with 128-bit WEP key without success, but I was not aware of trying the $ sign prefix that I just found in that link.

Otherwise to select a specific security method go to Setup > WiFi > Other, select the security type (like WEP) enter the ESSID of your router and password or security key and then Join.

That is what worked for my boss at home (64-bit WEP key with all digits). That did not work at the office when 128-bit WEP key is hexidecimal (0-9, a-f) (tried captial and small letters). But I did not know to try the $ prefix at the time, so I will not be able to confirm if that works until he returns from vacation in a week. Maybe the iphone does not know to try a hex WEP key as a key instead of a password without the $ prefix.

If you have a mac address to get into your internet you got to set it up so you can use it.