编程知识 cdmana.com

To solve the problem that MAC is stuck when modifying static IP

Problem description

macos Open web preferences on the web to set static ip when , When the cursor is placed in the input box, it will be stuck , It's impossible to ip Address , Modify the subnet mask, etc

The reasons causing

Guess it was unloaded macos Input method uses Sogou input method to create , The exact reason is unknown

terms of settlement

Static by command ip Wait for settings

Search for owned network devices for device names : networksetup -listallnetworkservices
image.png

Set static ip: networksetup -setmanual Equipment name ip Subnet mask gateway
Example :
networksetup -setmanual "Wi-Fi" 192.168.0.150 255.255.255.0 192.168.0.1

Get more settings : networksetup -help

版权声明
本文为[Jackson]所创,转载请带上原文链接,感谢

Scroll to Top