Last active
January 1, 2020 12:21
-
-
Save joe-oli/19522d4336dcfe9f6c2a3db53cdf7632 to your computer and use it in GitHub Desktop.
Setup Wireless access point
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows 10 includes a feature called "Hosted Network" that allows you to turn your computer into a wireless hotspot, | |
Use the Windows key + X keyboard shortcut, and select Command Prompt (Admin). | |
#1 Open win cmd prompt (Run as Admin) | |
#2 Does your Wireless Adapter (hardware device) support Hosted Network ? | |
(IF NOT, you are out of luck; try using another external USB wireless adapter that supports the feature). | |
) | |
>NETSH WLAN show drivers | |
Interface name: Wi-Fi | |
Driver : Qualcomm Atheros QCA9377 Wireless Network Adapter | |
Vendor : Qualcomm Atheros Communications Inc. | |
Provider : Qualcomm Atheros Communications Inc. | |
Date : 16/09/2018 | |
Version : 12.0.0.725 | |
INF file : oem79.inf | |
Type : Native Wi-Fi Driver | |
Radio types supported : 802.11b 802.11a 802.11g 802.11n 802.11ac | |
FIPS 140-2 mode supported : Yes | |
802.11w Management Frame Protection supported : Yes | |
Hosted network supported : No <========================== *** CANNOT Setup Access Point *** | |
Authentication and cipher supported in infrastructure mode: | |
Open None | |
Open WEP-40bit | |
Open WEP-104bit | |
Open WEP | |
WPA-Enterprise TKIP | |
WPA-Personal TKIP | |
WPA2-Enterprise TKIP | |
WPA2-Personal TKIP | |
Vendor defined TKIP | |
WPA2-Enterprise Vendor defined | |
Vendor defined Vendor defined | |
WPA-Enterprise CCMP | |
WPA-Personal CCMP | |
WPA2-Enterprise CCMP | |
Vendor defined CCMP | |
WPA2-Enterprise Vendor defined | |
Vendor defined Vendor defined | |
Vendor defined CCMP | |
Vendor defined CCMP | |
WPA2-Personal CCMP | |
Vendor defined Vendor defined | |
Wireless Display Supported: Yes (Graphics Driver: Yes, Wi-Fi Driver: Yes) | |
#3. Run the cmd to setup the Access Point | |
> NETSH WLAN set hostednetwork mode=allow ssid=<Your_SSID> key=<Your_Passphrase> | |
, where | |
<Your_SSID> = MyAccessPoint | |
<Your_Passphrase> = SomeSecretPassword | |
#4. Once you created a Hosted Network, enter the following command to activate it: | |
> NETSH WLAN start hostednetwork | |
======================== | |
MORE INFO: | |
Mobile Hotspot is a feature that has been recently added during the release of Windows 10 Anniversary Update (version 1607), while the Hosted Network started with Windows 7. It became a more popular approach in creating virtual WiFi networks since Windows 8 had the Ad hoc connection was removed from the Network and Sharing Center. | |
With this in mind, setting up a virtual wifi network using the Hosted Network feature of netsh is now being managed by the Mobile Hotspot feature of Windows 10 version 1607. Hence, you will notice that using the Mobile Hotspot works but setting it up manually using Hosted Network doesn't. | |
If you really prefer to set up your virtual wifi network manually using Hosted Network instead of the new Mobile Hostpost feature, you may follow the steps below and recreate your virtual hotspot network: | |
Method 1: Enable Network Sharing. | |
Press Windows key + R from your keyboard. | |
Type ncpa.cpl and hit enter. | |
Click Sharing tab. | |
Place a check mark under "Allow other network users to connect through this computer's Internet connection". | |
Click Apply and hit OK. | |
Restart your computer. | |
Method 2: Modifying Power Management Setting. | |
Press Windows key + R from your keyboard. | |
Type devmgmt.msc and press enter. | |
Expand Network Adapters, right-click on the wireless adapter and then select Properties. | |
Choose Power Management tab. | |
Place a check mark under "Allow the computer to turn off this device to save power". | |
Click OK. | |
Restart your computer. | |
==================== | |
Here is what | |
>netsh wlan show hostednetwork | |
prints: | |
Hosted network settings | |
----------------------- | |
Mode : Allowed | |
SSID name : "happy" | |
Max number of clients : 100 | |
Authentication : WPA2-Personal | |
Cipher : CCMP | |
Hosted network status | |
--------------------- | |
Status : Started | |
BSSID : 68:94:23:b9:86:9d | |
Radio type : 802.11n | |
Channel : 11 | |
Number of clients : 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment