You can try this. No guarantees it will work.
To reset network preferences on a Mac by deleting .plist files, disable Wi-Fi, open Finder, press Command+Shift+G, enter /Library/Preferences/SystemConfiguration/, and delete files like com.apple.airport.preferences.plist, NetworkInterfaces.plist, and preferences.plist to the Trash. After restarting the Mac, your system will regenerate these files with default settings.
Steps to Reset Network Preferences
- Turn off Wi-Fi: Click the Wi-Fi icon in the menu bar and select Turn Wi-Fi Off.
- Open Finder: Click the Finder icon in your Dock.
- Use "Go to Folder": Press Command+Shift+G to open the "Go to Folder" dialog box.
- Enter the Path: Type or paste /Library/Preferences/SystemConfiguration/ into the box and press Go.
- Delete .plist Files: Locate the following files in the SystemConfiguration folder and drag them to the Trash:
- com.apple.airport.preferences.plist
- com.apple.network.identification.plist (if present)
- com.apple.wifi.message-tracer.plist (if present)
- NetworkInterfaces.plist
- preferences.plist
- Empty the Trash: Right-click on the Trash icon in the Dock and select Empty Trash.
- Restart Your Mac: Go to the Apple menu and select Restart.
- Re-enable Wi-Fi: After your Mac restarts, turn your Wi-Fi back on from the menu bar. Your Mac will automatically create new default .plist files, and you'll be able to reconnect to your network.