如果您尝试将两台计算机连接在一起,最简单的方法是将它们加入同一个网络。使用以太网的有线连接(Wired connections using ethernet)最适合速度和可靠性,但很容易将两个设备无线连接在一起,特别是如果您有可用的现有无线网络。
如果您没有现成的网络,您可以创建一个 ad-hoc 无线网络,使用蓝牙(use Bluetooth)进行连接,或者使用便携式WiFi路由器或智能手机为您创建一个临时网络。如果您想知道如何以无线方式连接两台计算机,这就是您需要做的事情。
加入现有的无线网络(Joining an Existing Wireless Network)
如果您想将两台计算机无线联网,最简单的方法是使用现有的无线网络进行连接。
虽然下面列出的其他方法可以让您建立连接,但它们不会为您提供已建立网络所提供的可靠性。具有专用无线路由器的网络将提供最佳速度和WiFi范围,以及潜在的互联网访问和对网络上其他设备(例如网络打印机(network printer))的访问。
将两台设备加入现有网络后,即可轻松共享文件、玩本地游戏等。
创建 Ad-Hoc 无线网络(Creating an Ad-Hoc Wireless Network)
如果您缺少要连接的现有本地网络,您可以使用您的 PC 或笔记本电脑的无线适配器来创建一个ad-hoc无线网络。这是一个临时网络,它使用内置或USB WiFi适配器来创建其他设备可以连接的网络。
- 要在Windows 10(Windows 10)上设置 ad-hoc 网络,您需要使用Windows PowerShell。要打开它,请右键单击开始(Start)菜单并选择Windows PowerShell (Admin)选项。
- 在打开的PowerShell终端窗口中,键入netsh wlan show drivers。这将列出有关您可用WiFi设备的信息,包括它们是否支持创建虚拟接入点的能力。如果Hosted network supported选项列为no,则您可能需要更新已安装的驱动程序或尝试其他设备。
- 如果您的设备支持,请键入netsh wlan set hostednetwork mode=allow ssid=adhoc key=password创建一个虚拟WiFi网络,将ssid和key部分替换为您自己的首选网络名称 ( ssid ) 和 WiFi 网络密码 ( key )。完成后,键入netsh wlan start hostingnetwork(netsh wlan start hostednetwork)以启动网络。
- 假设没有错误,您创建的 ad-hoc 无线网络应该对其他设备可见。使用您指定的网络密码连接到它以完成连接。
- 如果您想在完成后禁用 ad-hoc 网络,请在打开的PowerShell窗口中键入netsh wlan stop hostingnetwork 。(netsh wlan stop hostednetwork )当前连接的所有设备此时都将断开连接,并且 ad-hoc 网络将不再对其他设备可见。
建立 ad-hoc 网络后,您可以使用它跨设备共享文件或使用(share files)Internet 连接共享(internet connection sharing)来共享现有的 Internet 连接。
使用蓝牙无线连接两台计算机(Connecting Two Computers Wirelessly Using Bluetooth)
虽然WiFi网络(永久或临时)是无线连接两台计算机的好方法,但另一种方法是使用蓝牙(Bluetooth)创建连接。虽然可用范围和速度要求两个设备都在附近,但蓝牙(Bluetooth)在设计时考虑了短期连接。
要使用蓝牙(Bluetooth)无线连接两台设备,您需要确保两台设备都具有蓝牙(Bluetooth)连接。许多现代笔记本电脑和 PC 都内置了蓝牙(Bluetooth),但如果缺少蓝牙适配器,您可以使用外部USB 蓝牙(USB Bluetooth)适配器进行连接。
- 首先,请确保您要连接的设备上的蓝牙已打开。(Bluetooth is turned on)您可以在Windows 10上执行此操作,方法是选择任务栏右下角的操作中心图标,然后将(action center icon)蓝牙(Bluetooth)卡选择到打开(On)位置。
- 接下来,通过右键单击“开始(Start)”菜单并选择“设置”选项来打开“(Settings)设置”(Settings )菜单。
- 在“设置”(Settings )菜单中,转到“Devices > Bluetooth & other devices 菜单,然后选择“添加蓝牙或其他设备(Add Bluetooth or other device )”按钮。
- 在添加设备(Add a device )窗口中,选择蓝牙(Bluetooth )选项。
- 附近的蓝牙(Bluetooth)设备列表将出现在下一个菜单中。选择您要连接的另一台计算机以开始建立连接。您可能需要通过输入将在两个屏幕上显示的PIN码进行身份验证。(PIN)
- 建立连接后,右键单击任务栏通知区域中的蓝牙图标(Bluetooth icon )。从菜单中,选择发送文件(Send a File )或接收文件(Receive a File )选项以发送或接收文件,或加入个人区域网络(Join a Personal Area Network)以加入或创建允许您与其他设备共享互联网连接的共享网络。
使用 WiFi Direct 无线发送文件(Using WiFi Direct to Send Files Wirelessly)
如果您在使用 ad-hoc WiFi或蓝牙(Bluetooth)连接时遇到困难,您可以使用WiFi Direct(use WiFi Direct)来共享文件。Windows完全支持WiFi Direct标准,但为了简化操作,您需要使用名为(WiFi Direct)Feem的第三方应用程序来共享文件并建立连接。
如果您计划在Windows(Windows)上建立WiFi Direct连接,则需要确保您的WiFi适配器或至少一台设备上的设备支持Microsoft Virtual WiFi Miniport Adapter。如果这不可用,您将无法创建支持WiFi Direct 的网络以供另一台 PC 连接。
- 要使用 WiFi Direct 发送文件,请为您的操作系统下载并安装 Feem 。(download and install Feem)Feem支持Windows、Linux和 macOS 设备。
- 在您的 PC 或Mac上安装Feem后(Feem),启动它。在Feem窗口中,选择打开 Wi-Fi Direct(Turn on Wi-Fi Direct )滑块以打开WiFi Direct网络。
- 在另一台设备上,确保连接到由Feem创建的网络,以(Feem)FeemWiFi开头(例如FeemWiFi-EducatedPelican)。连接后,其他设备将列在“费用”(Feem)窗口中。在费用(Feem)列表中选择另一台 PC ,然后选择发送文件(Send File)选项将文件发送到该 PC。
- 在另一台设备上,正在发送的文件将出现在Feem聊天日志中。选择文件将为您提供打开它的选项,或在Windows 文件资源管理器(Windows File Explorer)中查看它。
使用智能手机或平板电脑创建移动热点(Creating a Mobile Hotspot Using a Smartphone or Tablet)
正如 Windows 的 ad-hoc 模式所显示的,创建一个临时无线网络可能是在短时间内无线连接两台计算机的好方法,但这取决于您身边是否有一台 Windows PC。
一种更简单的方法是使用智能手机或平板电脑来创建临时无线网络。这会将您的平板电脑或智能手机变成无线路由器,允许其他类型的设备通过它连接以共享文件或互联网连接。
这种方法的好处是,通过设置移动热点,您的移动数据连接将与连接到它的所有设备共享。运行Android 2.2及更高版本的 Android 设备,以及运行 iOS 4.2.5 及更高版本(包括 iPadOS)的 iPhone 或 iPad,都能够成为移动热点。
- 要在 Android 上执行此操作,请打开“设置”(Settings )应用。不同的Android(Android)设备和版本的设置菜单会有所不同,但请选择网络和 Internet(Network & Internet )或Connections > Mobile Hotspot and Tethering.
- 在移动热点和网络共享(Mobile Hotspot and Tethering )菜单(或旧设备上的热点和网络共享)中,点击(Hotspot and Tethering )移动热点(Mobile Hotspot )选项,然后将滑块点击到开启(On )位置。如果需要,记下密码或更改密码。(Password )
- 在 iPhone 或 iPad 上,打开“设置”(Settings )应用。在菜单中,点击移动数据(Mobile Data )或个人热点(Personal Hotspot )(取决于设备),然后将个人热点(Personal Hotspot )滑块点击到开启(On )位置。记下(或更改)Wi-Fi 密码(Wi-Fi Password),因为您需要此密码才能连接到您的临时网络。
- 激活WiFi(WiFi)热点后,在两台设备上使用选定的密码连接到网络。
虽然移动热点只能将少量设备连接在一起,但它可以让您以无线方式将至少两个设备连接在一起。连接后,您可以使用现有服务在平台之间共享文件(share files between platforms)或使用共享服务。
使用便携式 WiFi 路由器(Using a Portable WiFi Router)
虽然智能手机或平板电脑可以创建快速、临时的移动网络,但对于更多设备而言,更好的解决方案是使用便携式WiFi路由器。这些设计用于在您出门在外时建立简单的临时网络,但也可用于日常使用两台 PC 或笔记本电脑进行连接。
TP-Link WR902AC等设备创建了一个网络,任何支持 WiFi 的设备都可以连接到该网络。更先进的路由器,如华为 E5577Cs-321(Huawei E5577Cs-321),还包括内置 4G 连接,为连接到它的设备提供专用的移动互联网连接。
大多数便携式路由器不需要任何设置——只需插入和连接即可。其他人则附带一个移动应用程序,可以进行快速配置和设备监控。
其他连接方式(Other Connection Methods)
如果您正在研究如何以无线方式连接两台计算机,那么上述方法为您提供了最佳选择,能够共享文件、互联网连接、玩游戏等。
如果您尝试将两台计算机连接在一起,最简单的方法是将它们加入同一个网络。使用以太网的有线连接(Wired connections using ethernet)最适合速度和可靠性,但很容易将两个设备无线连接在一起,特别是如果您有可用的现有无线网络。
如果您没有现成的网络,您可以创建一个 ad-hoc 无线网络,使用蓝牙(use Bluetooth)进行连接,或者使用便携式WiFi路由器或智能手机为您创建一个临时网络。如果您想知道如何以无线方式连接两台计算机,这就是您需要做的事情。
How to Connect Two Computers or Laptops Wirelessly
If you’re trуing to link twо computers together, the easiеst method is to јоin them to the same network. Wired connections using ethernet work best for speed and reliability, but it’s easy enough to link together two devices wirelessly, especially if you have an existing wireless network available to use.
If you don’t have an existing network, you could create an ad-hoc wireless network, use Bluetooth to make the connection, or use a portable WiFi router or a smartphone to create a temporary network for you. If you want to know how to connect two computers wirelessly, here’s what you’ll need to do.
Joining an Existing Wireless Network
If you want to network two computers wirelessly, the easiest method is to use an existing wireless network to make the connection.
While other methods listed below will allow you to make a connection, they won’t offer you the reliability that an established network will. A network with a dedicated wireless router will offer the best speeds and WiFi range, as well as potential internet access and access to other devices on a network (such as a network printer).
Once two devices are joined to an existing network, it’s a straightforward process to share files, play local games, and do much more.
Creating an Ad-Hoc Wireless Network
If you’re lacking an existing local network to connect to, you can use your PC’s or laptop’s wireless adapter to create an ad-hoc wireless network instead. This is a temporary network that uses a built-in or USB WiFi adapter to create a network that other devices can connect to.
- To set up an ad-hoc network on Windows 10, you’ll need to use the Windows PowerShell. To open this, right-click the Start menu and select the Windows PowerShell (Admin) option.
- In the open PowerShell terminal window, type netsh wlan show drivers. This will list information about your available WiFi devices, including whether they support the ability to create a virtual access point. If the Hosted network supported option is listed as no, then you may need to update the installed driver or try another device.
- If your device supports it, type netsh wlan set hostednetwork mode=allow ssid=adhoc key=password to create a virtual WiFi network, replacing the ssid and key sections with your own preferred network name (ssid) and WiFi network password (key). Once you’ve done that, type netsh wlan start hostednetwork to start the network.
- Assuming there are no errors, the ad-hoc wireless network you’ve created should be visible to other devices. Connect to it using the network password you specified to complete the connection.
- If you want to disable the ad-hoc network when you’re finished, type netsh wlan stop hostednetwork in the open PowerShell window. Any devices that are currently connected will be disconnected at this point and the ad-hoc network will no longer be visible to other devices.
Once an ad-hoc network has been established, you can use it to share files across devices or use internet connection sharing to share an existing internet connection.
Connecting Two Computers Wirelessly Using Bluetooth
While a WiFi network (permanent or ad hoc) is a great way to connect two computers wirelessly, an alternative is to use Bluetooth to create a connection. While the available range and speeds require both devices to be nearby, Bluetooth has been designed with short-term connections in mind.
To connect two devices wirelessly using Bluetooth, you’ll need to make sure that both devices have Bluetooth connectivity. Many modern laptops and PCs come with Bluetooth built-in, but you can use an external USB Bluetooth adapter to make a connection if it’s missing.
- To start, make sure that Bluetooth is turned on on the devices you’re looking to connect. You can do this on Windows 10 by selecting the action center icon in the bottom-right corner of the taskbar, then selecting the Bluetooth card to the On position.
- Next, open the Settings menu by right-clicking the Start menu and selecting the Settings option.
- In the Settings menu, go to the Devices > Bluetooth & other devices menu, then select the Add Bluetooth or other device button.
- In the Add a device window, select the Bluetooth option.
- A list of nearby Bluetooth devices will appear in the next menu. Select the other computer you wish to connect with to begin to establish a connection. You may need to authenticate by typing in a PIN code that will be displayed on both screens.
- Once you’ve established a connection, right-click the Bluetooth icon in the notifications area of your taskbar. From the menu, select the Send a File or Receive a File option to send or receive files, or Join a Personal Area Network to join or create a shared network that allows you to share an internet connection with the other device.
Using WiFi Direct to Send Files Wirelessly
If you’re struggling with an ad-hoc WiFi or Bluetooth connection, you could use WiFi Direct to share files instead. Windows fully supports the WiFi Direct standard, but to make things easier, you’ll need to use a third-party app called Feem to share files and establish connectivity instead.
If you plan on establishing a WiFi Direct connection on Windows, you’ll need to make sure that your WiFi adapter or device on at least one device supports the Microsoft Virtual WiFi Miniport Adapter. If this isn’t available, you won’t be able to create a WiFi Direct-capable network for another PC to connect to.
- To send files using WiFi Direct, download and install Feem for your operating system. Feem supports Windows, Linux, and macOS devices.
- Once Feem is installed on your PC or Mac, launch it. In the Feem window, select the Turn on Wi-Fi Direct slider to turn on the WiFi Direct network.
- On the other device, make sure to connect to the network created by Feem, beginning with FeemWiFi (eg. FeemWiFi-EducatedPelican). Once you’re connected, the other devices will be listed in the Feem window. Select the other PC in the Feem list, then select the Send File option to send a file to that PC.
- On the other device, the file being sent will appear in the Feem chat log. Selecting the file will give you options to open it, or view it in Windows File Explorer.
Creating a Mobile Hotspot Using a Smartphone or Tablet
As Windows’ ad-hoc mode shows, creating a temporary wireless network can be a good way to connect two computers wirelessly for a short period of time, but that relies on you having a Windows PC around to do so.
An easier method is to use your smartphone or tablet to create a temporary wireless network instead. This turns your tablet or smartphone into a wireless router, allowing other types of devices to connect through it to share files or an internet connection.
The benefit of this method is that, by setting up a mobile hotspot, your mobile data connection will be shared with all devices that connect to it. Android devices running Android 2.2 and later, as well as iPhones or iPads running iOS 4.2.5 and later (including iPadOS), are capable of becoming a mobile hotspot.
- To do this on Android, open the Settings app. The settings menu will vary for different Android devices and versions, but select Network & Internet or Connections > Mobile Hotspot and Tethering.
- In the Mobile Hotspot and Tethering menu (or Hotspot and Tethering on older devices), tap the Mobile Hotspot option, then tap the slider to the On position. Make note of the Password or change it, if required.
- On iPhone or iPad, open the Settings app. In the menu, tap Mobile Data or Personal Hotspot (depending on the device), then tap the Personal Hotspot slider to the On position. Take note of (or change) the Wi-Fi Password, as you’ll need this to connect to your temporary network.
- Once the WiFi hotspot is active, connect to the network using the selected password on both devices.
While a mobile hotspot will only be able to connect a small number of devices together, it will allow you to connect at least two devices together wirelessly. Once connected, you can then use existing services to share files between platforms or use shared services.
Using a Portable WiFi Router
While a smartphone or tablet can create a quick, temporary mobile network, a better solution for a wider number of devices is to use a portable WiFi router. These have been designed for establishing simple temporary networks while you’re away from home, but can also be used in day-to-day usage for two PCs or laptops to connect.
Devices like the TP-Link WR902AC create a network that any WiFi-capable device can connect to. More advanced routers, like the Huawei E5577Cs-321, also include built-in 4G connectivity, offering a dedicated mobile internet connection for devices that connect to it.
Most portable routers don’t require any setup—simply plug-in and connect. Others come packaged with a mobile app that can allow for quick configuration and device monitoring.
Other Connection Methods
If you’re researching how to connect two computers wirelessly, then the methods above offer your best options, with the ability to share files, internet connections, play games, and more.
If you’re trying to link two computers together, the easiest method is to join them to the same network. Wired connections using ethernet work best for speed and reliability, but it’s easy enough to link together two devices wirelessly, especially if you have an existing wireless network available to use.
If you don’t have an existing network, you could create an ad-hoc wireless network, use Bluetooth to make the connection, or use a portable WiFi router or a smartphone to create a temporary network for you. If you want to know how to connect two computers wirelessly, here’s what you’ll need to do.