Apple TV can't find my Mac, restart discoveryd

I noticed after upgrading to Yosemite that often my Apple TVs couldn't find my Mac to play content from it, their main reason to exist. A reboot of my Mac fixed the problem so I dug deeper. I don't have to reboot anymore, I just have to restart discoveryd.


msoulier@merlin:~$ sudo launchctl list | grep discovery

264 0 com.apple.discoveryd_helper

1937 0 com.apple.networking.discoveryd


sudo launchctl unload /System/Library/LaunchDaemons/com.apple.discoveryd.plist

sudo launchctl load /System/Library/LaunchDaemons/com.apple.discoveryd.plist


So it seems that discoveryd has issues in Yosemite.

Mac mini, OS X Yosemite (10.10.1)

Posted on Jan 21, 2015 4:39 AM

Reply
5 replies

Jan 27, 2015 10:50 AM in response to msoulier

I have no idea what any of that means. I feel so lost.





msoulier wrote:


I noticed after upgrading to Yosemite that often my Apple TVs couldn't find my Mac to play content from it, their main reason to exist. A reboot of my Mac fixed the problem so I dug deeper. I don't have to reboot anymore, I just have to restart discoveryd.


msoulier@merlin:~$ sudo launchctl list | grep discovery

264 0 com.apple.discoveryd_helper

1937 0 com.apple.networking.discoveryd


sudo launchctl unload /System/Library/LaunchDaemons/com.apple.discoveryd.plist

sudo launchctl load /System/Library/LaunchDaemons/com.apple.discoveryd.plist


So it seems that discoveryd has issues in Yosemite.

Sep 7, 2015 10:01 PM in response to msoulier

I've had trouble with multiple MacBook's ability to connect to my router after they wake up from sleep, or at random times. As soon as I restarted the discovery service, they connected to the network immediately. Previously I restarted the machine to fix.


For anyone that doesn't know, the commands that msoulier wrote, are run from the terminal. You can launch the terminal from Applications to run more advanced commands on your Mac.


As stated by msoulier; If you are having trouble connecting to your wifi router, try launching the terminal application and running the following commands, in this order:


sudo launchctl unload /System/Library/LaunchDaemons/com.apple.discoveryd.plist

sudo launchctl load /System/Library/LaunchDaemons/com.apple.discoveryd.plist

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple TV can't find my Mac, restart discoveryd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.