Campus Client network does not allow the sharing of WiFi, which makes students very annoying, network fees and expensive, pay the money can only be a machine online, people are very unhappy, the following teach you how to set up the use of notebook sharing WiFi hotspot.
First step:
Set up a wireless network base station, enable and set the virtual WiFi network card:
Create a new document that duplicates what's inside the quote.
"Netsh wlan set hostednetwork mode=allow Ssid=mypcwifi key=wifi123456
Pause
Then save as a bat file.
Note: The above command appears with three parameters
Mode= (You can disable this wireless network if you change to Mode=disallow)
Ssid= (after the equals sign is the name of your new wireless network and can be modified as needed)
key= (after the equal sign is the password of the wireless network, it is recommended to use English and number and more than 8 digits, also can be modified)
Pause to be placed in the second row, the pop-up window does not stop when the batch is executed, so it is not clear if the opening is successful
Then run the bat file
Step Two:
shared network:
Select a connection that is already connected to the network (usually a local connection) select Properties → share, tick "allow other xxxxxx connections (N)" and select "Wireless network Connection 2".
And then your local connection becomes "shared."
Step Three:
New WiFi switch
Create a new text document, copy the commands inside the quotation marks
"Netsh wlan start hostednetwork
Pause
Save as "WiFi open. bat" Note the suffix is still "*.bat"
Create a new text document, change "Start" in the above command to "stop" and Save as "WiFi off Bat".
This way, the WiFi switch is done!
Click to run "WiFi open"
Use WiFi off bat to turn off when you're not using WiFi.