your mate can't be that smart if he allows an unsecured network to operate.OK so I'm not very smart when it comes to computers but my room mate is. We had ours set up for wireless and it was working fine. Problem was that other people were getting on our network
right, onto your problem.
1. are you entering the correct password / passkey?
2. does the wireless network use MAC filtering?
personally, rather than try and bodge a bad job, i would reset the router
(i assume you're using a router?)and start again, from scratch.
it would be best (when making changes) to connect to the router with
ethernet cable as MAC filtering etc. won't affect connectivity.
also, wherever possible, use WPA encryption rather than the less secure