Currently you cannot jailbreak that device at all.
The serial number (85017...) tells me it was made during the seventeenth week of 2010 (week of April 18th) and therefore cannot have the prerequisite SHSH blobs that f0recast is referring to on file (the blobs it's referring to, 3.1.2, stopped being signed on February 4th of this year).
Since the device is already on 4.0.2, it cannot be jailbroken as-is.
Please note you must have already saved the blobs with TinyUmbrella or by having the phone previously jailbroken and had asked Cydia to save the blobs for you. If you do not have blobs on file with Cydia now, you cannot get them, and therefore cannot downgrade.
Regrettably, the new greenpois0n tool will NOT be able to jailbreak you currently. Unless you've got 4.0.1 blobs or earlier, you'll have to wait for a new jailbreak, no ETA on one.