我尝试使用我的电脑作为接入点来设置家庭 WiFi 热点。
USB 适配器已安装并正常工作,并且 PC 通过 USB 电缆连接到手机(网络共享)。
我使用以下方式设置网络:
netsh wlan set hostednetwork mode=allow ssid=myssid key=mykey
并且它运行良好。但是当我尝试启动它时,我得到了:
C:\WINDOWS\system32>netsh wlan start hostednetwork
The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation.
我尝试过重新安装适配器、回滚驱动程序、使用 Windows 驱动程序、更改电源管理以及我在 Google 上找到的几乎所有其他方法。
编辑:我现在终于设法连接到我创建的 wifi 热点。但是我无法访问互联网。主机设置为允许互联网 (ICS) 并显示互联网可用,但是在连接的设备(在我的情况下是平板电脑)上,我获得的互联网有限。
C:\WINDOWS\system32>netsh wlan show hostednetwork
Hosted network settings
-----------------------
Mode : Allowed
SSID name : "lukewifi"
Max number of clients : 100
Authentication : WPA2-Personal
Cipher : CCMP
Hosted network status
---------------------
Status : Started
BSSID : 52:e3:27:9c:ea:46
Radio type : 802.11n
Channel : 11
Number of clients : 0
我可以连接到这个网络,但任何连接的设备都无法上网。
编辑我的 ipconfig
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : luke
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wi-Fi 5:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TP-LINK Wireless PCI Express Adapter
Physical Address. . . . . . . . . : 60-E3-27-9C-EA-46
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 15:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 12-E3-27-9C-EA-46
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Internet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : PdaNet Broadband Adapter
Physical Address. . . . . . . . . : 00-26-37-BD-39-42
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.19.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 01 January 2016 09:05:02
Lease Expires . . . . . . . . . . : 02 January 2016 18:27:34
Default Gateway . . . . . . . . . : 192.168.19.1
DHCP Server . . . . . . . . . . . : 192.168.19.1
DNS Servers . . . . . . . . . . . : 8.8.8.8
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Local Area Connection* 14:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hosted Network Virtual Adapter #5
Physical Address. . . . . . . . . : 52-E3-27-9C-EA-46
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Autoconfiguration IPv4 Address. . : 169.254.198.231(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 8.8.8.8
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{5BCB937F-8E0D-467E-9B22-AD49111BEB63}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{D5A49A77-B044-4930-BDC1-F78745383ECE}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:2896:67a9:43e2:5ac9(Preferred)
Link-local IPv6 Address . . . . . : fe80::2896:67a9:43e2:5ac9%13(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : 436207616
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-35-8E-64-90-2B-34-AD-63-EE
NetBIOS over Tcpip. . . . . . . . : Disabled
C:\WINDOWS\system32>