How to connect a computer to a Wi-Fi router via a LAN cable

Modern wireless technologies make it easy to access the Internet from any gadget, but for desktop computers and laptops that require maximum stability, wired connection remains the undisputed leader. When a user asks how to connect a computer to a Wi-Fi router if the LAN cable is already connected, they usually mean setting up full access to the global network or creating a local environment for data exchange. It's important to understand from the outset: physically connecting the cable is only the first step, followed by logical configuration of the operating system.

Many people mistakenly believe that simply plugging a device into a socket instantly grants access to resources. However, there are nuances related to network card drivers, IP addressing settings, and the WAN port status on the router itself. Windows, macOS And Linux Network interfaces may react differently to the addition of a new network interface, requiring user intervention for proper operation. In this article, we'll cover the entire process in detail, from cable selection to fine-tuning TCP/IP settings.

A stable wired connection is critical for online gaming, large data transfers, and server operation. Unlike wireless signalWhile a cable is susceptible to interference from microwaves and neighboring networks, it provides predictable speeds and minimal ping. Understanding how a local network works will help you not only connect your device but also accurately diagnose potential problems in the future.

Equipment preparation and cable selection

The first thing you need to do is make sure the equipment you're using is in good working order. You'll need the Wi-Fi router, a computer with a working network interface and, of course, a patch cord. The cable must be of the type Vitaya Para (twisted pair) of category 5e or higher, which will support speeds of up to 1 Gbps and higher. Visually inspect the cable for kinks, and the connectors (RJ-45 plugs) for damage to the plastic clips and contacts.

Pay attention to the ports on the back of the router. They are usually highlighted in yellow and numbered (LAN 1, LAN 2, etc.). Don't confuse them with the WAN port (often blue), which is used to connect the cable from your ISP. If you plug a computer cable into the WAN port, the local network between the devices won't work, as the ports have different logic.

⚠️ Note: Some modern routers feature Auto-MDI/MDIX, which automatically detects the connection type. However, older models may require a straight-through or crossover cable. A straight-through cable is used in 99% of cases to connect a PC to a router.

Cable length also plays a role, although this is rarely an issue for home use. The Ethernet standard allows data to be transmitted over distances of up to 100 meters without signal degradation. If you plan to run the cable throughout your apartment, ensure it is not located close to power lines to avoid electromagnetic interference.

📊 How long is your network cable?
Less than 1 meter
1-5 meters
5-15 meters
More than 15 meters

Physical connection and initial diagnostics

The physical connection process is extremely simple, but requires care. Insert one end of the cable into any available port. LAN on the back of the router until you hear a clicking sound. Connect the other end to the network port on your computer's system unit or to the laptop's docking station. Make sure the cable is secure and doesn't dangle.

Once connected, pay attention to the LED indicators. On the router, the corresponding LED next to the LAN port being used should light or blink. On the computer, there are usually two indicators near the network port: one indicates the presence of a link (Link), and the other indicates data transfer activity (Activity). If neither indicator is lit, the problem may be with the cable or drivers.

  • 🔌 Check if the connector is firmly inserted into the port until it clicks into place.
  • 🔍 Make sure the LAN port indicator on the router is lit.
  • 💻 Check if the network adapter is active in Windows Device Manager.
  • 🔄 Try replacing the cable with a known good one if the indicators do not light up.

If a physical connection is established, the operating system will typically emit a sound signal indicating the device is connected. The exclamation point or globe icon in the Windows system tray (near the clock) should disappear, and a monitor icon with a cable should appear. This indicates that the physical layer (Layer 1) and data link layer (Layer 2) are functioning correctly.

☑️ Checking the physical connection

Completed: 0 / 4

Configuring a network adapter in Windows

After a successful physical connection, you need to check the software settings. In modern operating systems, such as Windows 10 or Windows 11, parameters TCP/IP By default, they are set to obtain an address automatically. This is the most appropriate option for a home network where the router acts as an address server (DHCP).

To check your settings, go to your network control panel. Click Win + R, enter the command ncpa.cpl and press Enter. Find the "Ethernet" connection, right-click it, and select "Properties." In the list of components, find "Internet Protocol Version 4 (TCP/IPv4)," select it, and click "Properties" again.

In the window that opens, make sure "Obtain an IP address automatically" and "Obtain DNS server address automatically" are selected. If these settings contain static addresses from your previous ISP or are from a different network, your computer will not be able to connect to your router. If in doubt, reset these settings to automatic.

Parameter Recommended value Description
IP address Automatic (DHCP) The router will automatically issue an address from the pool (for example, 192.168.0.x)
Subnet mask 255.255.255.0 Standard mask for class C home networks
Main gateway Router address Usually 192.168.0.1 or 192.168.1.1
DNS servers Automatically The provider's servers or public ones (Google, Cloudflare) are used.
What should I do if automatic setup doesn't work?

If automatically obtaining an address doesn't help, try setting a static IP. For example, if your router's address is 192.168.0.1, set your computer's IP address to 192.168.0.50, mask to 255.255.255.0, and gateway to 192.168.0.1. This often resolves compatibility issues with older devices.

Checking connection status and diagnostics

Once the settings are saved, the system will attempt to obtain an address from the router. You can check the connection status by double-clicking the network icon in the system tray or via the "Settings" -> "Network & Internet" menu. If the status is "Connected" or "Internet," then everything is fine. However, if the status is "No Internet Access" or "Unidentified Network," troubleshooting is required.

For in-depth diagnostics, use the built-in command line utility. Open the terminal (cmd) and enter the command ipconfigFind your Ethernet adapter in the list. If in the "IPv4 Address" field you see an address starting with 169.254.x.x, this means the computer couldn't obtain an address from the router (DHCP isn't working). In this case, the problem is either in the router settings or the cable.

It is also useful to run the command ping to check the connection with the gateway. Enter ping 192.168.0.1 (or your router's address). If you see the response "Response from... time <1ms," then the physical connection and underlying logic are working properly. If you see "Timeout exceeded," check your firewall or antivirus software, as they may be blocking local traffic.

⚠️ Please note: Router and operating system interfaces are constantly being updated. Menu item names may vary slightly depending on the firmware version. TP-Link, Asus or KeeneticAlways check the official documentation for your specific model if the standard paths do not match.

Setting up a local network and sharing

If you want to not only connect to the internet but also share files between computers or access a network-attached storage (NAS) connected to the router, you need to configure a network profile. When you first connect, Windows will ask, "Do you want this computer to be discovered on the network?" For a home network, select "Yes" (Private network). This will open the necessary ports for file sharing.

To access shared folders, open File Explorer and enter the IP address of another computer or router in the address bar (for example, \\192.168.0.1). If you're setting up a home media server, make sure File and Printer Sharing is enabled in the Network and Sharing Center. Without it, your computer will see the network but won't be able to transmit data.

In some cases, you may need to manually enable discovery services. Go to Control Panel -> Network and Internet -> Network and Sharing Center -> Change advanced sharing settings. Here, enable network discovery and file sharing for the current network profile. This is especially important if you want to stream video from your PC to a Smart TV via cable.

  • 📂 Enable folder sharing in Windows settings.
  • 🏠 Select the "Private" (Home) network profile to open ports.
  • 🔍 Use your IP address to access resources directly.
  • 🛡️ Check if your antivirus is blocking local connections.

Solving common problems

Even with a proper connection, problems can occur. One common issue is an IP address conflict, when two devices on the network are assigned the same address. This can be resolved by rebooting the router, which will redistribute the addresses, or manually changing the IP address on the computer to a unique one. The problem may also be due to outdated network card drivers.

Go to the website of the motherboard or laptop manufacturer and download the latest driver for the LAN controller (often this is Realtek, Intel or Killer). Automatic driver installation via Windows Update does not always find the optimal version, which can lead to connection interruptions or low speeds.

If the connection speed is significantly lower than what your ISP claims or your cable's capabilities, check the duplex mode. In the adapter properties, under the "Advanced" tab, find "Speed ​​& Duplex" and make sure "Auto Negotiation" is selected or forced to "1.0 Gbps Full Duplex." Auto-negotiation sometimes doesn't work correctly with older routers.

Why can't the computer see the router via cable?

There could be several possible causes: the cable itself is faulty (a broken wire), the LAN port on the router or PC is burned out, the network adapter is disabled in the BIOS/UEFI, or the wrong drivers are installed. Start your diagnostics by checking the indicators and replacing the cable.

Can I use my phone cable for internet?

No, standard telephone cables (RJ-11) have fewer wires and a different connector. Ethernet requires a twisted pair cable with RJ-45 connectors. Adapters are available, but they don't guarantee stable operation or high speed.

Does cable length affect internet speed?

For standard Ethernet (up to 100 meters), the length of a high-quality Cat5e/Cat6 cable has virtually no impact on speed. However, using very long, low-quality cables (such as copper-clad aluminum) can lead to signal attenuation and speeds dropping to 10 Mbps.

How do I know what speed my cable is connected to?

In Windows, go to "Network Connections," right-click "Ethernet" -> "Status." The current connection speed will be displayed (e.g., 1000 Mbps). If it's 100 Mbps, the cable may be damaged or only has four working wires.