mac手机共享wife却无法联网解决办法

时间:2024-02-29 16:07:47

删除配置记录,然后重启

vim rm_wifeconfig.sh

sudo rm -rf  /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist \
		 /Library/Preferences/SystemConfiguration/preferences.plist \
		  /Library/Preferences/SystemConfiguration/com.apple.wifi.message-tracer.plist \
		  /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
		  
:wq!

chmod -R 777 rm_wifeconfig.sh

手机共享wife连接不上网时,执行命令,输入密码就可以了.

./rm_wifeconfig.sh