If the router has been connected to the internet and worked in the past, confirm the signal from your internet service provider (ISP) is not the problem. Turn off the wireless function and directly connect your computer to the router with an Ethernet cable. Reboot the computer and check for an internet connection.
Netgear Ex2700 setup
Netgear Ex2700 setup