This is a good rundown of the varying ways  to crack WEP enabled wifi networks, with some links to WPA cracking as well.

WEP Cracking Redux: Beyond the Command Line – Security – Lifehacker.