No internet via router
I will explain my problem using simple words because I have no knowledge about all this technical stuff.
I have two internet cables, let's call them cable1 and cable2. cable1 was connected to a DLINK hub and a tplink wifi router called Archer AX90. Everything was working fine until yesterday when the hub got broken due to a power outage.
I tried to connect to cable2. When I directly connect it to my laptop, I need to set up DNS and IP configurations to access the internet, and it works fine that way.
The problem I'm facing now is that I want to connect cable2 to my router to have Wi-Fi. But when I connect it to the router, it doesn't have internet access. I visited the tplinkwifi.net website to configure the IP in the Network tab (I just changed the IP number), but it didn't help!