출처: http://woshub.com/how-to-create-a-wi-fi-access-point-on-windows-10/



How to Make Sure that a Wi-Fi Adapter Driver Supports Ad-Hoc Mode

Before you start to create an access point, please, make sure that your Wi-Fi adapter driver supports a virtual access point mode (Ad-Hoc). To do it, run this command in the command prompt:

아래 명령어로 자신의 무선랜카드가 ap가 될 수 있는지 확인할 수 있습니다.

netsh wlan show drivers

Hosted network supported by WiFi driver

Hosted network supported: Yes” line means that this driver supports running in an access point mode. Otherwise, try to update the driver version or install another Wi-Fi adapter.

How to Create a Virtual Wi-Fi Network

Let’s assume that we want to create a wireless network named Hotspot (SSID networks) with the password ZiZiPass. Start the command prompt (with the Administrator privileges) and run the command:


아래 명령어로 원하는 ssid와 비밀번호를 생성하세요.

netsh wlan set hostednetwork mode=allow ssid=Hotspot key=ZiZiPass

Windows 10 create WiFi adhoc

This command will create a new virtual Wi-Fi adapter in the system, which will be used by other wireless devices as an access point. Now, turn on the created virtual adapter:


wlan서비스를 시작합니다.

netsh wlan start hostednetwork

netsh wlan start hostednetwork

The hosted network started” line tells that an access point has been turned on successfully.

A new wireless connection named Hotspot will appear in Network and Sharing Center.


인터넷이 연결된 네트워크 어뎁터 속성창을 열고 공유> 위 항목에서 생성된 ap 어뎁터를 선택하여 인터넷을 공유

시킵니다.

new hotspot connection win10

Now, other Wi-Fi devices can detect and connect to this access point. Devices connected to such a network can share documents and hardware peripherals but they do not have access to the Internet through this access point yet.

How to Enable Internet Access  for the Connected Devices

Now, we will allow all devices connected to the Wi-Fi virtual access point to use a wired network connection to access the Internet. To do it, click the name of the network adapter, which provides the Internet connection, in Network and Sharing Center. In our example, it is the connection named Ethernet.

Share internet connection

In a window with network adapter statistics, click Properties.

Network connection properties

Go to Sharing tab in the Ethernet Properties window. Check “Allow other network users to connect through this computer’s Internet connection” and select the name of the virtual adapter created previously in the dropdown list.

Allow other network users to connect through this computer’s Internet connectionSave the changes. In the Network and Sharing Center, the type of Hotspot network will be changed to Internet meaning that this network (and all devices connected to it) have an access to the Internet now.

Access type: Internet

Thus, all devices connecting to the created access point based on Windows 10 access the Internet using  the external network interface of the computer.

Possible Errors and Troubleshooting

Question. After Windows restart, a Wi-Fi access point does not turn on.

Answer. To get a wireless network working again, run the hosted network with the command
netsh wlan start hostednetwork
There is no need to specify network name and password once again.

Question. When trying to run a hosted network, the error “The Wireless AutoConfig Service (wlansvc) is not running. The hosted network couldn’t be started” appears.

Answer. Run WLAN AutoConfig service from services.msc console or the command prompt:
net start WlanSvc
and start a virtual access point once again

Question. During the network start, the error “The hosted network couldn’t be started.” appears

Answer. Make sure that your Wi-Fi adapter is turned on. After that run Device Manager, select Show hidden devices in the View menu. Find Microsoft Hosted Network Virtual Adapter in network adapters section and turn it on. If it has not helped, run these commands one by one:

netsh wlan set hostednetwork mode=disallow
netsh wlan set hostednetwork mode=allow

After that re-create the access point:

netsh wlan set hostednetwork mode=allow ssid=Hotspot key=ZiZiPass
netsh wlan start hostednetwork

Question. How to check the status and settings of an access point?

Answer 
netsh wlan show hostednetwork

Question. How to temporarily turn off or permanently delete a virtual access point

Answer. To stop an access point, run the command:
netsh wlan stop hostednetwork

To delete an access point (SSID and network password are deleted), do the following:
netsh wlan set hostednetwork mode=disallow



+ Recent posts