Turn on the hidden features of Windows 7: virtual WiFi and Softap (that is, virtual wireless APs) to turn your computer into a wireless router. achieve shared Internet access.
1. Run the command prompt as administrator:
Start---Enter cmd in the search bar----Right-click Run as Administrator
To run the command:
[Plain]View PlainCopy
- Netsh wlan set hostednetwork mode=allow ssid=mypcap key=88432700
This command has three parameters,
Mode: If the virtual WiFi NIC is enabled, then disallow is disabled.
SSID: The name of the wireless network, preferably in English (take Mypcap as an example), that is, the name of the WiFi to be set.
Key: Wireless network password, more than eight characters (in 88432700 for example), that is, the WiFi password you want to set.
The above three parameters can be used alone, such as using only mode=disallow to directly disable the virtual WiFi network card.
After running see the following content
Then open "Network and Sharing Center"--"Change adapter settings" To see if there is more than one, if there is more than this "Microsoft Virtual WiFi Miniport Adapter", then your front of the setup is correct.
On success, the network connection will have one more Nic "Microsoft Virtual WiFi Miniport Adapter".
For convenience, rename it to an AP. If not, update the wireless card driver to try.
3. Set up Internet Connection Sharing:
In the Network Connections window, right-click a network connection that is connected to the Internet , select properties → share, tick allow other ... Connect (N) "and select" AP ". Determine
4. Turn on the wireless network:
Continue to run at the command prompt:
[Plain]View PlainCopy
- Netsh wlan start hostednetwork
Of course you can create a new Notepad file copy:
[Python]View PlainCopy
- Netsh wlan start hostednetwork
Then save as: start WiFi hotspot. bat
The next time you start up, just run as "Administrator" on the boot. (Note: You must be running as an administrator to start)
Attached: Display the wireless network Information command:
[HTML]View PlainCopy
- Netsh wlan show hostednetwork
To stop the Wireless Network Information command:
[Plain]View PlainCopy
- Netsh wlan stop hostednetwork
By default, the system automatically sets the IP address information of the virtual AP, if it is found that the ipad can be connected but unable to set up the ipad on the Internet as follows
IP address 192.168.137.X (X fill 2-254 of any value)
Subnet Mask 255.255.255.0
Default Router 192.168.137.1
Then modify the DNS address to be the same as your PC's DNS
DNS addresses are found in the following ways. Start, enter CMD in the search box, type Ipconfig/all
Set WiFi APs under Win7