The Network Preferences pane of System Preferences can have its settings restored to factory default by renaming a single configuration file.
In early implementations of OS X (before 10.3.x) the relevant file is located here...
/private/var/db/SystemConfiguration/preferences.xml
To see how to reset this file, click here.
In OS X 10.3.x, the relevant file is located here...
/Library/Preferences/SystemConfiguration/preferences.plist
To see how to reset this file, click here.
After you have reset the network preferences file, you will need to make a new network Location. For more information on this, click here...
How to make a new Network Location
NOTE: You DO NOT need to have enabled the root user in order to carry out this procedure. However, you do need to be logged in as a user who has administration rights.
In early implementations of OS X (before 10.3.x) the relevant file is located here...
/private/var/db/SystemConfiguration/preferences.xml
NOTE: This procedure can be reversed by using the mv command again to rename the preferences.old file back to preferences.xml

If the preferences.xml file does not exist in this pathway, the attempt to rename it will fail as illustrated below. If this happens, the Mac may be storing its preferences at the alternate location, in which case click here.
![]()
NOTE: You DO NOT need to have enabled the root user in order to carry out this procedure. However, you do need to be logged in as a user who has administration rights.
In OS X 10.3.x, the relevant file is located here...
/Library/Preferences/SystemConfiguration/preferences.plist
NOTE: This procedure can be reversed by using the mv command again to rename the preferences.plist.old file back to preferences.plist

If the preferences.plist file does not exist in this pathway, the attempt to rename it will fail as illustrated below. If this happens, the Mac may be storing its preferences at the alternate location, in which case click here.
