Ensure your wireless adapter's configuration matches the wireless configuration on router. Also ensure your wireless adapter driver status is working well.
If your computer OS is XP, you believed you have correct configuration and you have tried all solutions but still not working, then most probably it's due to winsock problem. You can
try to use WinSockFix
to fix the problem. Hope helps..