You can create a Wi-Fi network between two or more devices without using a Wi-Fi router. These
networks are often referred to as ad-hoc networks. All you need is a computer with Wi-Fi running
Windows 8. Windows 8 comes with the ICS (Internet Connection Sharing) feature to allow devices
to connect to the internet connection of your PC.
Press the shortcut Windows Key + Q to open the app search in Windows 8.
Enter cmd in the search box on the right, the search result will be displayed on the left.
Right click on the cmd app in the search results
Click on Run as administrator
Enter the following command to configure an ad-hoc Wi-Fi connection: netsh wlan set
hostednetwork mode=allow ssid=abcd key=password
Press the Enter key and you should receive the following output: The hosted network node has
been set to allow...
Now enter the following command: netsh wlan start hostednetwork
Press the Enter key and you should receive the following output: The hosted network started.
to stop the hosted network use the following command:netsh wlan stop hostednetwork.