DVD Jon Hacks iphone and no activation required. With a program called Phone Activation Service v1.0 you can unlock the iPhone’s functions without AT&T.
Using Phone Activation Service 1.0 will allow you to use your iPhone as a widescreen video iPod with mail and internet access using the Wi-Fi. Most of the the features will work except for the phone and AT&T’s EDGE service. The Phone Activation Service will run on Windows only.
Find more details here