Mac OS X Unleashed

Mac OS X Unleashed

By John Ray and William C. Ray

The Network Control Pane

The Network control pane, already introduced during the installation, is the GUI brain center of the OS X interface to TCP/IP. This control pane, in actuality, just provides a series of hints to the underlying Unix TCP/IP control software, but it does so in a much more elegant fashion than twiddling configuration parameters at the command line. The primary control with which you should familiarize yourself is the Configuration menu. In previous versions of Mac OS, various portions of the networking software were configured by separate control panels, and each panel was controlled by its own independent saved configuration setting. Mac OS X has instead placed all network configurations under a single parent control pane, with an umbrella configuration setting that covers TCP/IP, modem control, AppleTalk, and location settings. By default, under the Configurations menu you have options for PPP (dialup), Ethernet, AirPort (if your machine has an AirPort), and Advanced.

The Advanced Subpane

The available selections in the Configure menu switch between a number of subpane groups for the Network control pane. The Advanced subpane, doesn't provide advanced network configuration, but allows you to enable and disable already existing configurations, and create new configuration sets. Figure 9.2 shows the Advanced subpane of the Network control pane. OS X, to make network configuration as easy as possible, attempts to automatically detect and select the correct network configuration for any given situation. This convenience comes at a slight cost in startup time, so unless you actually intend to use all the available configurations, we don't recommend leaving all the configurations enabled as shown in the figure.

09fig02.jpg

Figure 9.2 The Advanced subpane of the Network control pane.

If you've already experimented enough to find the location settings, the capability to save additional configurations might seem redundant. It becomes useful, however, in situations where you have multiple IP addresses at the same location, on a single network interface. Without iterating through different location settings, setting up several different configurations would allow the system to automatically search through each until it found a working set of parameters. This might occur if you have multiple in-building networks with different IP ranges on each, but with each connected to share resources.

Another possible use is if you have a number of different dialup service providers, and want your machine to try each until it finds an open one.

Modem

Under the Modem Configuration menu option, you can configure the settings required to establish a dialup connection. The subpanes available enable the configuration of how TCP/IP gets its settings, the PPP (Point to Point Protocol, carried over a dialup connection) configuration parameters, modem settings, and network proxy server settings.

Under the TCP/IP subpane, shown in Figure 9.3, you can configure how your TCP/IP stack gets its control and configuration information. The manual configuration settings, shown in the figure, allow you to configure individual options by hand, but it would be unusual if an ISP (Internet Service Provider) did not provide the information for these settings automatically, using PPP.

09fig03.jpg

Figure 9.3 The TCP/IP subpane, showing available options for the dialup (Modem) configuration set.

If you need to provide manual configuration information, you will need to know and fill in the following information—you should be able to get this information from your network administrator:

Under the PPP subpane, shown in Figure 9.4, you can configure how to connect to your ISP. Almost all ISPs use PPP to provide TCP/IP over dialup connections. If yours does not, you will need to follow its instructions, which will probably include installation of some custom software.

09fig04.jpg

Figure 9.4 The PPP subpane of the Modem configuration allows you to specify your dialup account information.

The PPP subpane has the following fields:

The PPP panel also has a PPP Options button and corresponding drop-down pane that enables you to configure several other options with respect to the dialup connection, as shown in Figure 9.5.

09fig05.jpg

Figure 9.5 The Session and Advanced dialup options drop-down pane for dialup connections.

The pane enables you to configure

The Modem subpane, shown in Figure 9.6, allows you to select your modem, configure the dialing type, and determine whether you want to hear your connections as they progress.

09fig06.jpg

Figure 9.6 The Modem subpane of the Modem configuration.

If you're on a network segment where you must connect to proxy servers instead of directly to outside services such as FTP and Web servers, the Proxies subpane is the place to tell the system about the proxies. Shown in Figure 9.7, the Proxies subpane allows you to select what is needed and how to contact the proxy types.

09fig07.jpg

Figure 9.7 The Proxies subpane of the Modem configuration option. This pane is identical to Modem, Ethernet, and AirPort configuration sets.

The Proxies submenu proxy types are

You can also configure your machine to use PASV (passive) FTP mode for transferring data, an option that will probably be required if you are behind a firewall, or on a NAT (network address translation) private local network.

Finally, you can configure hosts and domains in which the proxy settings should be ignored. If you contact servers both inside and outside your local firewall, you might want to provide your local network information for this option. Therefore, your machine doesn't need to contact the proxy, and then reconnect inside your local network for interior connections.

Ethernet

If you are connected to your network via an Ethernet connection (a physical chunk of wire, typically twisted pair, which looks like a bulky phone cable), you'll need to configure your connection under the Ethernet configuration option. Because switching from one physical transport to another requires only changing a little bit in a few protocol layers, it's similar to dialup configurations you've already seen.

Again, under the TCP/IP subpane, you have the option of providing manual configuration settings or of getting your configuration parameters from a server. If you have a static IP address and configuration that you must supply manually, the options are identical to those discussed under the Modem configuration. In addition, you have the option of selecting from DHCP configuration of all options, DHCP configuration of all options except the IP address, and BootP configuration of all options.

As mentioned earlier, TCP/IP is just one of a number of communication protocols. It's actually possible to run multiple communication protocols over the same piece of wire at the same time. In a clever use of this capability, it's possible to establish a PPP connection via Ethernet wiring, instead of a phone line. If your service provider gives you this option, you can configure it with the subpane shown in Figure 9.9.

09fig09.jpg

Figure 9.9 The PPPoE subpane of the Ethernet configuration set. The options available here are exactly analogous to the options under the dial-in PPP configuration.

09fig08.jpg

Figure 9.8 The TCP/IP options for the Ethernet configuration are essentially identical to those for the Modem configuration.

In this subpane, you have the following fields to fill in:

The PPPoE subpane (like the PPP pane) has settings similar to the Dial-in/PPP configuration, in which you can specify options, such as how long to wait before disconnection. Click the PPPoE Options button to display the drop-down pane.

The Ethernet configuration setting set also includes a Proxies subpane identical to that under the Dialup configuration and an AppleTalk subpane. As mentioned previously, AppleTalk is a different communication protocol that is independent of TCP/IP, so this pane will be covered in a section dedicated to AppleTalk later in this chapter.

AirPort

The final default configuration type is the AirPort configuration set. This configuration has TCP/IP and Proxies subpanes with options that are identical to the Ethernet configuration settings. It also includes an AirPort subpane, shown in Figure 9.10, wherein you can choose your default AirPort network, and enter your network password if required.

09fig10.jpg

Figure 9.10 The AirPort subpane of the AirPort configuration set.

If you have an AirPort card, an AirPort Dockling will appear in your dock. The AirPort Dockling provides a continuous display of your signal strength, and access to basic AirPort functionality such as disabling the card and choosing the network to connect to.

Share ThisShare This

Informit Network