Site hosted by Angelfire.com: Build your free website today!
Chapter 22: Connecting to the Internet

PreviousChapterContentsGlossaryNext

Changing Your Dial-Up Connection Settings

Once you have used the New Connection Wizard to create a network connection, you can change its settings, copy it, rename it, or delete it. You can also choose which network connection is the default for connecting to the Internet.

note Previous versions of Windows didn't come with TCP/IP (the communications protocol used on the Internet) preinstalled. Instead, you chose it from a list of popular network protocols. Windows XP comes with TCP/IP installed, and you can't uninstall it. (It's unlikely that you'd want to do so, since TCP/IP is used for both the Internet and LANs!)

To configure a network connection or to change an existing connection's configuration, open the Network Connections window by choosing Start | Connect To | Show All Connections (if Connect To appears on the Start menu), choosing Start | Network Connections (if Network Connections appears on the Start menu), clicking View Network Connections from the Task pane of the My Network Places window, or choosing Start | Control Panel | Network And Internet Connections | Network Connections. Right-click the icon for the connection and choose Properties from the menu that appears, or select the connection icon and choose File | Properties. Either way, you see the Properties dialog box for the network connection. Different types of connections display different properties dialog boxes. Figure 22-4 shows one for a dial-up connection, and Table 22-1 lists dial-up connection properties. For the properties of LAN connections (including DSL and cable Internet connections), see section "Installing and Configuring Network Components" in Chapter28.
[figure]
Figure 22-4: The Properties dialog box for a dial-up connection

Tab in Properties Dialog Box Setting Description
General Connecting using Specifies which modem to use to connect. Click the Configure button to check or change the configuration of the modem (see Chapter21).
General Phone number Specifies the phone number your computer dials to connect to the account. Composed of the area code, telephone number, and country code (you choose from a list of countries). Click the Alternates button to enter additional phone numbers. Select the Use Dialing Rules check box to use area code dialing rules and calling cards.
General Show icon in notification area when connected Specifies whether to display an icon at the right end of the taskbar. You can click the icon to see the status of the connection.
General All devices dial the same number Appears only for multilink connections (which use multiple phone lines for the connection). Specifies whether the same phone number is dialed when additional phone lines are used for this connection.
Options Display progress while connecting Specifies whether to display the Connection dialog box, which shows whether Windows is dialing or verifying your user name and password before the connection is made.
Options Prompt for name and password, certificate, etc. Specifies whether to display a dialog box that prompts for your user name and password (or other security information if your account requires it) before connecting.
Options Include Windows logon domain Specifies that if the preceding check box is selected, Windows also prompt for your logon domain. This setting isn't used by most ISPs.
Options Prompt for phone number Specifies whether to include the phone number in the Connect dialog box displayed before connecting to the account. This setting allows you to check or change the phone number each time you dial the account.
Options Redial attempts Specifies how many times Windows redials the connection if it can't connect.
Options Time between redial attempts Specifies how long Windows waits before dialing again.
Options Idle time before hanging up Specifies whether Windows disconnects if the connection is idle for a specified length of time. Choose Never to disable auto-disconnect.
Options Redial if line is dropped Specifies whether Windows reconnects if the connection is lost (for example, if the ISP hangs up).
Options X.25 Displays the X.25 Logon Settings dialog box, in which you specify the X.25 network provider and the X.121 address of the server to which you are connecting.
Security Validate my identity as follows Specifies how your ISP determines who you are. For most ISPs, choose Allow Unsecured Password (that is, passwords are sent unencrypted). For corporate networks, you may need to choose Require Secured Password or Use Smart Card.
Security Automatically use my Windows logon name and password (and domain if any) Specifies what user name and password to use (available only if you set the preceding setting to Require Selected Password or Use Smart Card). Usually not selected for Internet accounts.
Security Require data encryption (disconnect if none) Specifies that the computer to which you are connecting must support encryption for all information transmitted, and to disconnect otherwise (available only if you set the preceding setting to Require Selected Password or Use Smart Card). 'This setting is rarely used.
Security Advanced (custom settings) Click the Settings button to display the Advanced Security Settings dialog box, on which you can specify EAP (Extensible Authentication Protocol) or other advanced protocols, if your ISP supports them.
Security Show terminal window Specifies whether to display a terminal window that shows the interaction between the network connection and the account while the logon script is running. During debugging, select this setting so you can see the terminal window.
Security Run script Specifies the name of the file containing the logon script for this connection. Click Edit to edit a script file or Browse to select an existing file.
Networking Type of dial-up server I am calling Specifies the type of account; all ISPs now provide PPP. Your other choice is SLIP. Click Settings to display the PPP Settings dialog box, in which you can choose: whether to use LCP (Link Control Protocol) extensions, which are not supported by older PPP accounts; whether to enable software compression, which enable most PPP accounts to speed up throughput; and whether to use multilink negotiation (that is, use multiple phone lines for the connection if they are available).
Networking Components checked are used by this connection Specifies how to communicate over the network. Most connections use TCP/IP and QoS Packet Scheduler. See Chapter 28 for information about other protocols.
Advanced Protect my computer and network by limiting or preventing access to this computer from the Internet Specifies whether to use the Internet Connection Firewall when connected. We recommend that you select this option if it has been disabled.
Advanced Allow other network users to connect through this computer's Internet connection Specifies whether to run Internet Connection Sharing on this PC, allowing other computers on the LAN to access the Internet through your connection.
Table 1: Settings for a Dial-Up Connection

You can set a few more items by clicking the Configure button on the General tab of the Properties dialog box for the connection: you see the Modem Configuration dialog box. Most of the settings on this dialog box are the same as the settings in the modem's Properties dialog box. One is not: the Show Terminal Window setting specifies whether Windows displays a terminal window before dialing, to enable you to type modem commands.

warning Make sure that file and printer sharing are not enabled for your Internet connection, unless you want to allow everyone on the Internet to access the files on your computer. On the Networking tab of the Properties dialog box for your Internet connection, make sure that the check boxes are not selected for these two components:

Configuring a TCP/IP Connection

For a connection to an Internet account, you may also need to configure the TCP/IP protocol. On the Properties dialog box for the connection, click the Networking tab, select Internet Protocol (TCP/IP) in the list of components, and then click the Properties button. You see the Internet Protocol (TCP/IP) Properties dialog box, shown in Figure 22-5.
[figure]
Figure 22-5: Configuring the TCP/IP settings for a connection

When your computer is connected to the Internet using TCP/IP, it has its own IP address (IP is the acronym for Internet Protocol). An IP address is in the form of xxx.xxx.xxx.xxx, where each xxx is a number from 0 to 255. (That is, an IP address consists of four eight-bit numbers.) An example of an IP address might be 204.71.16.253.

In addition to IP addresses, computers on the Internet have domain names, alphanumeric names like www.microsoft.com or net.gurus.com. A domain name server or DNS is a computer on the Internet that translates between domain names and numeric IP addresses. Your ISP usually provides two DNS servers (one is in case the other one breaks down).

On the Internet Protocol (TCP/IP) Properties dialog box, make these entries:

note For more settings, click the Advanced button to see the Advanced TCP/IP Settings dialog box. Few ISPs require you to change these settings.

Creating and Using Logon Scripts

Windows tries to log on to your dial-up account automatically. Most accounts follow a standard series of steps: they transmit your user name and your account's password, and then receive confirmation that you are logged in so that communications can begin.

If your account uses a nonstandard dialog box for logging in, Windows can't log in automatically. You can automate logging in by creating a logon script, a text file containing a small program that tells Windows what prompts to wait for and what to type in response. For example, if your ISP's computer uses a nonstandard prompt to ask for your password, or requires you to type a command to begin a PPP session, you can write a script to log on for you. If your ISP uses the standard series of transmissions, you don't need a logon script. Logon scripts have the file extension .scp.

To use a logon script, follow these steps:

  1. Log on manually, making notes about which prompts you see and what you must type in response to those prompts. To log in manually, you can use your network connection with a terminal window, which enables you to see the session and type commands to your ISP. To tell Windows to open a terminal window while connecting, click the Security tab of the Properties dialog box for the connection and select the Show Terminal Window check box. Another way to log in manually is by using HyperTerminal to connect to your ISP.
  2. Create a logon script by using a text editor, such as Notepad. Windows comes with a short manual about writing logon scripts in the file C:\Windows\Script.doc. (This file, and the scripting language you use in logon scripts, have remained unchanged since Windows 95.)
  3. Tell Windows about the logon script by selecting the Run Script check box on the Security tab of the Properties dialog box for the connection and typing the filename in the box to its right.
  4. Test the script, editing it with your text editor and viewing the results in a terminal window.
  5. You can deselect the Show Terminal Windows check box when your script works, if you are tired of seeing the terminal window each time you connect.

tip Windows comes with a set of well-commented sample scripts. Customizing one of the sample scripts is usually easier than writing your own from scratch. These sample scripts are stored in C:\Program Files\Accessories with the extension .scp.

Setting Additional Dial-Up Options

You might think all the properties of a dial-up connection would appear on the connection's Properties dialog box (shown earlier in the chapter in Figure 22-4), but they don't. Most of the settings on the (ill-named) Internet Properties dialog box pertain to your Web browser, rather than to your Internet connection, but a few additional settings appear on its Connections tab. (This dialog box is called Internet Options when you display it by choosing Tools | Internet Options from Internet Explorer.)

To display the Internet Properties dialog box, choose Start | Control Panel | Network And Internet Connections and run the Internet Options program. Figure 22-6 shows the Connections tab of the Internet Properties (or Internet Options) dialog box. The other tabs of this dialog box apply to using a Web browser, and are covered in Chapter24. Most of the settings on the Connections tab control your Internet connection:
[figure]
Figure 22-6: The Connections tab of the Internet Properties (or Internet Options) dialog box

Click the Setup or Add button to create a new connection: both buttons run the New Connection Wizard, but you see a different series of screen (it looks like two slightly different Wizards with the same name!). The Settings button displays a Settings dialog box (shown in Figure 22-7) that contains settings for the selected connection: you see the same settings that appear on the Properties dialog box for the connection, but arranged differently. A few items on the Settings dialog box pertain to connecting to the Internet over a LAN. The LAN Settings button displays the LAN Settings dialog box, which also contains LAN-related settings.
[figure]
Figure 22-7: Settings dialog box for a dial-up connection

Renaming, Copying, or Deleting a Network Connection

You can rename a network connection by right-clicking the connection and choosing Rename from the menu that appears. This action changes the name that appears on your computer for the connection; it doesn't change any of the information sent to the ISP.

Sometimes you want two or more versions of the same dial-up connection. For example, you might dial into your ISP from different numbers depending on where you take your laptop. To copy a connection, right-click its icon in the Network Connections window and choose Create Copy. A new icon appears. Rename the new copy and change its settings by right-clicking it and choosing Properties.

If you don't expect to connect to a particular account in the future, delete its connection from the Network Connections window by selecting the icon for the connection and pressing the DELETE key (or right-click the connection icon and choose Delete). Be sure you also delete any shortcuts to the connection.

Other Dial-Up Connection Settings

Two other settings are available for dial-up connections, although not usually used for regular Internet accounts:

Streamlining Your Internet Connection

Your Internet connection uses TCP/IP, not NetBEUI (Microsoft's file- and printer-sharing protocol) or IPX/SPX (Netware's protocol). You can speed up the process of connecting to your ISP, and make sure that your computer isn't open to intruders, by following these steps:

  1. Display the Network Connections window.
  2. Right-click the connection you use to connect to your ISP. Choose Properties from the shortcut menu that appears. You see the Properties dialog box for the connection.
  3. Click the Networking tab. If NetBEUI or IPX/SPX appear among the installed components, make sure that their check boxes are cleared.
  4. On the Networking tab, deselect the File And Printer Sharing For Microsoft Networks check box and the Client For Microsoft Networks check box. These are not needed (or wanted!) on dial-up Internet connections.
  5. Click the Options tab. Deselect the Include Windows Logon Domain check box, unless your computer is on a domain-based LAN (check with your LAN administrator).
  6. Click OK.
  7. Connect to your ISP to make sure that changing these settings doesn't prevent you from connecting. (If so, repeat the steps and reverse your changes.)

PreviousChapterContentsGlossaryNext