Wednesday, March 20, 2013

Windows7 hotspot

During vacation I was with family in Trysil doing mountain skiing. There was problem with Internet as always in Scandinavia (in Estonia we have free Internet almost everywhere). I buy Cloud Internet for 7 days, but there were more internet devices in our team. It was for me first time to build Internet hotspot with my computer.
I knew how to do it with Android phone, but because I paid with computer there was no possibility to switch internet connection over to phone. After 5 minute googling I found this article.

So solution is simple
  1. Run as Administrator cmd.exe
  2. netsh wlan set hostednetwork mode=allow ssid=<network_name> key=<password>  keyUsage=persistent
  3. netsh wlan start hostednetwork

  • Open Control Panel and go to Network and Sharing Center.
  • Click Change Adapter Settings.
  • Right click your Internet connection and select Properties.
  • Click the Sharing tab.
  • Check the box that says “Allow other network users to connect.”
  • Choose your virtual Wi-Fi adapter and click OK.
The only problem is how to keep network live when computer is not active. The solution to restart network is to run
  1. netsh wlan stop hostednetwork
  2. netsh wlan start hostednetwork