so you have access to your router physically? take the network cable from there to hardwire it to your pc (since thats directly hooked up to your modem). then if that test ok, hardwire the pc to the router and test again..
there are four steps to connecting to the net. i'll list them all, and some troubleshooting methods to run through..
1. Your PC > Verify that its not blocked by a firewall, or set to offline. Check that network settings are correct, and connected to the gateway (router/modem).
2. Router > Verify that its connected to your modem and your PC (look at the lights), Check all relevant settings again (reset it if you need to start from factory settings) to see if its allowing the internet connection to go through. usualy the status page will tell you this. Use its Ping function (sometimes located under its "advanced" utilities) to ping a website and confirm its going through. check the manual.
3. Modem > Verify that its connected to the broadband line (ADSL or cable) and the router/pc on the other end. Verify that all settings are correct, including username and passwords, custom ISP settings etc. Reset to factory defaults if needed. Check the status lights (or status page in its web interface) to see if its connection is good or not. Usualy a solid green means OK while flashing or red means somethings happening.. consult your manual.
4. check your ISP company and see if they have any problems over there or affecting your area.
As a way to determine what is at fault, try and start from the root of where it can go wrong first before branching out. So in other words, start from the ISP, then Modem > Router > PC..
Have a read of this, and post us the results you get from the ipconfig.
https://www.techspot.com/vb/topic55006.html
if you can powercycle the modem and/or router than do so...