Share your Mac resources when it’s in sleep
If you’re sharing your computer’s resources, such as a shared printer or Music playlist, you can set your computer to wake from sleep when other users access those resources.
To use this feature, you need an Apple wireless device that supports 802.11n and that has the latest firmware installed. See the Apple Support article Update the firmware on your AirPort base station.
Share resources for a Mac desktop computer
On your Mac, choose Apple menu > System Preferences, then click Energy Saver.
Select any of the available “Wake for…” options, such as “Wake for Ethernet Network Access”. (Different options are available, depending on how you’re connected.)
Share resources for a Mac notebook
If you’re using a Mac notebook, it needs to be plugged into a power adapter.
On your Mac, choose Apple menu > System Preferences, click Battery, then click Power Adapter.
Select any of the available “Wake for…” options, such as “Wake for network access”. (Different options are available, depending on how you’re connected.)
When the “Wake for network access” tickbox is selected, your Mac wakes at the following times:
When a user at another computer accesses your computer’s shared resources.
At regular intervals so that your Mac can notify other computers on the network that its resources are available.