Apple Mac OS X Server Network Card User Manual


 
78 Chapter 6 Setting Network Preferences
Viewing or Changing SOCKS Firewall Proxy Settings
To view the SOCKS firewall proxy information for a configuration:
$ sudo networksetup -getsocksfirewallproxy "
configuration
"
To set the SOCKS firewall proxy information for a configuration:
$ sudo networksetup -setsocksfirewallproxy "
configuration
"
domain
portnumber
To enable or disable the SOCKS firewall proxy for a configuration:
$ sudo networksetup -setsocksfirewallproxystate "
configuration
" (on|off)
Viewing or Changing Proxy Bypass Domains
To list the proxy bypass domains for a configuration:
$ sudo networksetup -getproxybypassdomains "
configuration
"
To set the proxy bypass domains for a configuration:
$ sudo networksetup -setproxybypassdomains "
configuration
" [
domain1
]
domain2
[...]
Managing AirPort Settings
AirPort uses wireless local area network (WLAN) technology to provide wireless
communication between computers. Use the networksetup tool to view or change the
AirPort settings.
To see if AirPort power is on or off:
$ sudo networksetup -getairportpower
To turn AirPort power on or off:
$ sudo networksetup -setairportpower (on|off)
To display the name of the current AirPort network:
$ sudo networksetup -getairportnetwork
To join an AirPort network:
$ sudo networksetup -setairportnetwork
network
[
password
]