Created
June 24, 2020 11:53
-
-
Save jamesBan/7bd2796e438d6cbae67513ca0179539f to your computer and use it in GitHub Desktop.
打开或关闭mac 的ipv6功能
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
关闭系统的 IPV6 功能。 | |
OS X 下关闭方法: | |
networksetup -setv6off Wi-Fi | |
networksetup -setv6off Ethernet(如果电脑有以太网接口) | |
开启方法: | |
networksetup -setv6automatic Wi-Fi | |
networksetup -setv6automatic Ethernet(如果电脑有以太网接口) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment