Skip to content

Instantly share code, notes, and snippets.

@Mithrandir0x
Last active August 20, 2018 09:30
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save Mithrandir0x/5620566 to your computer and use it in GitHub Desktop.
Save Mithrandir0x/5620566 to your computer and use it in GitHub Desktop.
Two little batch files to create a cozy WiFi hotspot from the laptop Snatched from xda-developers, yet I don't remember the thread. Kudos to the author.

Woops! I forgot to mention that it is required to share the network connected to Internet with the Microsoft Virtual WiFi Miniport.

netsh wlan stop hostednetwork
pause
netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD
netsh wlan start hostednetwork
pause
@aryabharat
Copy link

Can we use these files from a Cpp program? just like a program to create a hotspot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment