Monday, March 26, 2012

Airplay, Cisco AnyConnect, and IPv6 Don't Play Nicely

Here's the situation:
I use AirPlay at home to stream audio from iTunes on my MacBook Pro running Mac OS X 10.7.3 to my AirPort Express in the bedroom and my Apple TV 3 in the living room. It's pretty slick. This works great until I connect to my work VPN using Cisco AnyConnect. Once I connect, and even after I disconnect from VPN and quit AnyConnect, the AirPlay pull-down menu in iTunes won't let me re-select either of the network speakers, and my music is trapped!

What's going on:
After some forum diving, I discovered that this is an IPv6 issue. After the AnyConnect session, AirPlay switches from IPv4 to IPv6, and never goes back until the Mac reboots. And apparently, AirPlay doesn't play nicely with IPv6. Awesome. 

Here's the fix:
The good news for me is that I don't really need IPv6 on my Mac. Turning it off in Mac OS X 10.6 was a cinch.  
Network Preferences -> Advanced -> TCP/IP -> Configure IPv6: Off.  
But... the "Off" option is gone in Mac OS X 10.7! What gives? Apple doesn't want us using that option anymore.  No problem, we can still set it in the command line.
networksetup -listallnetworkservices
networksetup -setv6off Ethernet
networksetup -setv6off Wi-Fi
And so on. If we go back to Network Preferences, the GUI will actually reflect this setting with "Off" appearing in the Configure IPv6 pull-down. AirPlay now works perfectly, even when I'm on the VPN.  Hopefully by the time I need IPv6, Apple will have patched AirPlay accordingly.

Monday, January 23, 2012

Office 2007 SP3 now includes an IEEE XSL Style Sheet

Good news! Office 2007 SP3 now includes an IEEE XSL style sheet built-in! You can download Office 2007 SP3 here or use Windows update, and read the Office 2007 SP3 release notes here.

Over the past few years, I have had a steady stream of folks stop by to grab my IEEE XSL Style Sheet which I put together for myself in an afternoon to support my thesis writing process. It's good to know that by sharing it, I've helped hundreds of grad students and academic paper writers save a little bit of time, effort, and frustration. Thanks to all of you who downloaded my version over the past few years and left feedback, it's been fun!