Apple Xserve Up Mac OS X Server Specifications Page 83

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 82
Chapter 6 Setting Network Preferences 83
You can also manage system configuration parameters scutil using the
--get and --set options. These provide a means of reporting and updating a group of
persistent system preferences, including ComputerName, LocalHostName, or
HostName.
To set the hostname of a system:
$ sudo scutil --set HostName
mycomputer.mac.com
To get the hostname of a system:
$ scutil --get HostName
mycomputer.mac.com
For more information, see the scutil man page or enter help at the scutil prompt.
Changing Network Locations
A network location contains all network configuration settings for a specific network,
such as Ethernet, AirPort, FireWire, or Bluetooth
®
. Each location has a separate set of
network settings.
Mobile users who switch between networks have multiple locations set up on their
computer and might need to switch between locations quickly. scselect allows you to
access these configuration sets or locations.
To view locations:
$ scselect
The computer responds with output similar to the following:
Defined sets include: (* == current set)
* 0 (Automatic)
1 (AirPort)
2 (Home Office)
To change the location, enter the number of the location to switch to:
$ scselect 1
In this example, the network location switches to AirPort.
Parameter Description
mycomputer.mac.com
The new hostname value you want to set
Page view 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 328 329

Comments to this Manuals

No comments