Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Connect Two Computers with an Ethernet Cable

Connect two computers over Ethernet to transfer files or use a local network. This guide covers the cable, network settings, and file sharing while avoiding risky fixed IP settings and broad drive sharing.

Table of Contents

You can connect two computers with an Ethernet cable, but a cable alone does not automatically share files. Both computers need Ethernet ports or compatible USB-to-Ethernet adapters, a working cable, and network and sharing settings configured for the connection.

What you need

  • An Ethernet cable that fits both computers. Most modern network adapters support automatic crossover, so a special crossover cable is usually unnecessary.
  • An Ethernet port on each computer. If a computer lacks one, use a compatible USB-to-Ethernet adapter.

Ethernet cable for connecting computers

Connect the computers

  1. Connect one end of the cable to each computer’s Ethernet port.
  2. Wait for the network connection to appear. If the link remains disconnected, try another cable or adapter and check the adapter status in the operating system.
  3. Leave IP addressing set to automatic unless you have a specific network plan. Do not copy the example static addresses from older guides: they can conflict with your router or another device.

Network adapter settings

Share files on Windows

On both PCs, use a trusted network profile and enable network discovery and file sharing only for that private connection. On the computer that holds the files, share a specific folder with the account that needs access. Do not share the whole drive or disable the firewall. If direct discovery does not work, use the network address or name shown in Windows and check the folder’s permissions.

Windows 7 and Homegroup instructions in older tutorials no longer match current Windows versions. On current Windows, use Advanced sharing settings and folder permissions instead.

Windows local network connection

Share files with a Mac

On macOS, open System Settings > General > Sharing and turn on File Sharing. Choose only the folders and users that should have access. On the other computer, connect to the shared computer through Finder or Windows network sharing, and enter an authorized account if prompted. Menu names can differ between macOS versions.

Sharing files between computers

If the computers are not detected, confirm the Ethernet link is active, that both are using the same local connection, and that discovery and folder permissions allow access. A router or switch can also connect both computers and provide local networking.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.