Recently My laptop MBP 2018 encounter the network issue frequently. The wifi will drop connection randomly. The symptom is lost connection with default gateway. Here is the note that I used to record what I did for troubleshooting.
1.check the wifi status
netwroksetup -getinfo Wi-Fi
netstat -nr -f inet
list all network devices to get wifi device id
networksetup -listhardwareports
The most WiFi device id is en0
networksetup -getairportpower en0
disable airdrop
sudo ifconfig awdl0 down
The Fix:
Disable WiFi
Open Finder
Press
Cmd+Shft+G
to go to the folder
/Library/Preferences/SystemConfiguration/
Delete (or move) the following files:
com.apple.airport.preferences.plist
NetworkInterfaces.plist
preferences.plist
Restart your computer
Re-enable WiFi
沒有留言:
張貼留言