Just two weeks after iPhone OS 4 was announced and a developer preview released comes the second iPhone OS 4 beta, presumably crushing some bugs that beta 1 had and killing the iPhone 3G’s beta 1 jailbreak, meaning jailbreakers will need to hold out for now. You will still need a UDID registered device to install and activate beta 2.
Download link here for developers.