I just realized this. For the past couple of days my internet connection would stop working and then start working again out of the blue. I couldn't figure out what was causing it so I reset everything and started from scratch. Today I realized that whenever I turn on wifi on my iPhone 3G S the internet connection would fail. This started happening after updating to iOS 4. My internet works just fine when my iPhone is connected to Edge or 3G but as soon as I turn wifi on, my internet dies. Anyone else having this problem? Found a solution? I hope I'm not the only one! 