HOW TO SHARE YOUR COMPUTER INTERNET CONNECTION WITH OTHER DEVICES
(OTHER COMPUTERS, PHONES, TABLETS)


NOTE: DETAILS BASED ON WINDOWS 8 ( But can also be used in Windows 7)

This method uses Ad-hoc like network (HOSTED NETWORK) to turn your computer into a Wi-Fi hotspot, and other Wi-Fi enabled devices can connect directly to it. 

Please, before you start creating this kind of Wi-Fi hotspot, first, read thoroughly all STEPS and make sure that you understand them well.


FIRST: CHECK IF YOUR COMPUTER IS CAPABLE OF SUPPORTING HOSTED NETWORKS

   see the image bellow;

  • Then press ENTER
    Result;

  • After the process is done running, find the line “ Hosted network supported ” (see the image above),
    >> If it shows “ Yes ”, that means you can create a hosted network in your computer.
    >> 
    If it shows “ No ”, that means you can’t create a hosted network in your computer.


SECOND: NOW YOU CAN START TO CREATE A HOSTED NETWORK

  • In Command Prompt, type the following command
netsh wlan set hostednetwork mode=allow ssid=networkname key=password
  • NOTE: In the command above,  
   networkname   is any name that you want to give to your network.
         password is the password you will assign to your network, it has to be more than 8 characters                long.
         For example in the image below I used networkname(ssid): CECANE_Wi-Fi, and password(key):                12mkaZuzu!?

   see the image bellow;


  • and press ENTER.
   RESULT;


  • then type the following command to turn on Hosted Network service
netsh wlan start hostednetwork
   see the image bellow;

  • and press ENTER.
   RESULT;

  • If you see the line “ The hosted network started. ” (see the image above) it means you have successfully created a hosted network.

THIRD: SET UP THE NETWORK

  • Open “ Network and Sharing Center " by writing  the following command in Command Prompt.
control.exe /name Microsoft.NetworkAndSharingCenter

   see image below;

  • then press ENTER
   RESULT - Network and Sharing Center window will pop up;

      >> In Network and Sharing Center window, your current connected network(s) will be shown (See                  image below).
        --  It can be noticed too that, the hosted network’s connection name is “ Local Area Network *14 ”.



  • click on the blue line on your current connected network (in my case “ RUDN-LAN ” ).
      >> Connected Network's Status window will open.
            see image below;


  • click on “ Properties ”.  Connected Network's Properties window will open.
  • In Properties window, choose “ Sharing  "tab.
           see image below;


  • Then check the box Allow other network users to connect through this computer’s Internet connection ”.
           see image below;


  •   Then from the drop-down list select " Local Area Connection *14 ".
             see image below;


  • Click OK
  • DONE
      >> You can now close all windows and connect other devices to your just created Wireless Network.




OTHER USEFUL COMMANDS:

  • Start the wireless Hosted Network
netsh wlan start hostednetwork
  • Stop the wireless Hosted Network
netsh wlan stop hostednetwork
  • Enable or disable the wireless Hosted Network
netsh wlan set hostednetwork [mode=]allow|disallow
  • Configure the wireless Hosted Network settings
netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> keyUsage=]persistent|temporary
  • Refresh the wireless Hosted Network key
netsh wlan refresh hostednetwork [data=] key
  • Display wireless Hosted Network information
netsh wlan show hostednetwork [[setting=]security]
  • Display wireless LAN global settings
netsh wlan show settings