network device enumeration
Use networksetup to display services with corresponding port and device in order they are tried for connecting to a network.
ORCHARD · Tool
Use networksetup to display services with corresponding port and device in order they are tried for connecting to a network.
networksetup -listnetworkserviceorderUse networksetup to detect new network hardware and create a default network service on the hardware.
networksetup -detectnewhardwareUse networksetup to list all network interfaces, providing name, device name, MAC address.
networksetup -listallhardwareportsUse networksetup to list all network interface names.
networksetup -listallnetworkservicesUse networksetup to get configured DNS servers for a specific interface.
networksetup -getdnsservers Wi-FiDisplays web proxy auto-configuration information for the specified interface.
networksetup -getautoproxyurl "Thunderbolt Ethernet"Displays standard web proxy information for the specified interface.
networksetup -getwebproxy "Wi-Fi"Use networksetup to set the https web proxy for an interface.
networksetup -setsecurewebproxy "Wi-Fi" 46.226.108.171Use networksetup to set the http web proxy for an interface.
networksetup -setwebproxy "Wi-Fi" 46.226.108.171Use networksetup to set the proxy URL for an interface.
networksetup -setautoproxyurl "Wi-Fi" $autoProxyURLUse networksetup to enable the proxy auto-config
networksetup -setautoproxystate "Wi-Fi" onType to search the catalog. ↑↓ move, ↵ open, Esc close.