Distributing the Internet from a laptop to other devices via an Ethernet cable is a reliable way to organize a network without a router. This method is useful if Wi-Fi is not available or you need a stable wired connection to Smart TV, game console or other computer. Unlike wireless distribution, a cable connection provides minimal delays and maximum speed, which is critical for online games or video streaming. 4K.

In this article you will find step-by-step instructions for Windows 10/11, macOS And Linux, and also look at typical errors and ways to eliminate them. We will not limit ourselves to template advice - here are only proven solutions, including configuration IP addresses manually and diagnosing problems with DHCP. If you have previously encountered messages like "No Internet access" or "Unidentified network", this material will help you understand the reasons and correct them without turning to specialists.

When may you need to distribute the Internet via cable?

There are more situations in which a wired connection is preferable to Wi-Fi than it seems. Here are the most common scenarios:

  • 🎮 Game consoles (PlayStation 5, Xbox Series X): low is important for online games ping, and the cable reduces latency by 20-50% compared to Wi-Fi.
  • 📺 Smart TV and media players (Samsung QLED, Apple TV 4K): when viewing content in HDR or Dolby Vision The cable eliminates artifacts and freezes.
  • 💻 Setting up a second PC: If the second computer does not have a Wi-Fi adapter or you need to transfer large files over a local network.
  • 🔧 Network diagnostics: when you need to check whether the problem is in the router or the provider by connecting the laptop directly to the modem.

In addition, cable distribution is relevant in conditions interference (for example, in offices with a large number of Wi-Fi points) or when limited traffic — a wired connection uses data more economically due to the absence of packet losses. And if you are traveling and the hotel only has one connection via Ethernet, the laptop will become your personal router.

📊 Why do you most often distribute internet from your laptop?
  • For game console
  • For Smart TV
  • For a second computer
  • For network diagnostics
  • Other

Hardware and software requirements

Before you begin setup, make sure your hardware meets the minimum requirements. Here's what you'll need:

Component Minimum Requirements Recommendations
Laptop Any with a port Ethernet (or adapter USB-to-Ethernet) Intel Core i3/Ryzen 3 and higher for stable operation
Ethernet cable Cable Cat 5e or higher Cat 6 for speeds up to 1 Gbit/s
Operating system Windows 7 and above, macOS 10.15, Linux (any distribution) Windows 11 or macOS Ventura for simplified setup
Administrator rights Required to change network settings On Linux will need access to sudo

Pay special attention Ethernet adapter. If your laptop doesn't have a built-in port (like most Ultrabooks), you'll need an external adapter. For example, USB-C to Ethernet from Anker or TP-Link. Important: cheap adapters on chips Realtek RTL8153 may cause problems with DHCP - it is better to choose models for ASIX AX88179.

⚠️ Attention: If you are using VPN on a laptop, distributing the Internet via cable can lead to traffic leakage. Before setting up, disable VPN or configure split tunneling in its parameters.

Setting up Internet distribution in Windows 10 and 11

In modern versions of Windows, Internet distribution via cable is implemented through the function "Mobile hot spot", but a wired connection will require manual configuration. Follow the instructions:

  1. Connect Ethernet cable to the laptop and target device.

  2. Open Control Panel → Network and Sharing Center.

  3. Go to Changing adapter settings.

  4. Find the connection through which the laptop receives the Internet (for example, "Wireless Network" or "Ethernet 2"), right-click and select Properties.

  5. In the tab Access check the box Allow other network users to use this computer's Internet connection.

  6. In the dropdown list Connecting your home network select Ethernet (or Local network, if there are several ports).

After applying the settings, the target device should automatically receive IP address. If this does not happen, check:

  • 🔌 Correct cable connection (try another port or cable).
  • 🔄 Reboot your network adapters via Device Manager.
  • 🛠️ Manually assign IP on the target device (for example, 192.168.137.2 with mask 255.255.255.0 and gateway 192.168.137.1).

☑️ Check before setting up in Windows

Done: 0 / 4
⚠️ Attention: If an error appears after setup "The connection could not be shared", try disabling IPv6 in the properties of the main adapter or run in Command line (on behalf of administrator):

netsh winsock reset

Then restart your laptop.

Internet distribution from a laptop on macOS

On MacBook The setup process is simpler thanks to the built-in sharing wizard. However, there are nuances with USB-C adapters — some models require additional drivers. Instructions:

  1. Connect the cable to MacBook (if necessary via adapter).

  2. Open System Preferences → Sharing.

  3. From the left menu select Shared Internet.

  4. In the field Connection via: indicate your main internet source (for example, Wi-Fi or Thunderbolt Bridge).

  5. In the section For computers using: check the box next to it Ethernet (or USB 10/100/1000 LAN, if an adapter is used).

  6. Click Launch and confirm the action.

If the target device does not receive IP, check:

  • 🔌Adapter compatibility (on the official website Apple There is list of certified accessories).
  • 🔄Settings DHCP in System Settings → Network → Ethernet → Advanced → TCP/IP (must stand Use DHCP).
  • 🛠️ No conflicts with Little Snitch or other firewalls.

On macOS Ventura and later, Internet Sharing may be blocked by security. If after setup the Internet is not distributed, temporarily disable "System Integrity Protection" (SIP) via Terminal:

csrutil disable

reboot

After configuration, do not forget to return SIP to its original state with the command csrutil enable.

💡

If the target device is Apple TV, before connecting, reset its network settings to Settings → System → Reset → Reset network settings. This will eliminate possible conflicts with previous connections.

Internet distribution via Ethernet in Linux (Ubuntu, Debian, Arch)

B Linux setting up Internet distribution requires work with Terminal and changes to configuration files. We will look at the universal method via iptables And dnsmasq, which works on most distributions.

Pre-install the necessary packages:

sudo apt update && sudo apt install dnsmasq iptables

Next, follow these steps:

  1. Enable packet forwarding:

    echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
  2. Set up NAT for Internet distribution (replace wlp3s0 to your Wi-Fi/ETH adapter, and enp0s25 — to the target Ethernet port):

    sudo iptables -t nat -A POSTROUTING -o wlp3s0 -j MASQUERADE
    

    sudo iptables -A FORWARD -i enp0s25 -o wlp3s0 -j ACCEPT

  3. Set up dnsmasq for distribution IP addresses. Edit the file /etc/dnsmasq.conf:

    interface=enp0s25
    

    dhcp-range=192.168.50.100,192.168.50.200,255.255.255.0,12h

  4. Start the services:

    sudo systemctl restart dnsmasq
    

    sudo systemctl enable dnsmasq

If the settings are reset after a reboot, save the rules iptables:

sudo apt install iptables-persistent

sudo netfilter-persistent save

⚠️ Attention: On some distributions (for example, Arch Linux) instead dnsmasq used dhcpcd. In this case, configure /etc/dhcpcd.conf, adding:

interface enp0s25

static ip_address=192.168.50.1/24

denyinterfaces wlp3s0

How to find out network interface names in Linux?

Run the command ip a or ifconfig -a. Adapter names usually start with enp (Ethernet), wlp (Wi-Fi) or eth/wlan on older systems.

Solving common problems

Even with correct settings, errors may occur. Let's look at the most common of them and how to eliminate them:

Problem Possible reason Solution
"No Internet access" on the target device Incorrect settings NAT or DHCP Check the rules iptables (Linux) or sharing settings (Windows/macOS). Disable the firewall.
The target device does not receive IP address Service failure DHCP or address conflict Assign IP manually (for example, 192.168.137.50 with mask 255.255.255.0).
Slow connection speed Cable Cat 5 or damaged adapter Replace the cable with Cat 6 and check the port for physical damage.
Error "Failed to enable sharing" (Windows) Conflict with antivirus or damage to network stack Execute netsh int ip reset and restart your PC.

If the problem persists, use the utility ping for diagnostics:

  • 🔍 On the target device, do ping 8.8.8.8. If packets arrive, but there is no Internet, the problem is DNS (try specifying 8.8.8.8 manually).
  • 🔍 On your laptop, do ping [target device IP]. If there is no answer, check the cable or adapter.
💡

If the distribution works, but the speed is lower than expected, the reason may be a limitation on the part of the provider. Some tariffs block the “distribution” of the Internet - check this with technical support.

Security when distributing the Internet via cable

A wired connection is considered more secure than Wi-Fi, but there are risks here too. Here are the key precautions:

  • 🔒 Turn off file sharing: in Network Sharing Center (Windows) or System settings (macOS) check that folders are not shared with "Everyone".
  • 🛡️ Use a firewall: Even when distributing via cable, enable the built-in firewall or install GlassWire (Windows) / Little Snitch (macOS).
  • 🔄 Update your software regularly: vulnerabilities in network card drivers (for example, Realtek RTL8111) can be used for attacks.
  • 📡 Control your connected devices: in ARP table (command arp -a) check unknowns MAC addresses.

If you distribute internet in a public place (such as a hostel), consider using virtual machine with Linux as an intermediary. This will add a layer of isolation between your main PC and connected devices. To do this:

  1. Install VirtualBox or VMware Workstation.

  2. Create a virtual machine with Ubuntu Server and configure distribution on it (as described in the section about Linux).

  3. Connect the target device to the virtual machine via Bridged Networking.

💡

For additional traffic protection, install on your laptop Pi-hole in Docker. This will block ads and potentially dangerous domains for all connected devices.

FAQ: Frequently asked questions about Internet distribution via cable

Is it possible to distribute the Internet via cable and Wi-Fi at the same time?

Yes, but for this you will need to create a separate bridge between adapters or use third-party utilities like Connectify Hotspot (Windows). B Linux this is done through hostapd + dnsmasq. However, performance may drop due to CPU load.

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

This is paradoxical, but possible reasons:

  • Cable Cat 5 instead of Cat 6 (limit in 100 Mbit/s).
  • Hardware limitations of the USB adapter (many cheap models do not support Gigabit Ethernet).
  • Enabled QoS on a laptop (disable it in the adapter settings).

Check the actual cable speed with the command:

ethtool enp0s25 | grep Speed
How to distribute the Internet from a laptop to Raspberry Pi?

The setup is similar to regular Linux, but taking into account the features RPi:

  1. Connect Raspberry Pi via Ethernet to laptop.
  2. Set up distribution on your laptop (as in the section about Linux).
  3. On RPi edit /etc/dhcpcd.conf:
  4. interface eth0
    

    static ip_address=192.168.50.2/24

    static routers=192.168.50.1

    static domain_name_servers=8.8.8.8

After reboot RPi must gain access to the network.

Is it possible to distribute the Internet from a laptop to Android-device via USB?

Technically yes, but you will need:

  • USB cable with support OTG (and adapter USB-C to Ethernet for smartphone).
  • Root rights to Android for manual setting IP.
  • App like USB Ethernet from Play Market.

Without root, Internet access will only be on the local network (for example, to access files on a laptop).

How to disable Internet distribution without disrupting other connections?

B Windows:

  • Open Network and Sharing Center → Change adapter settings.
  • Right click on the main connection → Properties → Access and uncheck the box.

B macOS:

  • Go to System Preferences → Sharing and uncheck Shared Internet.

B Linux:

sudo systemctl stop dnsmasq

sudo iptables -F