Difference between revisions of "Networksetup"
Jump to navigation
Jump to search
↑ https://www.unix.com/man-page/osx/8/NETWORKSETUP/
Line 3: | Line 3: | ||
* <code>networksetup -listallnetworkservices</code> | * <code>networksetup -listallnetworkservices</code> | ||
+ | |||
+ | |||
+ | Change [[DNS]] services: <code>networksetup -setdnsservers Network_Service_Name YOU.RDNS.IP</code> | ||
+ | * <code>networksetup -setdnsservers Wi-FI 8.8.8.8</code> | ||
+ | * <code>networksetup -setdnsservers "USB 10/100/1000" LAN 8.8.8.8</code> | ||
+ | |||
Revision as of 14:22, 21 January 2020
networksetup
[1] is a macOS configuration command for network settings.
networksetup -listallnetworkservices
Change DNS services: networksetup -setdnsservers Network_Service_Name YOU.RDNS.IP
networksetup -setdnsservers Wi-FI 8.8.8.8
networksetup -setdnsservers "USB 10/100/1000" LAN 8.8.8.8
Activities
- Create an IP alias in macOS: https://apple.stackexchange.com/questions/296647/how-do-i-create-a-static-permanent-ifconfig-alias
See also
- macOS: macOS versions, iTerm2, Homebrew, FileVault, System Integrity Protection,
dscacheutil
,networksetup
, XNU kernel, APFS, diskutil, mdfind, Keychain Access, Growl, Activity Monitor, sidecar, macOS FHS, Apple Notification Center,sw_vers
, Spotlight,pbcopy
, MacOS application firewall,Applesimutils
, Automatic login,security (command)
,codesign
,spctl
, Alfred, Xcode,system_profiler
,log show
, MacOS Preview, Rectangle app, Finder, macOS: Shortcuts, SEP, osascript, macOS profile, UTM,softwareupdate, systemsetup, pmset
, macOS tips, macOS Dock, Automator, SIP, System Preferences,installer, cryptex
, AirPlay, macOs first setup, Universal Control, menu bar, IPSW
Advertising: