2022年5月1日 星期日

Mac Wifi connection Dropping frequently

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

沒有留言:

Obsidian 插件介紹:Text Generator

Text Generator 是 Obsidian 的一個插件,它可以根據給定的提示自動生成文本。這個插件使用 GPT-3 語言模型,能夠產生類似人類的文本,非常適合編寫故事、文章、電子郵件和其他類型文本。 主要功能: **生成文本:**根據提示生成各種長度的...