Ever been stuck in a hotel room with only one Ethernet port, or in a dorm where the Wi-Fi doesn’t reach your roommate’s desk? You don’t necessarily need to run out and buy a router. If your computer has two network interfaces, which most modern laptops and desktops do, you can turn it into a makeshift router and share that internet connection with other devices around you.
In this guide, you’ll learn how to do exactly that on Windows 10/11, macOS, and Linux. We’ll start with the easiest built-in methods (which have gotten a lot simpler since the old days of ad-hoc networks and command-line tricks), then cover some solid alternatives if you’d rather not keep a PC running 24/7 just to share Wi-Fi.
What You’ll Need Before You Start
Before jumping in, make sure you’ve got the basics covered:
- Two network interfaces on your PC. This could be Ethernet + Wi-Fi (the most common setup), two Wi-Fi adapters, or even a USB-tethered phone + Wi-Fi. You need one interface to receive the internet and another to share it.
– A working internet connection coming into your PC, via Ethernet cable, Wi-Fi, or a phone plugged in via USB.
– A supported OS: Windows 10 or 11, macOS Monterey through Sequoia, or a modern Linux distro like Ubuntu 22.04+ or Fedora 39+.
– A Wi-Fi adapter that supports hotspot mode. Most modern ones do, but if you’re using an older or budget adapter, it might not. We’ll cover what to do if that’s the case in the troubleshooting section.
Method 1: Windows 10/11 Mobile Hotspot (The Easy Way)
If you’re on Windows 10 or 11, you’re in luck. Microsoft built a dead-simple hotspot feature right into Settings. It handles all the technical stuff (NAT, DHCP, basically the stuff that makes routing work) automatically. This is the method you should try first.
Step 1: Make Sure Your PC Is Online
Connect your PC to the internet first. An Ethernet cable plugged into a modem or router is the most reliable option, but a USB-tethered phone or another Wi-Fi network works too. You need that incoming connection before you can share it.
Step 2: Open Mobile Hotspot Settings
Open Settings (press Windows + I), then go to Network & internet > Mobile hotspot.

Step 3: Choose What to Share
Under Share my internet connection from, pick the adapter that’s currently connected to the internet. If you’re plugged into Ethernet, select Ethernet. If you’re tethered to your phone, select that USB adapter.
Step 4: Set Up Your Hotspot Name and Password
Click Edit to customize your hotspot. You’ll want to set:
- Network name (SSID): Whatever you want other devices to see when they search for Wi-Fi.
– Network password: Use something strong, at least 8 characters. WPA2 or WPA3 encryption is applied automatically.
– Network band: If your adapter supports it, 5 GHz is faster and less congested. Stick with 2.4 GHz if you need better range or older device compatibility.

Step 5: Turn It On
Toggle Mobile hotspot to On. That’s it! On your other devices, open Wi-Fi settings, find your hotspot’s name, enter the password, and you’re connected.

Note: Windows also lets you share over Bluetooth or even Ethernet (which turns your PC into a simple wired router). Change the Share over dropdown to switch between these options.
Method 2: Windows Internet Connection Sharing (Advanced)
The Mobile hotspot method covers most situations, but if you need to share a connection between two wired devices, or if Mobile hotspot isn’t cooperating, you can use the older Internet Connection Sharing (ICS) method. Think of ICS as the manual approach: more steps, but more control.
This is especially useful if you want to connect a second wired device (like a gaming console or smart TV) to your PC using a second Ethernet adapter.
Step 1: Open Network Adapter Settings
Open Control Panel > Network and Internet > Network and Sharing Center, then click Change adapter settings in the left sidebar.

Step 2: Open Properties for Your Internet-Connected Adapter
Right-click the adapter that’s connected to the internet (usually called Ethernet or named after your network card) and choose Properties.

Step 3: Enable Sharing
Click the Sharing tab, then check the box that says Allow other network users to connect through this computer’s Internet connection.
In the dropdown below it, select the second adapter, the one you want other devices to connect through (a second Ethernet port, for example).

Step 4: Click OK
Click OK and close the window. Windows will assign a private IP range (usually 192.168.137.x) to the second adapter, and any device plugged into it will get an IP address automatically.
Heads up: The old method of using netsh wlan set hostednetwork commands that you might see in older guides is no longer reliable. Many modern Wi-Fi drivers don’t support it, and Microsoft has moved on. Stick with Mobile hotspot or ICS instead.
Method 3: macOS Internet Sharing
Mac users have had a similar feature, called Internet Sharing, for years. It works great for situations like sharing a wired hotel connection over Wi-Fi for your other devices.
Step 1: Connect Your Mac to the Internet
Plug in an Ethernet cable, connect to Wi-Fi, or tether your iPhone. Whatever connection you want to share, make sure it’s active first.
Step 2: Open Sharing Settings
Click the Apple menu > System Settings > General > Sharing.
(On older macOS versions like Big Sur or Monterey, go to System Preferences > Sharing instead.)

Step 3: Configure Internet Sharing
Click Internet Sharing in the list, but don’t check the box yet. First, set it up:
- Under Share your connection from, choose your active internet source (e.g., Ethernet).
– Under To computers using, check Wi-Fi (or Ethernet if you want to share to a wired device).

Step 4: Set Wi-Fi Options
Click Wi-Fi Options… and fill in:
- Network Name: The SSID other devices will see.
– Security: Choose WPA2/WPA3 Personal and set a strong password. Don’t leave it open.
– Channel: Leave this on the default unless you’re in a crowded Wi-Fi environment.

Step 5: Turn It On
Now check the box next to Internet Sharing and confirm the prompt. Your Mac’s Wi-Fi icon will show a small arrow to indicate it’s sharing. Other devices can now connect to your Mac’s Wi-Fi network using the password you set.

Method 4: Linux (NetworkManager Hotspot)
If you’re on a modern Linux distro running GNOME or KDE, you don’t need to mess with terminal commands or config files. There’s a hotspot option built right into the network settings.
Step 1: Connect to the Internet
Get your Linux machine online first, via Ethernet, USB tethering, or Wi-Fi.
Step 2: Open Wi-Fi Settings
Go to Settings > Wi-Fi (in GNOME) or the equivalent in your desktop environment.
Step 3: Turn On the Hotspot
Click the three-dot menu (or gear icon) and look for Turn On Hotspot or Wi-Fi Hotspot. Linux will generate a default SSID and password automatically.
Step 4: Customize (Optional)
Click Configure… to change the network name, password, or band. Then enable the hotspot, and other devices can connect just like any normal Wi-Fi network.

Modern Alternatives (When a PC-as-Router Isn’t Ideal)
Keeping a whole PC running just to share Wi-Fi isn’t always practical. It eats power, makes noise, and requires the computer to stay on and logged in. Here are some better options depending on your situation:
- Your Smartphone’s Hotspot: Both Android and iOS have solid built-in hotspot features that support WPA3 and, on newer devices, 5 GHz or even 6 GHz bands. It’s portable, it’s quick to set up, and it works anywhere. The main downside is data usage and battery drain.
– A Travel Router: Devices from TP-Link, GL.iNet, and Netgear can share a hotel Ethernet port, a captive portal Wi-Fi, or a cellular connection, and they have their own built-in firewall and NAT. Way more reliable than leaving a laptop running all night.
– A 4G/5G Hotspot Device: Dedicated mobile hotspot hardware from carriers gives you a battery-powered, pocket-sized router. Great for travel or situations where you don’t have a fixed internet source.
– Your Existing Router’s Client Mode: Many modern routers support “client mode,” where the router connects to another Wi-Fi network and shares it via its own LAN ports or a new SSID. Check your router’s settings, and you might already have everything you need.
Tips and Troubleshooting
Mobile Hotspot Won’t Turn On (Windows)
Problem: The Mobile hotspot toggle is grayed out or won’t enable.
This is usually one of a few things:
- Outdated or incompatible Wi-Fi driver: Open Device Manager, find your Wi-Fi adapter under Network adapters, right-click it, and choose Update driver. You can also download the latest driver directly from your laptop or adapter manufacturer’s website.
– VPN or security software interference: Some VPN clients block hotspot functionality. Try temporarily disabling your VPN and see if the toggle becomes available.
– Corporate or school device restrictions: IT administrators can disable hotspot features via group policy. If you’re on a work laptop, this might be locked down by design.
Devices Connect But Have No Internet
Problem: Other devices join the hotspot but can’t load anything.
- Double-check that you selected the correct adapter under Share my internet connection from in Windows Mobile hotspot settings.
– If you’re on hotel or campus Wi-Fi that requires a login page (called a “captive portal”), you may need to complete that login on each device individually. The host PC’s login doesn’t always pass through to connected devices.
– Make sure ICS isn’t also enabled at the same time as Mobile hotspot, as having both active can cause conflicts.
Connection Is Slow or Keeps Dropping
- Switch to 5 GHz: If your adapter supports it, 5 GHz is faster and less prone to interference from neighboring networks. Change the band in your Mobile hotspot settings.
– Disable Wi-Fi power saving: On laptops, Windows sometimes throttles the Wi-Fi adapter to save battery. Open Device Manager > Network adapters > right-click your Wi-Fi adapter > Properties > Power Management tab, and uncheck Allow the computer to turn off this device to save power.
– Avoid using the same adapter for both upstream and downstream: If your PC is connecting to Wi-Fi and also sharing that same Wi-Fi connection as a hotspot through the same adapter, performance will take a hit. An Ethernet-in, Wi-Fi-out setup is always going to be faster.
Reset Winsock (Windows)
Problem: You can ping websites but can’t browse them in a browser.
This is a classic Winsock issue. Basically, the part of Windows that handles network communication has gotten confused. Here’s how to fix it:
- Click Start, type
cmd, then right-click Command Prompt and choose Run as administrator.

- Type the following command and press
Enter:
netsh winsock reset

- Restart your computer when prompted. This clears out any corrupted network settings without affecting your files or apps.
A Note on Security
Please don’t set up an open hotspot with no password. It’s a bad idea in 2026. Anyone nearby can connect and potentially snoop on your traffic or use your connection for things you don’t want. Always use WPA2 or WPA3 with a strong, unique password. And since your PC is effectively acting as a router, make sure Windows Firewall (or your macOS firewall) is turned on.
Wrapping Up
Turning your PC into a router used to involve a maze of command-line tricks and ad-hoc network wizardry. These days, Windows’ Mobile hotspot and macOS Internet Sharing handle almost everything for you. It really is just a few clicks. Whether you’re sharing a hotel Ethernet port, extending coverage for a second device, or bridging a tethered phone connection, one of the methods above should get you sorted.
That said, if you find yourself needing to share a connection regularly, a cheap travel router is worth the investment. It’s more reliable, more efficient, and you won’t need to keep a laptop running 24/7. But for a quick fix? Your PC works just fine.