To be able to connect to the Internet, you need to use devices called Routers. Routers allow a "dialogue" between different networks, in our case between the Internet and our local area network. Routers can be either Wireless (without Ethernet cable) or Wired (with Ethernet cable). Almost all of them use the IP address 192.168.1.1 to connect to the network.
A router is a layer-3 device of the OSI (open systems interconnection) model that is responsible for routing, or sending, data from one network to another network. The router uses a routing table that resides in its memory to determine the networks that the router knows how to send data to.
How to do this ?, On your computer, you have to set the IP address to 192.168.1.2 (you can choose the last numeric value in a range between 2 and 254) and the Netmask to 255.255.255.0. This way your PC can communicate with the Router since both devices are in the same address class. PC 192.168.1.2 -> 192.168.1.1 Router. To verify that everything is fine, open a DOS window using the CMD command prompt and type PING 192.168.1.1. If you get an answer, it means that everything is ok. Once you have done this, you need to open a browser (such as Chrome, Firefox, Edge, etc.) and type in the address bar the value 192.168.1.1. Subsequentially, you should see the configuration screen of the router; Now you must know the configuration parameters that you have obtained from your Internet provider and set them in the corresponding fields. You can also follow the steps shown in this video guide 192.168.1.1 Wireless Router