Hi Elenita,
Thank you for posting the query in Microsoft Community Forums!!
I apologize from the inconvenience and I understand that you are unable to connect to network and you receive an error message “DNS server not responding and gateway cannot be found.”
There may be a possibility that the router is not able to assign IP (Internet Protocol) address properly or if it has incorrect DNS settings.
Try these methods and check if it helps.
Method 1Run the network troubleshooter to diagnose and repair any problem related to your network. Access the link mentioned below for steps:
http://windows.microsoft.com/en-US/windows7/Using-the-Network-troubleshooter-in-Windows-7
Method 2
Disable the security software temporarily and check if it helps.
http://windows.microsoft.com/en-US/windows7/Disable-antivirus-software
Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do have to temporarily disable it to install other software, you should re-enable it as soon as you're done. If you are connected to the Internet or a network during the time your antivirus software is disabled, your computer is vulnerable to attacks.
Method 3For a full list of steps to try, see the Wired and Wireless tutorial on this page.
Wired and wireless network connection problems in Windowshttp://windows.microsoft.com/en-US/windows/help/wired-and-wireless-network-connection-problems-in-windows
Method 4
Check to see whether setting a static IP address for the LAN adapter helps.
a) Click Start, type ncpa.cpl and press Enter.
b) Right click on the connection that you use for the local connection, and then click Properties.
c) Click to select Internet Protocol Version 4 (TCP/IPv4) and then clickProperties.
d) In the Internet Protocol window, change the Preferred DNS server to 208.67.222.222
e) In (TCP/IPv4) Properties, select the Validates settings upon exit check box.
f) Click OK twice to complete the modification.
Repeat the steps and set the Preferred DNS server to 208.67.220.220 if the above fails.
If you need further assistance reply to this post and I’d be happy to work with you on other options.