Eddie Chan wrote:
I have tried to input these commands in the command:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
I have to input the above commands every time when I reboot my Macbook air. This is so annoying. I find out some network launch daemons are stuck.
I finally solve the above issues in following ways:
- Backup all your application into a USB external hardisk or Time Machine
- Installed a new fresh copy of Yosemite and copy all files under /System/Library/LaunchDaemons/ to a USB flash drive
- Restore back all your application by migration assistant from the Time Machine or by USB external hardisk
- Replace /System/Library/LaunchDaemons/ with the new fresh copy of Yosemite
Reboot your machine. Internet works perfectly even after reboot.
Is is just a matter of TIME before you will experience those issues again... Although I hope for you that you won't ;-).
I tried the same thing and it worked a few days but then the problem was back.... I wasted a lot of time backing up and re-installing...