by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

How to disable or enable IPV6 on your own MacOS, you can use networksetup -listallnetworkservices to list all MacOS network devices, and then execute the disable command.

List all MacOS network devices
networksetup -listallnetworkservices
Will have the following result:
An asterisk (*) denotes that a network service is disabled.
Ethernet
iPad USB
Wi-Fi
iPhone USB
Bluetooth PAN
Thunderbolt Bridge
Disable Disable IPV6 on that device, eg Wifi
networksetup -setv6off Wi-Fi
Re-enable IPV6 on Wi-Fi:
networksetup -setv6automatic Wi-Fi

Tags: MacOS

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


macos

About ditto instructions on MacOS

The ditto command appeared in Mac OS X (10.0) for the first time. In some cases, it is more intuitive than the cp command. Those who are interested can study and test it by themselves. Assuming that there is an envs folder in my directory, my test is as follows:

MacOS

Find the ip location of MacOS

How to Find Your Mac's Location