Windows client access point

Создание программной точки доступа Wi-Fi на основе компьютера с Windows 7

В данной статье будет рассказано о том, как создать программную точку доступа Wi-Fi стандартными средствами операционной системы Windows 7.

Wi-Fi — набор стандартов связи, для коммуникации в беспроводной локальной сетевой зоне частотных диапазонов 2,4; 3,6 и 5 ГГц.

Wi-Fi предназначен для построения беспроводных локальных сетей там, где использование проводных каналов связи нежелательно, дорогостояще либо просто невозможно.

Примеры использования Wi-Fi сетей

· Объединение сетей в двух зданиях, без прокладки кабеля

· Создание сети для клиентов, оборудованных преимущественно беспроводнвыми адаптерами

· Создание общедоступной сети

Топологии беспроводных сетей

AD-Hoc, или точка-точка.

В данной топологии сети два или более устройств соединяются по принципу одноранговой сети, пересылая данные напрямую друг к другу. Такая сеть не лишена недостатков,. а именно низкой скорости передачи данных и слабой защищенности сети.
Такая топология, как правило, не используется в корпоративных сценариях.

Access Point, точка доступа.
Передача пакетов идет только через точку доступа, что гарантирует высокую защищенность и высоку скорость передачи данных., а также простую интеграцию с проводным сегментом ЛВС.

Однако главным минусом двух топологий является то, что работа беспроводного адаптера сразу в двух режимах работы невозможна.

Virtual WiFi в Windows 7

Для решения этой проблемы в Windows 7 включен компонент Virtual WiFi, представляющий собой программную прослойку, которая абстрагирует беспроводную сетевую карту и создающую несколько виртуальных адаптеров. Каждый из них может быть отдельно сконфигурирован для подключения к разным беспроводным сетям, но при этом они будут использовать ресурсы только одного физического беспроводного адаптера.

На практике Windows 7 позволяет создать один виртуальный адаптер.

Таким образом, физический адаптер подключается к точке доступа, и таким образом, получает доступ к сети и\или Интернету. В то же время, на компьютере запускается служба ISC а вместе с ней задействуется механизм NAT, благодаря которым появляется возможность «расшарить» подключение к интернету\сети для компьютеров, которые соединены с текущим компьютером через другой сетевой интерфейс. В качестве «другого» в нашем сценарии предлагается использовать адаптер Virtual Wi-Fi.

Управление компонентом Virtual Wi-Fi осуществляется при помощи утилиты командной строки netsh, в контексте wlan.

Итак, перейдем к сценарию настройки Virtual Wi-Fi

1. Открыть командную строку от имени администратора

2. Выполнить команду netsh и войти в контекст wlan

3. Далее необходимо включить Virtual Wi-Fi. Для этого введите команду
set hostednetwork mode=allow

4. После этого появится подтверждение выполнения команды, а также будет установлен адаптер виртуального Wi-Fi

5. После этого необходимо настроить виртуальный сетевой адаптер в качестве точки доступа, для этого необходимо задать его параметры через команду netsh
set hostednetwork ssid=”ssid” keyusage=persistent key=”password”
С этой команде задается SSID сети, парольная фразу для подключения к ней, а также параметры использования ключа шифрования(постоянный).

6. Далее необходимо запустить сеть. Для этот существует команда
start hostednetwork

7. Параметры виртуального Wi-Fi адаптера настроены. Однако это не позволяет клиентам, подключающимся к программной точке доступа, реализуемой виртуальным Wi-Fi адаптером, получать параметры DHCP и использовать этот адаптер в качестве шлюза для доступа к сети\интернету, предоставляемому физическим беспроводным адаптером. Для этого необходимо выполнить команду «Свойства» из контекстного меню ФИЗИЧЕСКОГО беспроводного адаптера, и на вкладке «Общий доступ» установить флажок «Разрешить другим пользователям сети использовать подключение к Интернету данного компьютера», и в списке «Подключение к домашней сети» выбрать адаптер виртуального Wi-Fi

После этого нажать кнопку «ОК»

8. После выполнения этих действий будет задействован механизм NAT, а также DHCP-сервер для выдачи клиентам, подключающихся к виртуальному Wi-Fi адаптеру IP-адресов.

9. После этого с любого другого устройства, оборудованного беспроводным адаптером можно подключиться к сети топологии Access Point, предоставляемой виртуальным адаптером. Параметры сети определяются по DHCP автоматически.

Также стоит обратить внимание на следующие аспекты работы Virtual Wi-Fi. При перезагрузке компьютера параметры сохраняются, но требуется выполнить запуск сети командой start hostednetwork из контекста wlan программы netsh.

Также, если вы забыли введенный ключ безопасности, можно выполнить команду show hostednetwork setting-security, чтобы отобразить его и некоторые другие параметры безопасности.

Обратите внимание, что Virtual Wi-Fi позволяет создать программную точку доступа WPA2-Personal c CCMP алгоритмом шифрования, и изменить параметры шифрования невозможно.

Для отображения статистики по подключению Virtual WiFi необходимо выполнить команду show hostednetwork из контекста wlan программы netsh.

Настройка доступа извне к службам, размещенным в сети, созданной с помощью Virtual Wi-Fi

Если в сети, созданной при помощи программной точки доступа запущена служба или приложение, к которому необходимо получить доступ, извне, то необходимо настроить брандмауэр на компьютере с Virtual Wi-Fi.

Для этого откройте окно свойств ФИЗИЧЕСКОГО беспроводного адаптера, перейдите на вкладку «Доступ», и нажмите кнопку «Настройка».

В этом окне содержится список часто используемых служб, для которых можно активировать разрешающее правило установкой флажка, а также создать свой правило. При создании нового либо редактировании существующего правило необходимо указать имя или IP-адрес компьютера в сети Virtual Wi-Fi, на котором запущена данная служба. Обратите внимание, что для предопределённых правил нельзя поменять диапазон портов.

Таким образом, при попытке доступа по определенному протоколу к компьютеру с запущенным Virtual Wi-Fi будет выполнено перенаправление на компьютер внутри сети Virtual Wi-Fi, и таким образом, будет предоставлен доступ к с службе внутри сети.

Выше было рассмотрено, как создать программную точку доступа на основе компьютера с Windows 7. Данный сценарий можно использовать в домашних условиях, либо в условиях малого бизнеса для построения беспроводной сети без использования дополнительного оборудования, а также для увеличения радиуса действия Wi-Fi сети. Допустим, в точке А беспроводная сеть доступна, а в точке В – нет. Для предоставления компьютерам в точке В доступа к ресурсам, предоставляемым беспроводной сетью, радиус действия которой охватывает точку А, на компьютере в точке А можно запустить программную точку доступа, к которой будут подключать компьютеры из точки В, реализовав таким образом, мостовую схему подключения.

Читайте также:  Что такое windows diagnostic tools

В скором времени будет написан сценарий для ОС Windows Server 2008 R2, где для обеспечения работы механизма NAT будут использоваться службы политики сети и доступа.

How to Create a Wi-Fi Hotspot on your Windows 10 PC

Like in previous OS versions, in Windows 10 user can create a software Wi-Fi hotspot (access point). This hotspot can be used for creating a local wireless network or sharing Internet connection (wired or cellular 3G / 4G connection) by several devices (smartphones, tablets and other devices). In the first releases of Windows 10, you could create and manage such a hotspot only from the command prompt. In Windows 10 1607 a simple graphical interface for creating an access point – “Mobile hotspot” appeared.

So, today we’ll consider how to create a Wi-Fi hotspot (virtual access point) based on Windows 10 without additional third party tools. We assume that your system has two network adapters — a wired Ethernet network card (connected to a provider’s network) and a wireless Wi-Fi adapter. We want our computer with a Wi-Fi adapter to be usedas a Wi-Fi access point by other devices and share its Internet connection.

Verify that your Wi-Fi Adapter Driver Supports Ad-Hoc Mode

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

netsh wlan show drivers

The command prompt window will display information about the Wi-Fi adapter driver used and the supported technologies (for details about the supported Wi-Fi driver standards, see How to Troubleshoot 5GHz Wi-Fi Not Showing Up in Windows 10). “Hosted network supported: Yes” message means that this driver supports access point mode. Otherwise, try to update the driver version or install another Wi-Fi adapter.

How to Enable Mobile Hotspot in Windows 10

In Window 10 1607 (Creators Update) a simple GUI for sharing the Internet over Wi-Fi appeared. This function is called “Mobile Hotspot”. Go to the Settings -> Network & Internet -> Mobile hotspot. To turn on the access point, it is enough to click the toggle “Share your Internet connection with other devices“. The name of the new Wi-Fi network and the password will be generated automatically (you can change them). Select the Internet connection that you want to share with other devices (Share my Internet connection from). If your computer has only one internet connection, it will be automatically selected.

In the same window, the list of devices that are connected to your WiFi hotspot is displayed. The name and MAC address of the device, as well as the IP address assigned to it, are displayed. As you can see, up to 8 devices can be connected to the access point on Windows 10 at the same time.

Common Windows 10 errors when Creating a Mobile Hotspot

If the error “We can’t set up mobile hotspot. Turn on Wi-Fi” appears when you trying to create an access point, try to update the driver for your Wi-Fi adapter and / or remove the virtual Microsoft Wi-Fi Direct Virtual Adapter according to the instruction. After that, restart your computer and try to turn on the mobile hotspot again.

Another common error: “We can’t share this Internet connection because we can’t connect to the cellular network“. Just try to restart your Internet connection.

Another error: “We can’t set up mobile hotspot because your PC doesn’t have an Ethernet, Wi-Fi or cellular data connection“. Most likely there are problems with your internet connection (no network), so you need to check the connection. Also this error appears in case you are connected to the provider through PPPoE, this type of connection is not supported by the Windows 10 mobile hotspot.

How to Create a Virtual Wi-Fi Network Using Command Prompt

You can create a virtual Wi-Fi hotspot in Windows using command prompt. Suppose that you want to create a wireless network named Hotspot (this is the network SSID) with the password ZiZiPass. Run the command prompt (with the Administrator privileges) and execute the command:

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

If everything is correct, the command will return the following message:

The SSID of the hosted network has been successfully changed.

The user passphrase of the hosted network has been successfully changed.

This command will create a new virtual Wi-Fi adapter in the system (Microsoft Wi-Fi Direct Virtual Adapter), which will be used by other wireless devices as a hotspot. Now, enable the created virtual adapter:

netsh wlan start hostednetwork

The hosted network started” message tells that a Wi-Fi access point has been successfully started.

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

Now, other Wi-Fi devices can see and connect to this access point. Devices connected to such a network can share documents and hardware peripherals, but the Internet access through such WiFi hotspot is still impossible.

How to Share Your Internet Connection using Wi-Fi Hotspot

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

Читайте также:  Linux выполнить несколько команд последовательно

In a network adapter statistics window click Properties.

In the network adapter properties window you must share your Internet connection. Go to Sharing tab in the Ethernet Properties window. Check the box “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.

Save the changes. In the Network and Sharing Center, the type of Hotspot network will be changed to Internet and that’s mean that this network (and all devices connected to it) now have an access to the Internet .

Now all the devices that are connected to the created hotspot on Windows 10 can access the Internet through the external network interface of the computer. Try to connect to your hotspot from your phone, tablet or other laptop.

Viewing Mobile Hotspot Settings

The current settings for the Wi-Fi access point you have created can be viewed using the command:

Netsh wlan show hostednetwork

The command displays the network name (SSID), supported authentication and encryption types, the maximum number of devices that can simultaneously use this hotspot (Max number of clients) and the current number of connected clients (Number of clients).

The following command displays the various security settings for your Wi-Fi hotspot and connection keys:

Netsh wlan show hostednetwork setting=security

Possible Errors and Troubleshooting Wireless Access Point on Windows 10

Answer. To restore the wireless network, run the hosted network with the command:
netsh wlan start hostednetwork
You don’t need to re-enter the network name and password.

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

During the network start, the error “The hosted network couldn’t be started. The group or resource is not in the correct state to perform the request operation” 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 enable it. If it didn’t help, run these commands one by one:

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

After that re-create the hotspot:

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

Answer
netsh wlan show hostednetwork

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

To delete a hotspot in Windows 10 (SSID and network password are deleted), do the following:
netsh wlan set hostednetwork mode=disallow

Answer: Check DNS server settings on your device (try to specify the address of the public Google DNS server (8.8.8.8) manually in your client’s settings). Also, try to restart Internet Connection Sharing (ICS) service, or disable and re-enable the adapter through which your Windows 10 computer is connected to the Internet.

Another few typical problems:

  • Some of antivirus software has a built-in firewall that can block the Internet sharing. Try to temporarily disable the firewall and check if the problem occurs when it is disabled;
  • Make sure that you have enabled sharing exactly in the properties of your Internet connection;
  • Verify that the Internet Connection Sharing service is enabled on Windows 10. The easiest way to do this is by opening the services management console – services.msc;
  • Run the Network Adapter Troubleshooter utility (Network Adapter Troubleshooter: Troubleshoot -> Network Adapter -> Run Troubleshooter). This utility will check the current adapter settings and try to fix the problems automatically.
How to Check Who Reset the Password of a User in Active Directory
Memory Compression Process: High Memory and CPU Usage in Windows 10

How to Run Windows File Explorer Elevated (as.

Using Malicious Software Removal Tool (MRT.exe) on Windows

How to Clean Up Large System Volume Information.

How to Disable NetBIOS and LLMNR Protocols in.

Enable Windows Lock Screen after Inactivity via GPO

36 comments

This is the best instruction on the issue I have found, and it worked splendidly. However, after using this for three weeks for so, for some reason it has stopped working. The device (a smartphone) I’m trying to use to access my shared connection does show that it has established a connection, but no data is transferred. This issue has been confirmed on two other devices. Every time I make an access point using these instructions, a connection can be established but no data is being moved – even though these instructions did work well for a couple of weeks. Any idea how so solve this issue?

Try to re-create your acess point as follow:

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

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

How do I edit the max clients that can join my hotspot?

after creating hotspot connections but still does not work?

after creating hotspot connections but the internet still does not work?

That’s OK, its running successfully. But I want to create a Hidden ssid so its not visible to all. Is this case possible

It is impossible to hide the SSID of Windows software hotspot. You can disable WI-FI Broadcast only on hardware access point .

In hotspot network supported it says no…what should i do….

Update your WiFi adapter driver

i want to to keep running this hotspot even when my pc is in sleep mode

It’s impossible. Windows disables the Wi-Fi adapter in sleep mode

how to set hotspot without password?

samsung phone display ap not currently in use

Thanks a lot for this subject .. My greetings.

It seems we should add DNS setting on the client otherwise we could not connect to the Internet.

Читайте также:  Directx для танков windows 10

Thank you man! This worked! Tried everything before, but this worked! Had to change the ip to static on the client device and set the google DNS.

I have been facing following trouble.what i have to do?
The hosted network couldn’t be started.The group or resource is not in the correct state to perform the requested operation.

oi,estou usando o programa my wifi router 1.0.consegui criar rede wifi,mas nao tem conexao com internet,ja liberei no compartilhameneto do w10,mas nada vc pode ajudar.

got an error ip configuration failed

having issues obtaining ip address on my android

I use this technology to create a private wifi network. In order to manage domain names, I have created my own dns server in order to answer a specific ip to all devices connected to the network. When I start this DNS server on the port 53 on a windows 7 (the one emitting the wifi), the DNS server is automatically detected by the peers on the network and everything works well. However it is not the case on windows 10. Do you any idea why ?
Thanks

Thanks for the excellent guidelines!
I did everything, but there was no internet access on any device, I tried few things and at last I disabled the virtual LAN and it disappeared.
After that when I try to start the hosted network, there is a message:

“The hosted network couldn’t be started.
The group or resource is not in the correct state to perform the requested operation.”

And I cannot start the hosted network. Any suggestions?

good description with some notes, had to set a static IP and after that the mobile did connect to the created hot spot but it does not download anything so something else is still missing

Thanks for sharing this brief knowledge about how to create the Hotspot in windows 10.

Is there a way to automatically turn on the Hotspot upon booting up the PC?

If you have already created your hotspot with the command:
netsh wlan set hostednetwork mode=allow ssid=Hotspot key=ZiZiPass
To run adhoc, just execute the command:
netsh wlan start hostednetwork
You can create a runadcoh.bat with the command above file and add it to your Windows 10 Startup folder(Win+R->shell:startup)
Or run this command from the Windows task scheduler at the computer boot (At startup trigger).

I did what you suggested but seems running the .bat file does not trigger to turn on the hotspot upon boot up or just by clicking it. it may have something to do as i’m running Windows 10.

HI,
Can enable WPS Feature for windows hostednetwork (Soft AP)?
If Yes,
Please explain how to do it/

I didn’t find etailed technical information about the support or examples of usage Wi-Fi Protected Setup mode (WPS) on the Windows hostednetwork, but on the MSFT website there is such an info:
The wireless Hosted Network interacts with Wi-Fi Protected Setup (WPS) , another important new feature in Windows 7 and Windows Server 2008 R2 with the Wireless LAN Service installed. The wireless Hosted Network and WPS support a scenario that provisions a WPS-capable device for a non-WPS capable hardware AP. In this case, the SoftAP hosted on Windows is invoked in the background to push the hardware AP profile onto the WPS-capable device.

Thanks for your response,
Please update if you got any information about it.

Something is wrong in this article.
Win10 mobile hotspot is not implemented with hostednetwork. so you can’t enable mobile hotspot with command “netsh wlan start hostednetwork”.

How make to hide SSID?

Hope all of you are healthy & safe with your family.

I have a unique issue with Windows 10 – Microsoft Virtual Wifi Miniport Adapter. I am unable to view Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window.

Let me explain my issue in detail. I had Windows-7 OS and TP link wifi adapter and uses Baidu Software to create internet hotspot.

I connect internet using Dailup connection then insert TP link wifi adapter in USB slot and it automatically display Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window which I use to share my internet and create a Hotspot.

Now I have upgraded my OS from Windows-7 to Windows-10 and I used same method to connect internet but it doesn’t display Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window to share internet and create Hotspot. However, it display Microsoft Virtual Wifi Miniport Adapter on Device Manager and it is working correctly.

Now to display missing Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window I have troubleshooted below steps but there is no luck.
1. Uninstalling and reinstalling driver from device manager.
2. Enabling and disabling driver from device manager.
3. Network Reset
4. Windows Troubleshoot to fix network issue.
5. Netsh command to enable hosted network.
6. Reverting Windows-10 to Windows-7 (Works great on win-7 again)
7. Commands such as IP release and renew, ip flushdns, etc
8. Downloading updates for Windows-10 & troubleshooting again.

None of the above steps have helped me to display missing Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window.
Please help me to display this missing Microsoft Virtual Wifi Miniport Adapter on Network & Sharing window.
Any Registry Key or Services changes required let me know I will do it.

Note:1. When I open Windows-10 Settings > Networking > Status I can see Microsoft Virtual Wifi Miniport Adapter there with an asterisk sign but not visible on Network & Sharing window.

Note:2. I have connected LAN wire to PC directly to create Dailup connection. I don’t have any router at present.

First, use the “netsh wlan show drivers” command to verify that your your tplink wireless adapter supports hostednetwork

Оцените статью