Woops! I forgot to mention that it is required to share the network connected to Internet with the Microsoft Virtual WiFi Miniport.
Last active
August 20, 2018 09:30
-
-
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.
This file contains 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
netsh wlan stop hostednetwork | |
pause |
This file contains 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
netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD | |
netsh wlan start hostednetwork | |
pause |
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
Can somebody make a bat file to share the network from Ethernet to this hotspot,
sometimes I hibernate my PC while the hotspot was on, and when I wake PC up, I have to run the bat file again to start the hotspot, then I also have to go to network connections and open properties of ethernet, go to the sharing tab and deselect sharing, press okay and select sharing again for the internet to work on my phone.
This is very irritating to do again and agin