Actually the problem is simple,
Sometimes you ll connect , sometimes not.
Whenever you are connected on your router , and there is internet connection on other devices and you get "limited or no conectivity" problem , it is locating IP and DNS problem.
If you press CTRL+R , and on run write ncpl.cpa you will be redirected to network and sharing center where you will see your adapter (LAN or WIFI) that you are using , and when you right click the one you connect with , press properties and find "Internet protocol version 4" and just left click somewhere on his name to make it blue, and then you can open properties again.
There you will see two parts : IP and DNS , which are set to "automaticly obtain them.."
Below it there is function to mark "Use the following IP , and Use the following DNS adress" where you can write them.
After you write them manually , computer will always know where to connect and will never disconnect you randomly.
Only thing you need to know are IP and DNS adress , which You can call your Internet Service Provider and they will tell you , assist you.
Hope that cleared a little
Wish you best Regards!