This document describes how to configure the network portion of Mac OS X 10.4.x for use with the Princeton University campus network. Specifically, it covers configuration for use with OIT Ethernet Service, OIT Wireless Service, OIT Remote Access, and OIT PPTP VPN Services.
This document does not cover Mac OS X 10.5.x; for that version, see Mac OS X 10.5.x Network Configuration.
Versions of Mac OS X 10.4.x considered "current" at Princeton at this time are:
All older versions are no longer considered "current" at Princeton, and should be updated. This documentation assumes you are using a current version of Mac OS X.
If you are not sure what version of Mac OS X your Mac is running, use the About this Mac command under the Mac's Apple menu. If you are running a version that we no longer consider current, we recommend you upgrade to a current version; our documentation assumes you are running a current version.
Upgrading:
Use the System Preferences application to perform network configuration. You will find this application in Mac OS X's Applications folder, as well as in the Apple menu. It may also be in the Dock.
Launching the System Preferences application displays the main System Preferences window. Within this window, click the Network icon; the Network pane of System Preferences is displayed. All network configuration steps will be performed within this pane, sometimes called the "Network preferences pane" or simply "Network preferences."
If the lock icon in the window's lower-left corner is locked, click the icon to unlock the Mac's System Preferences; you will need to provide an administrator's password to do so.
When you have finished making changes (described below), click the Apply Now button in the window's lower right corner (if you have made changes you wish to keep). If earlier you unlocked your System Preferences, and wish to relock them, click the lock icon in the lower-left corner of the window.
You may then select Quit System Preferences from the System Preferences menu.
In Mac OS X, a network location (or simply a location) is a group of saved configurations for one or more network ports.
Commonly-used kinds of network ports (also called interfaces) include an Ethernet port, a Wireless port (e.g. an Apple AirPort card), and a Modem port. Less commonly-used ports include a VPN (PPTP) port (used for some Virtual Private Networks), a FireWire port, and IrDa Modem.
Throughout this documentation, we use the terms network location or location as Mac OS X does (rather than in the conventional sense to mean a physical location).
In its simplest form, you may use a location to correspond to a single way of connecting your Mac to the network; e.g. "Ethernet in my office", "Modem at home", "Wireless using OIT Wireless Service". Each time you connect your Mac to the network in a different way, you would select a different location.
Because a single location can include configurations for multiple network ports, sometimes a single location can be used when connecting your Mac to the network in more than one way (e.g. "Ethernet in my office" and "Modem at home"). Making a single location perform double duty may be convenient, saving you the trouble of selecting a different location each time you connect your Mac in a different way.
At the top of the Network pane of System Preferences is a Location pop-up menu. This is where you may select the current network location, create new locations, and delete uneeded locations. Initially this menu contains one location named Automatic. The pop-up menu may list additional locations, if you have created any previously.
The Location pop-up menu also contains commands to create a new location name and to edit existing locations names. These commands only are used to create, rename, and edit location names. Once a location name exists, to view or edit its configuration, you select the location name in the Location pop-up menu; the remainder of the Network pane will display that location's configuration.
A single Automatic location may meet your needs, or you may need to create additional locations:
This would happen, for example, if your Ethernet port is attached to the campus network, but your Wireless port also happens to be within range of an OIT Wireless Access Point, so both are simultaneously attached to live (but different) IP networks. (For the curious, a technical explanation for why the traffic is discarded is at Mac OS X Network Configuration: OIT Notes and Caveats.)
You can avoid this problem by creating a unique location for each network port, designating that only one port be active in each location.
This is a variation of the previous problem, but is particularly bad when both interfaces are attached to the same IP subnet. Few operating systems support having two network interfaces simultaneously attached to the same IP subnet.
This would happen, for example, if your Ethernet port is attached to the campus network, and your Wireless port also happens to be within range of a private Wireless Access Point attached to the same IP subnet and operating as a bridge. (It doesn't happen with OIT Wireless Service, as OIT's Wireless Access Points are attached to an IP subnet that provides no customer Ethernet connections.)
As the resulting network activity is not acceptable on the campus network, you must avoid this problem, typically by ensuring that only one of your network interfaces is active at a time; the simplest way to do this is by creating a unique location for each network port, designating that only one port be active in each location.
If based on the previous section, you believe the single Automatic location should meet your needs, you are welcome to use it; you may skip this section, and proceed to the Configuring Locations section below.
If the single Automatic location does not meet your needs, we recommend creating a unique location for each of the different ways you may connect your Mac to the network. This section describes how to create new location names; after you create these locations, proceed to the Configuring Locations section below to configure each location.On the Network pane in System Preferences, use the Location pop-up menu to create a new location name as follows:
You may use different names than these; throughout our documentation, we often assume you are using these names. For example, if you use your modem from two different locations that require you to specify the phone number differently (sometimes preceeded by 1-area code, and sometimes not), you might choose to create a location for each, perhaps named Modem - Long Distance and Modem - Local. Or if you use OIT Wireless Service on-campus, but a private wireless network at home, you might choose to create locations named Wireless - OIT and Wireless - Home.
A new location's initial settings are the same as the Automatic location that originally comes with Mac OS X.
If you need to create additional locations, repeat the steps above.
You need not immediately create all the locations you might eventually need; you may choose to create just the location(s) you need initially, then return to this procedure in the future when you need to create other locations.
If there are any locations you will not be using (for example, perhaps you have decided not to use the Automatic location), delete them to avoid confusion. You may do so by selecting the Edit Locations... command from the Location pop-up menu. A sheet will appear, listing all location names. For each location you wish to delete, select the location name, then click the Delete button. When you are done deleting locations, click the Done done button to dismiss the sheet listing all location names. Finally, click Apply Now in the Network pane to save your changes.
At this point you have one or more locations created, but have not yet configured them properly for use with the campus network. (When you create a new location, its initial configuration has settings that are usually inappropriate for use with the campus network. For each location, you will need to configure it appropriately, as described in the next section.
Any location you create, as well as the Automatic location, begins initially with a default configuration. The initial configuration is usually not appropriate for use with the campus network. You should reconfigure the location (even the Automatic location) appropriately for use with the campus network.
For each location, configure it as follows:
This will display a list of network ports that are part of this location. It will also indicate (via a checkmark) which of the ports are "on".
Common names of network ports include Built-in Ethernet (for an Ethernet interface built into the Mac's motherboard), AirPort (for an Apple AirPort Wireless interface), Built-in FireWire (for a FireWire interface built into the Mac's motherboard), and Internal Modem (for an Apple Modem installed inside the Mac). (If the Internet Connect program has been allowed to "set up" this network location for use with the PPTP VPN client, a port named similar to VPN (PPTP) will also appear. Less common network ports include: IrDa Modem (for an infrared port).
If your Mac has a third-party network port, the name may be less apparent; e.g. a third-party PCMCIA card might be named something like Ethernet adapter (en1) regardless of whether it's an Ethernet or a Wireless port. If the name of the port is confusing, you can rename it by double-clicking its name in this list, then typing a new name. When you rename a port this way, the new port name appears only within the current location; if you have multiple locations, you may want to rename the port in the same way within each location to avoid confusion.
When you create a new location, the Mac assumes it should have all possible network ports "on" simultaneously; you will change this next.
Since most often you create a new location to be used with a single network port, you will usually want only that one network port "on." For example, if this location will be used when you are attached via the Built-in Ethernet port, uncheck all ports except the Built-in Ethernet port.
If the location has already been set up to be used used with the PPTP VPN client, and you wish to continue to use this location with the PPTP VPN client, then the VPN (PPTP) port must remain "on", along with the physical port used to attach the computer to the network (e.g. the Ethernet or AirPort port).
When only one port is "on", it does not matter in which order the ports are listed.
If more than one port remains checked, the order matters, but not in the way one might expect. We have not found definitive documentation explaining how this works.
(In Mac OS X 10.2, the Mac tried to connect to the network simultaneously using all ports that are turned "on"; their order in the list matters in determining the Mac's default IP route. We have not found accurate detailed information describing the behavior in newer OS releases. The relevant "Help" information for this topic provided in later releases indicates that the OS tries the network ports in the order they appear in the list, but this appears to be incomplete or inaccurate. It appears instead that the OS will make simultaneous use of the enabled ports, at least for some kinds of ports. The effect of the ordering is unclear.)
Having multiple ports simultaneously "on" could lead to unexpected behavior, as mentioned above in About Network Locations. You could avoid these issues by ensuring that each location has only a single network port turned on. (If you do choose to have multiple ports turned on, you should be prepared to decide the order in which they should be listed, taking into consideration which port you want associated with the Mac's default IP route. Or perhaps the location you are configuring may use the PPTP VPN client, so you must leave the PPTP port turned on, in addition to your regular network port.)
If you specified that this location should have only one network port turned on (using the list of network ports displayed by Network Port Configurations), then only one network port name will appear in the Show pop-up menu.
Otherwise more than one port name will appear; select one of them for now; you will need to come back this step later for each additional port appearing in this pop-up menu.
For example, if you are configuring an Ethernet port, ensure the Ethernet cable is attached. If you are configuring a Wireless port, ensure you are within range of a Wireless Access Point. If you are configuring a Modem port, ensure the phone cord is attached to your modem.
If this is not possible at this time, you can still perform most of the configuration steps below.
If you are configuring a VPN (PPTP) port, you need not arrange for your Mac to be physically attached to any network at the time you configure this port.
In the Configure pop-up menu, select Automatically.
As we do not use PPPoE ("PPP over Ethernet") to connect to the campus network, verify that the Connect using PPPoE and the Show PPPoE status in menu bar checkboxes are not checked.
Configure the Apple AirPort interface as follows (for use with OIT Wireless Service):
You should be aware that Apple's AirPort software (up through at least Mac OS 10.4.3) exhibits a number of frequent problems when in the presence of multiple wireless networks, in switching from one wireless network configuration to another, and in connecting to password-protected wireless networks. More information appears at Mac OS X Network Configuration: OIT Notes and Caveats
Configure the modem as follows:
Configure PPP as follows (for use with OIT Remote Access Service).
NOTE WELL: As announced January 24 2007 by OIT through a variety of media, OIT Remote Access Service this service will be discontinued on July 1 2007. A copy of the text of the announcement is available in the OIT KnowledgeBase.
If you need more information about the Campus Remote Access Server, (e.g. billing, usage policies, modem speeds), see OIT Remote Access Services.
Uncheck the Make AppleTalk Active box. (AppleTalk was retired on August 4 2005 throughout OIT Ethernet Service and OIT Wireless Service.)
In nearly all circumstances, configure TCP/IP as follows (for use with OIT Ethernet Service, OIT Wireless Service, or OIT Remote Access Service):
The instructions above for configuring TCP/IP are appropriate for nearly all circumstances. However, if this location's port is Ethernet, and you choose to use BootP or manual configuration (neither is normally recommended) instead of using DHCP, you will need to configure TCP/IP differently than described above. In that event, follow these more general instructions instead.
Repeat this process until you have configured all network ports in the Show pop-up menu for this location. (These correspond exactly to the set of network ports turned "on" in the Network Port Configurations list.)
If you created multiple locations, repeat the steps above (go back to step 1) for each each location.
You may also wish to create an additional location in which no network ports are active (e.g. name it "Offline"), for use when your Mac will have no network connection, and you don't want it to attempt to establish a network connection. Simply uncheck all the network ports in the Network Port Configurations list.
After you are done configuration all your locations, click the Apply Now button in the Network pane (it will be dimmed if you have made no changes since last clicking it). Then select Quit System Preferences from the System Preferences menu.
After you have created any necessary locations, and configured all your locations, all that remains is to select your current location. You may do so in either of the following ways:
If you have several locations defined, and need to switch among them (e.g. when you change the way your Mac is connected to the network), you may use either method above to select a different location. The first method is usually more convenient, as it involves just a single step.
When you select a different location, any connections that were present at the time you switch location may be disconnected. Any network applications that was running before you switched locations may stop working; you may need to quit and restart those applications. (Some applications may be better than others in automatically handling this situation without needing to be restarted.)
Under most circumstances, you do not need to restart your computer (nor logout and login) simply because you select a different location; you might need to do so if your computer runs any network-based servers.
The Internet Connect application performs a number of barely-related functions.
It includes configuration functions that duplicate some items that appear of the Network pane in System Preferences (and are better performed in System Preferences). It also includes some configuration functions missing from System Preferences. It also includes monitoring or connect/disconnect capabilities duplicated in the optional AirPort, Modem, and VPN status menus. And finally, it includes some monitoring and connect/disconnect capabilities unique to the Internet Connect application.
The program may be found in Mac OS X's Applications folder. A command to launch the application may also present in the AirPort Status menu, Modem Status menu, and VPN Status menu if the current network location includes an AirPort, Modem, or VPN port, respectively.
When you open the Internet Connect application, a Connection window may open. If one does not open, you can open one using the New Connection Window command in the File menu.
When you open the Internet Connect application, a Connection Log window may also appear; for certain kinds of connections (e.g. Modem and VPN connections) you may also open this window using the Connection Log command in the Window menu. This window contains information useful for troubleshooting modem and VPN connections. You can close this window if you do not need the troubleshooting information it provides.
The connection window serves a number of barely-related purposes. It may be used to display the status, partially configure, and connect/disconnect AirPort, Modem, VPN, 802.1X, and IrDa, connections. The toolbar at the top of the window contains icons from which you may select; their names may be similar to AirPort, Modem, VPN (PPTP), 802.1X, and IrDA. You select one of these icons to cause the connection window to become an AirPort Connection window, a Modem Connection window, a VPN Connection window, or an 802.1X Connection window.
The AirPort Connection window contains information and settings that duplicate some of the items present in the AirPort Status menu or the Network pane in System Preferences. As a result, there's rarely any need to use the Internet Connect application to use an AirPort interface. One item present in this window not available elsewhere is the Wireless hardware address ("Base Station ID") of the Wireless Access Point to which your AirPort interface is currently associated (if any).
The Modem Connection window contains information and settings that duplicate some of the items present in the Modem Status menu or the Network pane in System Preferences As a result, there's often no need to use the Internet Connect application to use a Modem interface. One item present in this window not available elsewhere is a pair of indicators (visible when you have an active PPP connection) showing send and receive activity between your Mac and the modem.
The VPN Connection window is used to perform most of the configuration necessary to use a PPTP VPN connection. Once configured, it may also be used to actually connect and disconnect the VPN connection. More information appears in the PPTP VPN Client section.
Mac OS X includes VPN client software supporting the Microsoft Point-to-Point Tunneling Protocol (PPTP). You may use this client to connect to OIT PPTP VPN Service.
Configuration of the PPTP VPN client is performed mostly within the Internet Connect application. Some configuration must be performed in the Network pane in System Preferences.
If you have not previously "set up" the current network location for use with the PPTP VPN client, do so as follows:
As the next few steps will modify the settings for the currently-selected Network "Location", before proceeding, be sure you have selected the location you intended to use in the Network pane in System Preferences.
If no connection window is display, click the New Connection Window command in the File menu.
If a connection window is displayed, but the window's title doesn't indicate that it it is a "VPN (PPTP)" connection window, click the VPN (or "VPN (PPTP)") button in the window's toolbar to change the window to a VPN (PPTP) Connection window.
From the radio buttons which appear in the alert, select PPTP, then click Continue. If you are prompted for an administrator password, enter it.
Each "configuration" you create here represents a different PPTP VPN server, or PPTP VPN server account. If you use different VPN servers (or accounts) at different times, you may choose to create multiple configurations.
Note that the PPTP VPN configurations you create here are associated only with the current network location. If you create multiple network locations (in the Network pane in System Preferences, each will have its own set of PPTP VPN configurations.
If you've previously created any VPN PPTP configuration for the current network location, the application will instead select one of your existing configurations, suggesting that you edit it. If you don't want to edit that configuration, select one of the others you wish to edit; if instead of editing any of the existing configurations you wish to create a new configuration, click the + button to create a new configuration. (Confusingly, this will copy the currently-selected configuration, suggest a new description (e.g. Foo Copy), and select it.)
The configuration you just created is selected as the current VPN (PPTP) configuration in the Configuration pop-up menu. The values you entered earlier for server address, account name, and password are filled into the corresponding fields int the VPN (PPTP) Connection window.
If you choose to enable verbose logging, select Options... from the Connect menu. This displays the Session Options sheet. Turn on the Use verbose logging checkbox. Click the OK button to dismiss the Session Options sheet.
Once a network location is "set up" so it can use the PPTP VPN client (it has a PPTP or VPN (PPTP) port added to the network location), the network location needs to be configured slightly for use with OIT PPTP VPN Service. Do so as follows:
The steps above need be performed only once to "set up" and configure a network location so it may use the PPTP VPN client. (If you have multiple network locations, and wish to use the PPTP VPN client from each of them, you will need to repeat the steps above for each network location.)
If you ever wish to remove the PPTP VPN "setup" from an existing network location, select that network location in the Network pane in System Preferences, use the Show menu to select Network Port Configurations, select the port named PPTP and click the Delete... button, click the Apply Now button, then quit from System Preferences.
Once a network location is "set up" and configured so it may use the PPTP VPN client, you may use the client to connect to OIT PPTP VPN Service as follows:
If no connection window is display, click the New Connection Window command in the File menu.
If a connection window is displayed, but isn't a VPN Connection window, click the VPN (PPTP) button in the window's toolbar to change the window to a VPN Connection window.
If multiple VPN configurations have been created, you may need to select the one you want to use from the Configuration pop-up menu.
If you have chosen to display the VPN Status menu, you can also connect and disconnect from the VPN server using commands in this menu. If you have created multiple VPN configurations (in Internet Connect) for the current networl location, the VPN Status menu will also allow you to select from among these configurations.
If any of your network locations include an AirPort port, and you've checked the Show AirPort status in menu bar box (as we recommend), an AirPort Status menu appears in the menu bar.
This menu indicates whether the Mac's AirPort interface is currently turned on. If the AirPort interface is currently turned on, it also indicates the wireless signal strength and the name of the wireless network to which the Mac is associated (if any). It contains a command to turn off (or on) the AirPort interface, and another to open the Internet Connect application.
On some platforms, this menu contains a command to Use Interference Robustness. We currently make no recommendation regarding this setting, as what it actually does is not documented by Apple.
If any of your network locations include a Modem port, and you've checked the Show Modem status in menu bar box (as we recommend), a Modem Status menu appears in the menu bar.
This menu indicates the state of modem port (e.g. idle, connected, dialing, etc). If the current network location has the modem port turned "on", the menu includes a command to Connect or Disconnect using the modem. If you've unckecked the Connect automatically when needed checkbox in the Network pane in System Preferences, you'll probably find the Connect command particularly helpful.
If any of your network locations include a VPN port, and you've checked the Show VPN status in menu bar box (as we recommend), an VPN Status menu appears in the menu bar.
This menu indicates the state of VPN connection (e.g. connected, disconnected, authenticating, etc). If the current network location has a VPN port configured, the menu includes a command to Connect or Disconnect from the VPN server. If there are multiple VPN configurations defined for this network location, the menu also lists each configuration by name, so you may select from among them.
If you use Mac OS X's "Classic" environment, you may notice that it includes Control Panels for AppleTalk, Modem, Remote Access, and TCP/IP.
You may not use any of these control panel in the Classic environment; that environment inherits its network configuration from Mac OS X.
See Mac OS X 10.4.x Network Configuration: OIT Notes and Caveats for additional notes and caveats about using Mac OS X 10.4.x networking at Princeton.
For a chronology of OIT Network System's support history of Mac OS X networking, see Mac OS X Networking: Support History at Princeton.