Such issues comes mainly when you update or upgrade your system OS to latest version. To fix this problem follow the steps given below:
Step1: On your Mac, select from the Finder Menu Go -> Go To Folder… and type
“/Library/Preferences/SystemConfiguration” in the following path and press enter...