have a look here:

http://hackint0sh.org/forum/showthread.php?t=58176

sorry for posting in both forum, but it's important for both, iPhone 2G and 3G.