If you have ever wondered why Computer name changing constantly Yosemite i give you some short explantation to prevent MacOS X doing this.
The behavior is controlled by new discoveryd which replaces mDNSResponder on Yosemite and i found out that there is a switch called no-namechange which isn’t even documented on the internal man page of the discoveryd command.
To control strings for discoveryd i use the internal MacOS X command called PlistBuddy to enable this feature.
So what we will need to get this switch enabled is, entering following command in your Terminal app:
sudo /usr/libexec/PlistBuddy -c "Add :ProgramArguments: string --no-namechange" /System/Library/LaunchDaemons/com.apple.discoveryd.plist
And restart your Mac or run following command:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
If you want to undo this for whatever reason just enter:
sudo /usr/libexec/PlistBuddy -c Revert /System/Library/LaunchDaemons/com.apple.discoveryd.plist
And it will revert the previous change to the previous modified plist file.
Cheers!
If you having trouble with waking up Mac on Yosemite every 2 hours, here is a temporary fix for that: Fix yosemite rtc alarm wakeup issue
HTTP/2 SSL Offloading with Hitch and Varnish Since Chrome browsers showing you insecure warning on…
File changed as we read it GlusterFS issue Recently i had trouble running Backups of…
Running multiple instances of varnish using systemd If you have not yet found a complete…
HTTP/2 SSL Offloading with Haproxy and Nginx After HTTP/2 becoming more an more prominent regarding SSL…
Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for Everyone knows the Problem. Get…
Review TDS2 How to backtest using tick data with Metatrader 4 in this Review TDS2…
This website uses cookies.
View Comments
But after that fix AirPlay turned off and I cannot play music and movies from iTunes on Apple TV.
Doesn't work with 10.10.1 ...
one of the two edits ... i imagine the name change one though I'm not certain ... messes up my apple tv connection. Otherwise, they both work wonderfully!!!