This problem sometimes drives me nuts. I hope I can help somebody with this video. The solution(s) should work for both wireless and LAN. I forgot one possible fix in the video: you can also try to reinstall your network adapter. Search ”device manager” — network adapters — right — uninstall — action — scan for hardware changes Good luck.
The rest is here:
NO INTERNET ACCESS – Windows 7