9 .Nd Manage system configuration parameters
14 .Fl -prefs Op preference-file
19 .Bro "" Ar nodename | Ar address | Ar local-address remote-address "" Brc
22 .Fl w Ar dynamic-store-key Op Fl t Ar timeout
28 .Fl -set Ar pref Op Ar newval
37 .Fl -nc Ar nc-arguments
42 Invoked with no options,
44 provides a command line interface to the
48 Interaction with this data (using the SystemConfiguration.framework
49 SCDynamicStore APIs) is handled with a set of commands read from
51 A list of the available commands is available by entering the
57 option provides a command line interface to the [raw] stored
59 Interaction with this data (using the SystemConfiguration.framework
60 SCPreferences APIs) is handled with a set of commands read from
62 A list of the available commands is availble by entering the
68 option provides a means of checking the network reachability of a host, an IP
69 address, or a pair of local and remote IP addresses.
72 is a term that indicates whether network communication is possible between
73 the current host and the specified host.
77 option provides a means of checking for (and optionally waiting for the
78 creation of or posting of a notification to) a dynamic store key.
84 options provide a means of reporting and updating a select group of
85 persistent system preferences.
89 option reports the current DNS configuration.
92 configuration is considered to be the
97 configurations follow. Those containing a
99 name will be used for queries matching the specified domain.
100 Those without will be used as a
102 configuration in addition to the first listed.
106 option reports the current system proxy configuration.
110 option provides a set of commands for monitoring and interacting with VPN connections.
114 for a full list of commands.
118 .\"option provides a means of managing the system's network configuration.
121 .It Fl r Oo Fl W Oc Bro "" Ar nodename | Ar address | Ar local-address remote-address "" Brc
122 Check the network reachability of the specified host name, IP address, or a
123 pair of local and remote IP addresses.
124 One or more of the following strings will be reported to standard output.
126 .Bl -tag -width "Transient Connection"
128 The specified nodename/address cannot be reached using the current network
131 The specified nodename/address can be reached using the current network
133 .It Transient Connection
134 The specified nodename/address can be reached via a transient (e.g. PPP)
136 .It Connection Required
137 The specified nodename/address can be reached using the current network
138 configuration but a connection must first be established.
139 As an example, this status would be returned for a dialup connection
140 that was not currently active but could handle network traffic for the
142 .It Connection Automatic
143 The specified nodename/address can be reached using the current network
144 configuration but a connection must first be established.
145 Any traffic directed to the specified name/address will initiate the
148 The specified nodename/address is one associated with a network interface
150 .It Directly Reachable Addresss
151 Network traffic to the specified nodename/address will not go through a
152 gateway but is routed directly to one of the interfaces on the system.
155 The reachability can also be monitored by specifying the
158 This will result in the current status being reported as well as the
159 status when/if the network configuration changes.
161 A zero exit status will be returned when the reachability status is reported correctly.
162 A non-zero exit status will be returned if errors are detected with an error reported to standard error.
163 .It Fl w Ar dynamic-store-key Op Fl t Ar timeout
164 Check if the specified key exists in the
170 will return with a zero exit status.
173 will wait for the specified time for data to be associated with or a notification
174 to be posted using the key.
175 A non-zero exit status will be returned if the key was not created/posted
176 within the specified time.
179 will wait indefinitely if a timeout of 0 seconds is specified.
180 The default timeout is 15 seconds.
182 Retrieves the specified preference. The current value will be reported on standard output.
184 Supported preferences include:
185 .Bl -tag -width "LocalHostName" -offset indent
187 The user-friendly name for the system.
189 The local (Bonjour) host name.
191 The name associated with
196 .It Fl -set Ar pref Op Ar newval
197 Updates the specified preference with the new value.
198 If the new value is not specified on the command line then it will be read from standard input.
200 Supported preferences include:
207 option requires super-user access.
209 Reports the current DNS configuration.
211 Reports the current proxy configuration.
212 .It Fl -nc Ar nc-arguments
213 Provides a set of commands for monitoring and interacting with VPN connections. Use
216 for a full list of commands.
218 .\"Provides a command line interface to the
219 .\".Qq network configuration .
220 .\"Interaction with this data (using the SystemConfiguration.framework
221 .\"SCNetworkConfiguration APIs) is handled with a set of commands read
222 .\"from standard input. A list of the available commands is available
223 .\"by entering the help directive.
227 .\"option requires super-user access.
234 command appeared in Mac OS X Public Beta.