How to set up a WiFi hotspot

Source: Internet
Author: User
Tags error code hosting

How to set up a WiFi hotspot

A number of ways to establish a WiFi hotspot, but also believe that there are many heroes early know the method of the younger brother, hope that the master do not spray, if there is wrong, please advise. The important part of this article, I have been marked with red.

This method does not need to run any software, does not occupy the system resources, so that there is hot, shutdown on the disconnect, once and for all very convenient. Of course, you can manually control when switching hot spots, and the switch is also very convenient.

Brief introduction:

Still worried about the lack of mobile phone card traffic? Try setting up and opening a WiFi hotspot under the Win7 system, and with WiFi, you can play WiFi-enabled mobile devices.

Rationale: Using Win7 's own Microsoft Virtual WiFi miniport Adapter

Condition: A PC running Win7, notebook, desktop (to have wireless network card) all can;

The wireless card will support the hosting network (WiFi device).

Specific steps:

1. Open the virtual router

First verify that the wireless network card supports the hosting network:

Open your wireless network card "switch", as an administrator for shortcut keys win+r→ input "cmd" → return operation. Then enter the Netsh wlan show drivers at the Open command prompt

"Yes" or "No" is written after viewing supported hosting networks. If not, this method won't work.

If it is, you can turn it off, if it is, please continue.

Then enter the "Netsh wlan set hostednetwork mode=allow SSID=BINGLANPC key=binglanwifi" command and press ENTER at the Open command prompt, which enables and sets the virtual WiFi card initially.

PS: This command has three parameters.

Mode: Whether to enable virtual WiFi network card, change to disallow is disabled;

SSID: Wireless network name, preferably in English (take man_2 as an example, can be set freely);

Key: Wireless network password, more than 8 characters (in 1234567890 for example, can be set freely)

After running successfully, open the network and Sharing Center, click on the left to change the adapter settings.

Entering the adapter settings, you will find that there is one more network card for the "Microsoft Virtual WiFi Miniport Adapter" Wireless Internet connection 2. If not, try updating the wireless card driver.

To distinguish it from other network adapters, rename it to "WiFi."

In a network connection, right-click a network connection that is connected to the Internet, select Properties → share, check "Allow other network users to connect (N) through this computer's Internet connection" and select "Virtual WiFi".

And after you click OK, the "share" word appears next to the shared network card icon.

PS: A shared access error code could not be enabled at this time: 0x80004005: Error not specified, when you encounter this situation, right-click Computer on the desktop, select Manage → in the left menu bar, double-click to open the services and Applications menu → select "Services" → on the right to find and select "Windows Firewall" → Click "Enable this service", and then do one more of the above section of the operation can be.

Next, run from the command prompt: Netsh wlan start hostednetwork, which opens the wireless network.

PS: When you change "start" to "Stop", you can turn off the wireless network.

Finally, the virtual WiFi's red fork disappears, which means the WiFi base station has been built. Then, the other notebook search wireless network "Man_2", enter the password "1234567890", you can share the internet!

2. Add script

Through the above steps you can share the Internet, but after each shutdown, you must run the command character to boot WiFi hotspot, the following explains the optimization method. The main is to change the command line Netsh wlan start (stop) hostednetwork to a bat script file.

Open Notepad, write code netsh wlan start hostednetwork

Then save, the generated WiFi ON.txt file is changed to Wifi.bat (directly to the subsequent name to bat), and the same is the same as creating a new file write code to write the code netsh wlan stop hostednetwork, born into a WiFi off.bat file.

This allows you to directly control the switch WiFi hotspot by double-clicking the two files

PS: There is little white do not know how to modify the follow-up name, additional attached

Open "Computer" and click "Organization"-"folder and search Options"-"View"-"to find" hide known file type extension name, cancel the previous tick, you can see the file's successor to make the changes.

3. Boot automatically start

Finally, attach a method that automatically runs the WiFi on file, which is the way to turn on the WiFi hotspot automatically.

Point "start" → "Run", enter "gpedit.msc"; there are two options to open Group Policy → Local Computer policy: Computer Configuration and User Configuration, expand User Configuration → administrative templates → system → log on, and double-click the "Run these programs at user logon" subkey for property settings. Select the enabled item in the Settings item and click the Show button to pop up the show Content window, add the path to the file on which you want to boot up, and automatically turn on when applied. This will automatically turn on the WiFi hotspot each time it is powered on.

4. Attention MATTERS:

(1). Virtual WiFi based on the Win7 system, the premise of sharing a network via virtual WiFi is the need to open the computer link network.

(2). The network condition of the WiFi device depends entirely on the network on which the computer is connected.

This can be a computer to build WiFi hotspot multiple devices available, mobile phone computer can be used at the same time, but the network feel a little card ... This is mainly to see the computer's own speed, but the mobile phone and computer at the same time is no problem, the speed is good.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.