Hi, yash panchal.
Here are some helpful articles that will assist you with troubleshooting this issue.
I have tried the procedure that you mentioned but end result is internet not connected. Is there a way that i can reset the network settings to the default state and then try it again? its been almost a month i am trying to get the PPPoE settings right to get my internet working. I tried replicate the internet settings of my older macbook onto the newer macbook pro but still the same. I am ****** off on this because of this i cannot partition my mac for windows.
Please help me.
With Finder active, hold the Option key down and click on the Go menu. Select Library from the drop down.
Open the Library folder and look for Preferences. Open that folder and scroll through the contents to find this file: com.apple.NetworkUtility.plist
Trash the file and restart.
Now go to System Preferences / Network, and enter the settings you have on the older Macbook.