升级 macOS 13 Ventura 之后,如何修改系统网络位置

2 min


今天趁假日有空,升级了 13 Ventura,升级之后先去看了一下大家嫌弃的新版设置界面,真的不是很好用。但这时也了一个问题,的「位置」菜单不见了!这对我来说超不方便的,所以研究了一下之后,找到了绕道方法,给大家。

▼ 原本在 macOS 12 Monterey 里面,可以设置网络位置

升级 macOS 13 Ventura 之后,如何修改系统网络位置

网络里面的「位置」菜单超好用的,你可以配置两套网络方案,例如设置指定,或是 AdGuard Home 的 ,以前在网络里直接切换,只要切换到需要的「位置」就可以临时更换网络配置。

▼ 升级 macOS 13 Ventura 之后就没这个菜单了

不过,其实 macOS 还有一个地方可以切换网络位置

▼ 就是在苹果的菜单里面,就可以切换了

如果需要新增、删除网络位置等,就需要用终端命令了


你也可以建立 alias 快捷命令这样切换起来更方便,比如像这样:

alias locations="networksetup -getcurrentlocation"
alias home="sudo networksetup -switchtolocation home"
alias normal="sudo networksetup -switchtolocation normal"
alias auto="sudo networksetup -switchtolocation Automatic"

根据 WiFi 自动切换网络位置,依然可以用下面的项目实现:

GitHub – rimar/wifi-location-changer: automatically change location when mac os x changes wifi connection

automatically change location when os x changes wifi connection – rimar/wifi-location-changer


Like it? Share with your friends!

0
DUN

Choose A Format
Story
Formatted Text with Embeds and Visuals
List
The Classic Internet Listicles
Countdown
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item
Video
Youtube and Vimeo Embeds