|doesn't sound like you were connecting to your network but someone else's which is why you were asked for the key.|
other deices connect ok to your router wirelessly?
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's