by Steven B. Combs, Ph.D.
The Chromecast, while a great device, has one huge flaw. Unlike the [Amazon Fire TV (or Stick)][amazon], it does not have a way to authenticate into a hotel that has a captive portal web page. This is an omission I would like to see Google include. Without a remote, this could be difficult to include. No worries though. There is a way to use your Chromecast in some hotels and this post will show you how to do so using your Mac.
NOTE: This process will work for Linux users. Windows users with [Cygwin][cygwin] can likely follow along. I have not verified. This post is dated and while it works with older Chromecast devices, it may not work with a newer Google TV with Chromecast. I have a whole new process I use in 2022. I should post it!
The first step is to determine the MAC address of your Mac. A MAC address is a unique device ID assigned to all network devices. Hotel captive portal Wi-Fi systems use this address to identify which devices connect and what rights they have on the network. Here’s how to display the MAC address of your Mac’s Wi-Fi adapter.
You will see text as shown below (I’ve replaced my Mac’s MAC address with
? characters for security reasons):
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether ??:??:??:??:??:?? inet6 fe??::a???:??ff:feae:???e%en0 prefixlen 64 scopeid 0x4 inet 172.17.26.43 netmask 0xfffffc00 broadcast 172.17.27.255 nd6 options=1<PERFORMNUD> media: autoselect status: active
etherline and note the 12 character address – include the
That is the MAC address for your Mac. We will use this a bit later.
Next we need the MAC address for the Chromecast.
Another option is to squint real hard and look for the MAC address on the back of the Chromecast. It is REALLY tiny. The process above will ensure you jot down a correct address.
TIP: Keep the MAC addresses somewhere safe and handy for later use so you do not have to repeat these steps. I keep mine in Evernote.
#Spoof MAC address This part is a bit tricky. We will now temporarily modify your Mac’s MAC address to the MAC address of the Chromecast and then log into the captive portal hotel Wi-Fi. Don’t worry, a reboot will always return the Mac to its original MAC address and I will share how to return it back to its original MAC address using a single terminal command.
sudo ifconfig en0 ether ??:??:??:??:??:??
??:??:??:??:??:?? with the MAC address of the Chromecast.
The MAC address is now registered on the hotel Wi-Fi. Depending on the hotel and system, this MAC address will have access to the network anywhere from one to twenty-four hours (probably the latter). The downside to this process is that you will have to repeat it whenever the MAC address lease expires on the hotel network.
You now need to restore your Mac to its original MAC address. You can simply reboot your Mac or you can use the terminal command process shown below:
sudo ifconfig en0 ether ??:??:??:??:??:??]
??:??:??:??:??:?? with the Mac’s original MAC address.
You will probably not need to authenticate through the portal page again, but no guarantee you won’t.
It’s now to time to reconnect the Chromecast and give it a shot.
The Chromecast should automatically connect to the hotel Wi-Fi network without need to authenticate.
I believe the process above is accurate. Give it a shot and let me know. Please remember, this may not work on all hotel Wi-Fi networks. I’ve found it works in many independent hotels and within Marriott properties. I cannot verify for other hotel chains. If it works or does not work for you, please leave a comment below and include the hotel chain so we all benefit.