MacOS – OS X Server (Mavericks) requires wired network connection for Caching

macosNetworkserver.appsoftware-update

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.`

OS X Server error as per above

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?

Best Answer

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.