How to set up Wi-Fi on two computers: all connection methods + step-by-step instructions

Connecting two computers to a single Wi-Fi network is a challenge faced by both home users and small office workers. Regardless of the purpose (file sharing, simultaneous internet browsing, or setting up a local network), the key is choosing the optimal signal distribution method. Errors at this stage lead to slow connections, IP address conflicts, or complete inaccessibility.

In this article we will look at 5 working methods Wi-Fi setup for two PCs: from classic setup via a router to non-standard solutions like bridge mode (WDS) or virtual access point on Windows. We will pay special attention to security (choosing encryption, hiding SSID) and diagnostics Typical problems include the second computer not seeing the network or connecting without internet access. All instructions are relevant for current versions. Windows 10/11, macOS and routers TP-Link, ASUS, Keenetic.

If you need to do more than just distribute the Internet, but create a full-fledged local network for file sharing or collaboration, there is information at the end of the article bonus section with setting up a shared folder and printer. And for those who prefer wired solutions, we compared Wi-Fi and connecting via Ethernet cable by key parameters: speed, stability and security.

1. Method #1: Connecting via a router (recommended method)

Usage router — the most reliable and universal way to distribute Wi-Fi to two or more computers. Modern routers support simultaneous connections of up to 250+ devices (in theory), and in practice, it easily handles 10-15 gadgets without losing speed. The main advantages of this method:

  • 🔄 Stable signal without interruptions (unlike distribution from a smartphone).
  • 🛡️ Built-in protection: firewall, MAC address filtering, guest access.
  • 📶 Extended coverage thanks to external antennas (in models like ASUS RT-AX88U or TP-Link Archer C6).
  • 🔧 Flexible settings: traffic prioritization (QoS), parental control, VPN.

To set up you will need:

  1. Router with support Wi-Fi 4 (802.11n) or newer.
  2. Cable from the provider (if the Internet is wired).
  3. Two computers with Wi-Fi adapters (built-in or external, for example, TP-Link TL-WN823N).

Plug the router into a power outlet and wait for it to boot up (the indicators should be steadily lit) | Connect the ISP cable to the WAN port (usually highlighted in blue) | Connect the router to the first PC via Ethernet or Wi-Fi (the network name and password are indicated on the sticker) | Open the router control panel at 192.168.0.1 or 192.168.1.1 -->

Next, follow the step-by-step instructions:

  1. Log in to your control panel:

    Enter login/password (by default it is often admin/admin or admin/empty). The data sticker is on the bottom of the router. If you can't log in, reset the settings using the button. Reset (hold for 10 seconds).

  2. Set up your internet connection:

    Go to the section Internet (or WAN) and select the connection type your ISP uses. Most often, it is Dynamic IP (DHCP), PPPoE (requires login/password) or Static IP (data provided by the provider). For Rostelecom, Beeline or MTS Usually it is enough to enter the login/password from the contract.

  3. Set up a Wi-Fi network:

    In the section Wireless network (Wireless) please specify:

    • Network name (SSID): come up with something unique (eg. HomeOffice_5G).
    • Region: Select your country (affects available channels).
    • Channel: For 2.4 GHz select 1, 6 or 11 (least loaded) for 5 GHz - automatic.
    • Encryption: only WPA2-PSK or WPA3-PSK (don't use outdated WEP!).
    • Password: minimum 8 characters, with numbers and capital letters.
  • Save the settings and reboot the router.
  • After rebooting, connect the second computer to the newly created network by entering the password. If the internet isn't working, check:

    • 🔌 Is the provider's cable (port) connected correctly? WAN should blink).
    • 📡 Are there any conflicting IP addresses (in cmd complete ipconfig /all - both PCs must have addresses from the same subnet, for example, 192.168.1.x).
    • 🔄 Is Windows Firewall blocking the connection (temporarily disable it to check).

    TP-Link|ASUS|Keenetic|Xiaomi|D-Link|Other-->

    2. Method #2: Sharing Wi-Fi from a computer (without a router)

    If you don't have a router at hand, you can share the Internet from one computer to another using it as virtual access pointThis method is suitable for:

    • 🏠 Temporary internet distribution (for example, if the router is broken).
    • 🎮 Connecting a second PC to a local network for LAN gaming.
    • 📱 Mobile Internet sharing (if the first PC is connected to the smartphone via USB).

    There are two ways to organize such a network: through command line or mobile hotspot (in Windows 10/11). Let's look at both.

    2.1 Mobile hotspot (the easy way)

    Instructions for Windows 10/11:

    1. Open Settings → Network & Internet → Mobile Hotspot.
    2. In the field Sharing Select the connection through which the first PC receives the Internet (for example, Ethernet or Wireless network).
    3. Click Change and ask:
      • Network name (For example, PC-Hotspot).
      • Password (minimum 8 characters).
      • Range: For maximum speed, select 5 GHz (if the adapter supports it).
  • Turn on the switch Mobile hotspot.
  • On the second computer, find the created network in the Wi-Fi list and connect. If the internet doesn't appear:

    • 🔄 Restart the hotspot (turn it off and on again).
    • 🛠️ Check if internet sharing is enabled: open Control Panel → Network and Sharing Center → Change adapter settings, right-click on the main connection → Properties → Access → check the box Allow other network users to share your Internet connection.

    2.2. Command line (advanced settings)

    This method gives you more control over the network, for example, it allows you to set channel or maximum number of connected devicesInstructions:

    1. Launch Command prompt (administrator) (click Win + XTerminal (administrator)).
    2. Check Wi-Fi sharing support:
      netsh wlan show drivers

      Find the line Hosted network support — it should be Yes.

    3. Create a network:
      netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 keyUsage=persistent

      Replace MyWiFi to the network name, and 12345678 — to the password.

    4. Start the distribution:
      netsh wlan start hostednetwork
    5. Allow internet sharing (as with the mobile hotspot method).

    To stop seeding, run:

    netsh wlan stop hostednetwork

    Important: After restarting your PC, sharing will be disabled. To start it automatically, create .bat-file with command netsh wlan start hostednetwork and add it to startup.

    3. Method #3: Using your smartphone as a hotspot

    If you have a smartphone at hand 3G/4G/5G, it can be used as modem To share the internet between two computers. This method is convenient when traveling or without a router, but it has limitations:

    • 📶 Limited traffic (if you do not have an unlimited tariff).
    • 🔋 Fast battery drain (it is recommended to connect the charger).
    • 🐢 Low speed compared to wired internet (especially on 3G).

    Instructions for Android And iPhone:

    3.1. On Android

    1. Open Settings → Network & Internet → Hotspot & Tethering.
    2. Select Wi-Fi hotspot.
    3. Set up:
      • Network name (For example, AndroidAP).
      • Password (minimum 8 characters).
      • Range: 5 GHz (if supported) for less interference.
  • Turn on the access point.
  • 3.2. On iPhone (iOS)

    1. Open Settings → Tethering.
    2. Turn on Allow others.
    3. Set a password (automatically generated by default).
    4. Connect your computers to the network with the name of your iPhone (for example, iPhone (YourName)).
    5. Connect to the newly created network on both computers. If the internet isn't working:

      • 🔄 Restart the modem mode on your smartphone.
      • 📱 Check if mobile data is enabled.
      • 🛡️ Disable VPN or firewall on your computers.
      How to save traffic when sharing from your phone?

      Use the traffic limiting features in the hotspot settings (on Android). For example, in Samsung there is an option Data limit — if the limit is exceeded, the distribution will be automatically disabled. Also, disable background updates on your computers: in Windows, this is done in Settings → Update & Security → Advanced Options → Delivery Optimization.

      4. Method #4: Connecting via cable (Wi-Fi alternative)

      If both computers are close to each other (for example, on the same desk), the most stable and fastest connection method is direct Ethernet connectionThis is relevant for:

      • 🎮 Gamers (minimal pings and no lags).
      • 💻 Working with large files (video editing, 3D rendering).
      • 🔒 Increased security requirements (wired connections are more difficult to intercept).

      You will need:

      • Cross-over cable (if you connect two PCs directly without a router) or a regular one Ethernet cable (if you use a router).
      • Free ports LAN on both computers.

      4.1. Connecting via a router

      Simply connect both PCs to the router with cables—they will automatically receive IP addresses and internet access. This method is preferable to a direct connection because:

      • 🌐 Provides Internet access (if the router is connected to a provider).
      • 🔧 Allows flexible network configuration (for example, reserving IP addresses for PCs).

    4.2. Direct connection (without a router)

    If you don't have a router, follow these steps:

    1. Connect computers cross-over cable (or normal if the network cards support it) Auto MDI-X).
    2. On the first PC, open Control Panel → Network and Sharing Center → Change adapter settings.
    3. Right click on EthernetProperties → IPv4 Protocol.
    4. Set manually:
      • IP address: 192.168.1.1.
      • Subnet mask: 255.255.255.0.
  • On the second PC, repeat the steps, but specify IP address: 192.168.1.2.
  • Check the connection: on any PC, run cmd:
    ping 192.168.1.2

    Responses should arrive without losses.

  • To access the Internet on the second PC, turn on public access on the first one (as in the method with a mobile hotspot).

    Parameter Wi-Fi Ethernet
    Maximum speed Up to 1 Gbps (Wi-Fi 6) Up to 10 Gbps (10G Ethernet)
    Latency (ping) 10–50 ms 1–5 ms
    Stability Depends on interference High
    Security Vulnerable to hacking (if the password is weak) More secure
    Convenience Mobility, no wires Binding to a place

    5. Method #5: Bridge mode (WDS) to expand the network

    If you already have a router, but the Wi-Fi signal does not reach the second computer, you can use bridge mode (WDS)This method allows you to:

    • 📡 Expand coverage area without laying cables.
    • 🔄 Merge two networks (for example, from different providers).
    • 💻 Connect your PC via Wi-Fi, if he is in another room.

    To set this up you will need second router (even the old one, for example, TP-Link TL-WR841N), supporting WDS. Algorithm of actions:

    1. Set up the main router:

      Fix it Wi-Fi channel (For example, 6) manually - this is mandatory for WDS. Remember SSID And password main network.

    2. Connect the second router:

      Connect it to your PC via cable and go to the control panel.

    3. Enable WDS mode:

      In the wireless network settings, find the section WDS or Bridge. Specify:

      • SSID of the main network.
      • Channel (must match the main router).
      • Security type And password.

    On some routers (for example, ASUS) you need to first scan the networks, then select the main one and enter the password.

  • Disable DHCP:

    In the settings LAN turn it off DHCP server on the second router to avoid IP address conflicts.

  • Save the settings and reboot both routers.
  • Now the second computer can be connected to any of the routers—it will be on the same network as the first PC. If the connection is unstable:

    • 📡 Check the distance between the routers (no more than 10-15 meters for 2.4 GHz).
    • 🔄 Make sure the channels on both routers match.
    • 🛡️ Update the firmware on both devices.

    6. Configuring security and shared resources

    After connecting two computers to the same network, it is important to ensure data security and adjust if necessary public access to files or a printer. Let's look at both aspects.

    6.1. Wi-Fi network protection

    Weak security settings can lead to network hacking, traffic theft, or device attacks. Follow these recommendations:

    • 🔐 Encryption: use only WPA2-PSK or WPA3-PSK. WEP hacked in minutes!
    • 🔑 Password: minimum 12 characters, with numbers, capital letters and special characters (e.g. K@m1L4_WiFi!2026).
    • 👤 Hiding the SSID: disable network name broadcasting in the router settings (section Wireless Network → Hide SSID). You'll have to connect manually, but strangers won't see your network.
    • 📋 MAC address filtering: in the router settings, specify the MAC addresses of only your devices (you can find them in cmd on command ipconfig /all).
    • 🛡️ Guest network: If you have guests connecting to you, create a separate network with limited access to local resources.

    An example of secure settings for TP-Link:

    Wireless Network → Security:
    

    - Version: WPA2/WPA3-Personal

    - Encryption: AES

    - Password: ComplexPassword!123

    Advanced Settings → MAC Filtering: Enabled (specify PC MAC)

    6.2. Setting up a shared folder and printer

    To share files between computers or use a single printer:

    1. Turn on network discovery:

      On both PCs, open Control Panel → Network and Sharing Center → Advanced Sharing Settings and select:

      • Enable network discovery.
      • Enable file and printer sharing.
  • Open access to the folder:

    Right-click on the folder → Properties → Access → Share. Select users (eg. All) and permissions (Reading or Reading and writing).

  • Connect the printer:

    On the PC to which the printer is physically connected, open Settings → Devices → Printers & Scanners, select the printer → Manage → Printer Properties → Access → check the box General access.

    On the second PC, add the printer via Settings → Devices → Add a printer → Printer not found → Select a shared printer by name (please specify) \\PCName\PrintName).

  • If the folder or printer does not open:

    • 🔄 Make sure both PCs are in the same working group (by default WORKGROUP).
    • 🛡️ Disable your firewall or antivirus (temporary diagnostic solution).
    • 👤 Make sure that the academic records have access rights (click Win + Rlusrmgr.mscUsers).
    How to limit the speed for a second computer?

    If one of your PCs is consuming too much traffic (for example, downloading torrents), find the section in your router settings QoS (Quality of Service) or Bandwidth controlEnter the MAC address of the second PC and limit the speed to the desired value (for example, 50 Mbps).

    7. Diagnosing problems and connection errors

    Even with proper setup, problems can arise. Let's take a look. typical errors and ways to eliminate them.

    7.1 The second computer does not see the Wi-Fi network

    Possible causes and solutions:

    Problem Solution
    The network is hidden (SSID is not broadcast) Connect manually: in Windows, open the list of networks → Hidden network → enter your name and password.
    Incompatible Wi-Fi standards Change the router settings Wireless network mode on 11b/g/n mixed (for compatibility with older adapters).
    The Wi-Fi adapter driver is out of date. Update driver via device Manager or from the manufacturer's website (for example, for Intel AX200 or Realtek RTL8188EE).
    Channel conflict Change the channel in the router settings (for example, from 6 on 11). To analyze channel load, use the program Wi-Fi Analyzer (Android) or inSSIDer (PC).

    7.2. There is a connection, but no internet

    Check the following:

    • 🌐 IP settings: on the problematic PC, do the following: cmd:
      ipconfig /release
      

      ipconfig /renew

      If the IP address starts with 169.254.x.x, then DHCP isn't working. Set the IP manually (for example, 192.168.1.100 with a mask 255.255.255.0 and a gateway 192.168.1.1).