Connecting a computer to a router via a network cable: a complete guide from A to Z

Connecting your computer to your router via an Ethernet cable is the most stable and fastest way to access the internet. Despite the proliferation of wireless technologies, a wired connection remains relevant for gamers, streamers, and users who work with large amounts of data. In this article, we'll cover every step of the process: from choosing the right cable to troubleshooting potential issues.

You will learn how to physically connect devices, set up a network in Windows 10/11 And Linux, as well as what to do if the router doesn't assign an IP address or the cable isn't detected. We'll pay special attention to the features of modern routers from TP-Link, ASUS And Keenetic, as well as the nuances of working with laptops, where an Ethernet port may be absent.

This material will be useful for both beginners and experienced users looking to optimize their home network. All instructions are accompanied by screenshots, diagrams, and practical tips tested on equipment from 2023–2026.

1. What cables and connectors will be needed for connection?

Before connecting your PC to the router, you need to make sure you have everything you need. The main component is Ethernet cable (also known as "twisted pair"). It comes in several categories, and the choice depends on the required speed:

  • 🔹 Cat 5e - supports up to 1 Gbps up to 100 meters away. Suitable for most home networks.
  • 🔹 Cat 6/6a — to 10 Gbps, but at a distance of up to 55 meters. Optimal for modern routers with ports 2.5G or 5G.
  • 🔹 Cat 7/8 — to 40 Gbps, but is overkill for home use. It's used in server racks.

Important: If your router has a port WAN/LAN at speed 1 Gbps (marked in yellow), and the cable is Cat 5e, then the maximum connection speed will be limited 100 MbpsTo use a gigabit channel, you need a cable. Cat 6 or higher.

Also check for availability Ethernet port on the computer. In modern laptops it is often missing - in this case you will need USB-Ethernet adapter (For example, TP-Link UE300 or ASUS USB-C2GIG). For desktop PCs, the port is usually built into the motherboard or network card.

⚠️ Attention: If you use Powerline adapters (Internet transmission via electrical wiring), make sure they support the same cable category as your router. For example, an adapter TP-Link AV1000 requires Cat 5e to operate at maximum speed.
📊 What cable do you use to connect to the router?
Cat 5e
Cat 6
Cat 7/8
Don't know
Another

2. Physical connection: where to insert the cable

Now let's move on to the connection process itself. The key here is to select the correct ports on the router and computer.

There are usually 4-8 ports on the back of a router. LAN (yellow or orange) and 1 port WAN (blue or a separate color). To connect a PC you need any of the LAN ports. Port WAN It is intended for the cable from the provider - there is no need to touch it.

On your computer, the cable connector looks like a wide plastic slot with a latch. Insert the cable until it clicks—this means the latch is engaged. If there's no connector, connect it. USB/Ethernet adapter to a free USB port.

Device Where to insert the cable Notes
Router Any port LAN (usually numbered 1-4) Port WAN — only for provider cable!
Desktop PC Ethernet port on the rear panel If the port is missing, you need a network card. PCIe
Laptop Ethernet port or USB adapter Adapters USB 3.0 support speeds up to 1 Gbps
Powerline adapter Port LAN on the adapter Connect the second part of the adapter to the router

After connecting, the corresponding indicator on the router should light up. LAN-port (usually green or orange). If the indicator is not lit or blinking red, check:

The cable is firmly inserted into both connectors|

Try a different LAN port on your router|

Check the cable for damage|

Reboot your router (turn off the power for 30 seconds)-->

3. Network setup in Windows 10 and 11

In most cases Windows automatically detects a wired connection and receives settings from the router via the protocol DHCPHowever, sometimes manual configuration is required. Let's consider both scenarios.

Automatic connection (DHCP)

If the router is configured correctly, it is enough:

  1. Connect the cable to the PC and router.
  2. Wait until the network icon with an exclamation mark appears in the tray (the process of obtaining an IP).
  3. After 10-30 seconds the icon should change to globe (internet) or computer (local area network).

If the Internet does not appear, check:

  • 🔌 Router power supply — the indicator should be on Power.
  • 🌐 Connecting to a provider - indicator WAN or Internet should be green.
  • 🔄 DHCP settings - in the router control panel (usually 192.168.1.1) check if the DHCP server is enabled.

Manual IP address configuration

If automatic address acquisition does not work, configure the network manually:

  1. Open Control Panel → Network and Internet → Network and Sharing Center.
  2. Select Changing adapter settings.
  3. Right click on EthernetProperties.
  4. Select Internet Protocol version 4 (TCP/IPv4)Properties.
  5. Please specify:
    • IP address: 192.168.1.X (where X is a number from 2 to 254, for example, 192.168.1.10)
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.1 (router address)
    • DNS server: 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare)
⚠️ Attention: If your router has a different local IP (for example, 192.168.0.1 or 10.0.0.1), substitute it instead 192.168.1.1The address can be found on the sticker on the bottom of the device.
ipconfig /release

ipconfig /renew

This will reset the current network settings and request new ones from the router.-->

4. Network setup in Linux (Ubuntu, Debian, Fedora)

In distributions Linux The connection process is slightly different. Most modern versions (for example, Ubuntu 22.04+) automatically detect a wired connection via the service NetworkManagerIf this does not happen, follow the instructions.

Automatic connection (DHCP)

Open Terminal (Ctrl+Alt+T) and run:

sudo dhclient eth0

Where eth0 — network interface name (may differ, check with the command ip a). If the command returns an error, try:

sudo systemctl restart NetworkManager

Manual IP configuration

To configure manually, edit the configuration file:

sudo nano /etc/netplan/01-netcfg.yaml

Add the following block (replace eth0 to your interface):

network:

version: 2

ethernets:

eth0:

addresses: [192.168.1.10/24]

gateway4: 192.168.1.1

nameservers:

addresses: [8.8.8.8, 1.1.1.1]

Save the file (Ctrl+O) and apply the settings:

sudo netplan apply

If the network does not work after these steps, check the interface status:

ip a show eth0

The output should contain a line inet 192.168.1.10/24If it is not there, check the syntax of the configuration file.

What to do if Linux doesn't see the network card?

If the team ip a does not show the network interface (for example, eth0 or enp3s0), the driver may be missing. Install it:

  1. Connect to the Internet via Wi-Fi or USB modem.
  2. Do it lspci | grep Ethernetto find out the network card model.
  3. Install the driver: sudo apt install firmware-realtek (for Realtek cards) or sudo apt install firmware-iwlwifi (for Intel).
  4. Restart your PC.
  5. If the problem persists, check if the network card is disabled in the BIOS (section Advanced → Onboard Devices).

5. Checking the connection and diagnosing problems

After connecting the cable and setting up the network, you need to make sure everything is working correctly. Let's start with a basic check.

Testing connection with the router

Open Command Prompt (Windows) or terminal (Linux/macOS) and run:

ping 192.168.1.1

If you see responses like:

Reply from 192.168.1.1: number of bytes=32 time=1ms TTL=64

— the connection to the router is established. If a message appears Timeout exceeded or The network node is unavailable., the problem may be in:

  • 🔌 Cable — try a different cable or port on the router.
  • 🖥️ Network card - check its functionality on another device.
  • ⚙️ Router settings - Make sure the DHCP server is enabled.

Checking Internet access

If you can ping the router but there is no internet, run:

ping 8.8.8.8

If there are answers, but the sites do not open, the problem is DNSTry changing the DNS server in your network settings to 8.8.8.8 or 1.0.0.1.

If the ping is up to 8.8.8.8 it doesn't work either, check:

  • 📡 Connecting the router to the provider — is the indicator on? WAN/Internet?
  • 🔄 WAN settings — you may need to enter your provider's login/password (PPPoE) or bind by MAC address.
  • 🔒 Firewall or antivirus - temporarily disable them and check the connection again.

6. Connection features on different routers

Connecting a PC to a router via cable is generally a universal process, but some models have their own nuances. Let's look at some popular brands.

TP-Link (Archer, Deco, TL-WR)

On routers TP-Link ports LAN usually numbered and highlighted in yellow. Features:

  • 🔧 DHCP is enabled by default, IP range: 192.168.0.100–192.168.0.199.
  • 🔄 To reset the settings, hold the button Reset 10 seconds.
  • 📡 In some models (for example, Archer C6) port LAN1 can work as WAN (switchable in the web interface).

ASUS (RT-AX, RT-AC)

Routers ASUS often equipped with technology AiMesh, which can affect wired connections:

  • 🔗 Ports LAN can be combined into Link Aggregation (to increase speed).
  • 🔌 In models with USB port (For example, RT-AX88U) priority is given to wired connections.
  • ⚡ There is an option in the settings Adaptive QoS, which can limit the speed on the cable.

Keenetic (Giga, Hero, Speedster)

Keenetic uses its own firmware NDMS, where network settings are located in a separate section:

  • 🌐 The default IP address of the router is 192.168.1.1, but can be changed to my.keenetic.net.
  • 🔧 In the section Local area network You can reserve an IP for a PC by MAC address.
  • 🔄 Supports Dual-WAN — you can connect two cables from different providers.
  • ⚠️ Attention: On routers Keenetic with firmware NDMS 3.0+ When connecting for the first time, you may need to log in via Keenetic CloudIf you don't want to create an account, update your firmware to the latest version and disable cloud access in the settings.

    7. Solving common problems

    Even with a proper connection, errors can still occur. Let's look at common issues and how to resolve them.

    Network without Internet access (Windows)

    If a yellow triangle with an exclamation mark appears in the tray:

    1. Open Network connections → right click on EthernetDiagnostics.
    2. If the diagnostics did not help, check the settings IPv4 (see section 3).
    3. Run in command line:
      netsh winsock reset
      

      netsh int ip reset

      Then restart your PC.

    "Cable not connected" (no connection)

    If Windows or Linux reports that the cable is missing:

    • 🔌 Check the physical connection (see section 2).
    • 🖥️ Update your network card driver via device Manager.
    • 🔧 In BIOS, make sure the network adapter is enabled (Onboard LAN Controller → Enabled).
    • 🔄 Try a different cable or port on your router.

    Low speed via cable

    If the speed is lower than expected (for example, 100 Mbps instead of 1 Gbps):

    • 🔧 Check the cable category - for 1 Gbps needed Cat 5e or higher.
    • 🖥️ In Device Manager Open the properties of the network card → tab Additionally → install Speed & Duplex V Auto Negotiation.
    • 📡 Disable it in your router settings Green Ethernet or Energy Efficient Ethernet (These features may limit speed).
    How to check the actual speed via cable?

    Download the utility iPerf3 and run a test between your PC and another device on the network:

    1. On the first PC, run: iperf3 -s (server).
    2. On the second PC: iperf3 -c [IP_of_the_first_PC] (client).

    The utility will show your actual data transfer speed without any influence from your internet provider. To test your internet speed, use speedtest.net (select your provider's server).

    8. Alternative connection methods without an Ethernet port

    If your laptop or all-in-one PC doesn't have an Ethernet port, there are several ways to connect to your router via cable.

    USB-Ethernet adapters

    The simplest solution is to buy an adapter. Popular models:

    • 🔌 TP-Link UE300USB 3.0 → Gigabit Ethernet, compatible with Windows/macOS/Linux.
    • 🔌 ASUS USB-C2GIG - for laptops with USB-C, speed up to 2.5 Gbps.
    • 🔌 Ugreen USB 2.0 to Ethernet — budget option, speed up to 100 Mbps.

    Connect the adapter to a USB port, install the driver (if required) and use it as a regular Ethernet port.

    Powerline adapters (Internet over electrical wiring)

    If it is inconvenient to lay the cable, use Powerline:

    1. Buy a set of two adapters (eg. TP-Link AV1000).
    2. Connect one adapter to the router (in LAN port) and plug into the socket.
    3. Plug the second adapter into a socket near the PC and connect it to it with a cable.

    The speed depends on the quality of the wiring (usually 200–500 Mbps).

    MoCA adapters (Internet over coaxial cable)

    If there is a cable laid in the house TV cable, you can use adapters MoCA (For example, goCoax WF-803M):

    • 📡 Speed ​​up to 1 Gbps via coaxial cable.
    • 🔌 Freelancer required F-connector on the splitter.
    • 🔧 Compatible with most routers (requires an adapter with an output) Ethernet).

    Frequently Asked Questions

    Is it possible to connect a PC to a router via cable if the router has no free LAN ports?

    Yes, there are two options:

    1. Use switch - connect it to one of the router ports, and then connect the PC to the switch.
    2. If there is a port on the router USB, some models (for example, ASUS RT-AX88U) allow you to distribute the Internet through USB-Ethernet adapter.

    Please note: When using a switch, all devices will be on the same subnet, which may affect speed under heavy load.

    Why is the speed via cable lower than via Wi-Fi?

    This is an anomaly, as Ethernet is usually faster. Possible causes:

    • 🔧 The cable is damaged or does not correspond to the category (for example, Cat 5 instead of Cat 5e).
    • 🖥️ The network card is operating in the mode 100 Mbps (check in Device Manager).
    • ⚡ It's enabled in the router settings QoS or Bandwidth Control, limiting wired connections.
    • 📡 The provider artificially limits the speed of the cable (rare, but it happens).

    To diagnose the issue, connect the cable directly to the PC from the provider (bypassing the router) and check the speed.

    Should I turn off Wi-Fi if my PC is connected via cable?

    No, this is not necessary. Modern operating systems automatically prioritize connections:

    • 🖥️ In Windows priority is set in Control Panel → Network → Change adapter settings → Advanced settings.
    • 🐧 In Linux The priority is determined by the route metric (check with the command ip route).

    However, for maximum stability (for example, in online games), it is better to disable Wi-Fi to avoid routing conflicts.

    How to connect two computers to one router using a LAN cable?

    To do this:

    1. Connect both PCs to the router via LAN ports.
    2. Make sure your router is turned on DHCP server (enabled by default).
    3. In the router settings (Local area network) check that both devices have received IP addresses.
    4. To share files, please enable General access in the network settings on both PCs.

    If you need to connect your PC directly (without a router), use crossover cable or a regular Ethernet cable (modern network cards support it) Auto MDI-X).

    Can you use a phone cable instead of Ethernet?

    No, it's not possible. Telephone cable (UTP Cat 3) has only 2 pairs of wires and is designed for voice transmission, whereas Ethernet requires 4 pairs (8 wires) for speed 100 Mbps and higher. Furthermore, the connectors differ: RJ-11 (phone) vs RJ-45 (Ethernet).

    If you only have telephone cable installed, consider the following options:

    • 📡 Powerline adapters (Internet for electrical wiring).
    • 📶 Wi-Fi repeater with port Ethernet.
    • 🔌 MoCA adapters (if there is a TV cable).