go to your Linksys router url e.g. 192.168.1.1
login using username and password phrase
go to Wireless and then Wireless Security
On that page you'll see WPA pre-shared key if WPA personal was used for protection. This key will be a long string of alphanumerics
enter this string exactly as a password on your iphone Join network screen
and Voila!