OS X Server (Mavericks) requires wired network connection for Caching?
I recently installed OS X Server on my Mavericks machine, and want to use the server (among other things) to cache software and app updates for other devices on my network. However, when I try to turn on the Caching service, I get the following message:
Unable to start service.
Caching requires a wired network connection on portable computers. Connect to a network using a wired connection before starting the service.`
However, my Macbook Air doesn't have an ethernet port! I at one time had an ethernet adapter (using Thunderbolt) but I sold it. Any suggestions for how to get around this problem?
Via this Apple kbase article:
You can specify advanced configuration settings for the Caching service with the command line or by editing /Library/Server/Caching/Config/Config.plist.
Interface | Listen on all interfaces | The BSD name of a network interface to be used by the Caching service.
Setting values for a key
To set a key with a simple value, you can use the serveradmin(8) command. For example, to set the Interface key to en1, you would execute this command as an administrator:
sudo serveradmin settings caching:Interface = en1
I am unable to find any evidence anywhere that Server can use wireless interfaces, but if you connect a USB to Ethernet Adapter and use its interface number in the line above you should be able to use Caching Server.
All Airs can use an USB to ethernet adapter and the newer ones like yours use a Thunderbolt to ethernet adapter to satisfy the initial criteria of the setup tool.
My advice is to make your wired connection available whenever caching is turned on since in my limited testing so far, caching just won't play with wireless connections.
Caching used to work over Wireless in Mountain Lion, but I've not discovered a way to reliably shift the services in Mavericks since the server detects when you switch network connections and you'll run into this detection loop each time you don't have a legitimate ethernet connection between the server and your internet gateway.