netsh wlan set hostednetwork mode=allow ssid=SECURE key=PASSWORD keyUsage=persistent



netsh wlan stop hostednetwork



netsh wlan start hostednetwork



netsh wlan show hostednetwork

If there has ever been a more useful and inexpensive way to send High Definition video from my phone to my television before the Google Chromecast I have yet to see it.The Google Chromecast comes in at a cost of $35.00 USD in a very compact package. [1]In this posting I will outline how I was able to get my Google Chromecast to work with hotel provided WiFi using my Debian Linux laptop.Because this is meant to be an outline there will be no screenshots but I will provide text examples for anyone with the technical know how to use as astarting point.Lets begin.The first step was to purchase a second WiFi network Interface. I chose to use the Tenda W311M Wireless N150 Nano USB [2] since it works out of the box with Linux and because of it's small size it is easy to leave plugged into my laptop USB port without worrying about it getting snagged or broken.Configure your built in WiFi to connect to the hotel WiFi Access point.Plug in the second WiFi adapter.On my Debian Linux laptop I installed hostapd and dnsmasq to support the WiFi Access Point and DHCP address I will need for my phone and my Google Chromecast to connect to my laptop.First things first, lets install the packages we need:apt-get updateapt-get install dnsmasqapt-get install hostapdThis is my /etc/dnsmasq.conf# -====================port=0interface=wlan3domain=laptopdhcp-range=192.168.0.50,192.168.0.150,12hdhcp-option=42,0.0.0.0# -====================This is my /etc/hostapd/hostapd.conf# -========================interface=wlan3driver=nl80211dump_file=/tmp/hostapd.dumpssid=ADDYOURSSIDHEREieee80211d=1hw_mode=gchannel=11beacon_int=100dtim_period=2max_num_sta=255rts_threshold=2347fragm_threshold=2346macaddr_acl=0auth_algs=3ignore_broadcast_ssid=1ieee80211n=0own_ip_addr=127.0.0.1wpa_key_mgmt=WPA-PSK-SHA256 WPA-EAP-SHA256 WPA-PSK WPA-EAP# -==================================-Execute the following to start it all up:/etc/init.d/hostapd start/etc/init.d/dnsmasq startExecute the following so all traffic now goes in/out through the primary WiFi interface:/sbin/iptables -v -t nat -A POSTROUTING -o wlan0 -j MASQUERADEAttach your phone/tablet to the laptop SSID.Attach your Chromecast you your laptop SSID.Start Casting! :)1. Google Chromecast 2. Tenda W311M_150Mbps_Wireless_N_USB_20_Adapter UPDATE: April 23, 2014I don't use Microsoft Windows but someone passed these commands to me to make a MS-Windows-7 system into a WiFi Access Point. This should also work with a second WiFi interface.1. Enable Windows Internet Connection Sharing2. Open a Command Console in MS-Windows-7+ and try the following.NOTE: Please change PASSWORD to something more secure. :)