Setting up Virtual WiFi
We will need a laptop or a regular personal computer with a wireless device, Windows 7, and a driver supporting Virtual WiFi.
Press Win R - run cmd
and in the command line type
netsh wlan set hostednetwork mode=allow ssid="MS Virtual WiFi" key="1234parol" keyUsage=persistent
In this example "MS Virtual WiFi" -
is the name of the wireless network,
"1234parol" is the password for accessing this network (you can set any value but no less than 8 characters).
After executing this command, the system will find the new hardware, and a new virtual network adapter will appear in Device Manager - Microsoft Virtual WiFi Miniport Adapter (Microsoft Virtual WiFi miniport adapter).
Going to Control Panel - Network and Sharing Center - Change Adapter Settings, we will see a new connection Wireless Network Connection 2, which will show the status - not connected.
Therefore, the next step will be starting the network. To do this, you need to run the following command in the command line, also run with administrator rights:
netsh wlan start hostednetwork
After that, the network will start, and the software access point (SoftAP) will start working, this can be verified by going to Control Panel - Network and Sharing Center. Since we are already using an internet connection via WiFi, we will find that Windows 7 is connected simultaneously to several wireless networks. Now other wireless devices can connect to our access point.
In order to have internet on the connected devices
(that is, to organize a Hot-Spot), you need to go to the tab
Control Panel -
Network and Sharing Center -
Change Adapter Settings and in the properties of the connection through which the laptop gets internet (in our case it is a WiFi connection, but it can be any: ethernet, 3G, WiMax, etc.),
on the Sharing tab check the box
Allow other network users to connect through this computer's Internet connection, and in Home networking connection specify which network adapter
to provide (share) the internet, in our case it will be Wireless Network Connection 2, which belongs to the virtual wireless adapter.
After doing all this, an access point appeared on my phone, and I connected to it, but there's no internet - why?
Comments