Retro computing with a touch of modern and the home for all things, retroCombs (aka Steven Combs).

Disclosure Statement: When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to Amazon, the eBay Partner Network, and/or others.

29 November 2015

HOWTO: Connect Chromecast to hotel (captive portal) Wi-Fi

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!

Determine your Mac’s MAC address

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
ether ??:??:??:??:??:??
inet6 fe??::a???:??ff:feae:???e%en0 prefixlen 64 scopeid 0x4
inet netmask 0xfffffc00 broadcast
nd6 options=1<PERFORMNUD>
media: autoselect
status: active

That is the MAC address for your Mac. We will use this a bit later.

Display Chromecast MAC address

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 ??:??:??:??:??:??

Substitute ??:??:??:??:??:?? 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.

Restore Mac’s MAC address

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 ??:??:??:??:??:??]

Substitute ??:??:??:??:??:?? 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.

Back to the Chromecast

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.

Start casting

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.