Platinum Edition Using Windows 98

Previous chapterNext chapterContents


- 44 -

Remote Access with Dial-Up Networking


by Larry Passo, et al.

Connecting to a Remote Access Server

Dial-Up Networking enables clients to connect through Remote Access Servers to remote networks. After this connection is made, the telephone lines become transparent to the client, and users at the remote client can access the same network resources that they could access if they were actually connected directly to the remote network. The only difference that the remote user might notice is a drop in responsiveness because a dial-up connection is much slower than a direct network connection. To achieve this remote connectivity, you must properly configure both sides of the connection.

Installing Dial-Up Networking is simply the first step in connecting to remote resources via a Remote Access Server. To access remote resources, it is also necessary to install the necessary client software and network transport protocols.

By default, Windows 98 can support the following common transport protocols:


CAUTION: The DLC transport protocol cannot be used for remote access.

Windows 98 also ships with the following networking clients:

In addition to the integrated clients and protocols, many third-party client packages are available. A few of these packages follow.

The type of network you plan to dial into determines the combination of protocols and clients required for full connectivity. It's always a good idea to ask your network administrator which combination you need.

When you installed Dial-Up Networking, Windows 98 automatically configured your machine with a Dial-Up Adapter, the Microsoft Family logon, and the TCP/IP protocol (see Figure 44.1). These components alone are enough to allow you to connect to the Internet successfully, but are not sufficient to dial into a Windows NT or NetWare network. The following procedure walks you through the installation of additional network clients and protocols.

FIG. 44.1 The Dial-Up Adapter.

1. Determine the network client/protocol combination necessary to successfully communicate on your remote network.

2.
Launch your Windows 98 Network Properties either by going to the Control Panel and clicking the Network shortcut or by highlighting the Network Neighborhood shortcut on your desktop and using the right mouse button to launch the drop-down menu and choose Properties from the available values. Either way, the Network applet appears as shown in Figure 44.1.

3.
To add clients or protocols, click the Add button to open the Select Network Component Type window (see Figure 44.2).

FIG. 44.2 The Select Network Component Type window.

4. To add a client or protocol, highlight the appropriate choice and click Add. Note that the components supported natively under Windows 98 are in the Microsoft category as shown in Figures 44.3 and 44.4.

FIG. 44.3 The Select Network Protocol window.

FIG. 44.4 The Select Network Client window.

5. After you select the appropriate network component, Windows 98 copies the necessary files to your hard drive. When all components are installed, close the Network configuration applet; Windows prompts you to restart your computer. At this point, you can begin to create and manage dial-up connections.

Configuring Telephony Settings

Windows 98 offers advanced telephony settings for Dial-Up Networking. These settings enable you to create multiple Dial-Up profiles to be used in various situations. For instance, some of the commonly required telephony settings are


NOTE: The Windows Telephony API (TAPI) provides a standard way for communications applications to control telephony functions for voice and data. TAPI controls all connections between a Windows 98 system and the telephone network. 

Notice the Dialing From field under the phone number of the ABC Company in Figure 44.5. The Dialing Properties button is next to this field.

FIG. 44.5 Connect to ABC Company.

To manipulate your telephony, or dialing, properties, simply click on the Dialing Properties button to launch the Dialing Properties window, shown in Figure 44.6.

FIG. 44.6 The Dialing Properties window.

This page enables you to set a number of dial-out variables and save them as different profiles, or locations. The available variables are

To create a new location, click the New button next to the I Am Dialing From field. You are told that your new location was created, and all settings from the previous location disappear. Follow these steps to create a new long-distance location for using a calling card from a hotel.

1. Click the New button on the top of the form. In the field labeled I Am Dialing From, type Hotels.

2. Do not modify the Country/Region or the Area Code settings, but instead select the button labeled Area Code Rules. The Area Code Rules window, shown in Figure 44.7, appears on your screen.

FIG. 44.7 The Dialing Location Area Code Rules page.

3. At this point you may set some fairly sophisticated rules. However, it is a safe assumption that you won't be staying in too many hotels within your home area code. Simply check the box next to the Always Dial the Area Code option and click OK to return to the main Dialing Properties window.

4.
Focus your attention on the section titled When Dialing from Here. Because many hotels require you to dial a 9 to make local calls and an 8 to make long-distance calls, enter an 8 in the box next to the For Local Calls, Dial option and a 9 in the For Long Distance Calls, Dial option. Or just enter a 9 in both boxes if that is what your hotel requires.


TIP: Some PBXs have a noticeable delay before they supply a dial tone in response to the 8 or 9 that you dial to request a telephone line. If this delay prevents you from being able to establish your connections, simply type one or more commas (,) after either the 8 or the 9 in the appropriate box. Each comma delays the dialing sequence for a couple of seconds. Try adding one comma at a time until you slow down the dialing sequence enough to reliably make your connections.
5. Skip to the section titled For Long Distance Calls, Use This Calling Card and click the Callin_g Card button. The Calling Card window, in Figure 44.8, appears. Select your Calling Card type from the drop-down list at the top of the page. After you select the correct card type, all default settings are entered into the appropriate fields. In most cases, all you need to enter is your PIN.


TIP: If your favorite calling card type isn't listed, you can add it by clicking on the New button (see Figure 44.8) and entering the appropriate details.

FIG. 44.8 The Calling Card configuration window.

After your Calling Card settings are configured, click OK at the bottom of the page to return to the main Dialing Properties window.

7.
Click OK at the bottom of the page to create your new location. To switch between locations, simply click the down arrow on the drop-down box located on the main dialing window, as shown in Figure 44.8.

You may create as many dialing locations as necessary and use as many calling cards as required. However, each dialing location can be configured to use only one calling card at a time.


TIP: The configurations you set up for each connection are stored in the Registry under

Hkey_Current_User\RemoteAccess\Addresses\My Connection

You can predefine Dial-Up Networking connections for users by including them as part of system policies. If you enable user profiles, different users sharing the same computer can use separate dialing configurations.


Using Resources via Remote Access

When you dial into a Remote Access Server and connect to the network, your workstation is essentially a normal network client with one exception: dialing into your network through a modem is considerably slower than when you're logged on at the office--even at today's modem speeds. Although Dial-Up Networking offers a great deal of functionality, Remote Node connectivity does not enable you to run any sizable applications (such as Office) from the network or to transfer large amounts of data in short time periods. The most effective manner in which to use a dial-up solution is to have all your applications resident on your Windows 98 computer and have any large documents or files on removable media. In this case, when you access your required network resources (such as a standard Word document or a Notes Database), you need to pass only small amounts of data back and forth across the line. Some of the most common uses for Dial-Up Networking clients are

Dial-Up Networking is very practical for users who need access to centrally located resources or who need to perform remote network administration. Many client/server applications such as SNA Server or Microsoft Exchange work well over remote node connections. With Dial-Up Networking, you can connect to your office's network and map drives, navigate Network Neighborhood, or even connect to the Internet.

Special Considerations for Dial-Up Connections

Many remote users require more than just remote node connectivity, and likewise, many corporations have found value in providing high-performance remote solutions for their mobile work force. Remote control applications and Windows terminal solutions can overcome many of the performance issues seen in remote node connectivity.

Remote Control

Remote control software enables the user to dial in to a network via Dial-Up Networking and take control of a PC on the remote network. The PC that is being managed remotely is referred to as a host. After control is taken, the remote control client can manage the host, run applications from it, or even provide technical support for it. Remote control software such as Reach Out, PC Anywhere, Timbuktoo, or Remotely Possible enables you to take control of and man- ipulate a remote computer by simply passing modifications to the screen across your dial-up connection. For instance, if you take control of a host on your remote network and launch an accounting application, the host does all the processing and the remote control software simply passes information about what is currently on the host's screen to your remote control client. To you, it seems as if you've just launched the application on your own computer. Although remote control performance is slower than performance at the actual workstation, remote performance is acceptable--especially in a situation in which remote control is the only way to access an application.


NOTE: In some cases, taking remote control of a remote host and running an application might actually be faster than running the application remotely via Dial-Up Networking. In applications where the host needs to access large amounts of data from either its local hard disk or from a network file server, only the screen updates need to be transmitted over the phone lines. 

Windows Terminal Solutions

Remote control software is excellent for many applications; however, it is impractical to provide remote control solutions for a significant number of remote users. Windows terminal solutions, such as Citrix Winframe or Microsoft's Windows Terminal Server(WTS), take remote control one step further. With a Windows terminal solution, a user can dial into a network with Dial-Up Networking and use a Windows terminal client to launch a Windows session from a Citrix or WTS server. This session, which is very much in the vein of a mainframe session, provides the user with a true Windows desktop session, as well as access to almost any application at speeds approaching real-time local computing. A Windows terminal solution does not require a dedicated workstation for every remote user; instead, a single server can provide high-performance remote computing for multiple concurrent users. In addition, a Windows terminal solution enables the network administrator to create and assign profiles to individual users or groups. For instance, the administrator can create a common profile that provides access to all common corporate applications.

For most users, this profile is more than adequate; however, there may be secure applications that other users need to access. For instance, the administrator could create a secure profile for accounting users that offers access to all standard applications, as well as the corporate accounting application. When anyone from the accounting department dials in and launches a Windows terminal client, the user not only sees the standard desktop but also has access to the accounting application. Other dial-in users will not have access to the accounting application. Windows terminal Solutions are evolving rather rapidly and are well worth investigating, particularly in regards to remote employees.


CAUTION: Be careful how you deploy your Windows terminal solutions because they, like other thin clients, require powerful servers to make applications execute quickly on the remote clients.

Maintaining Security over Dial-Up Connections

Whenever you access a remote server over a dial-up phone line, you never really know who might be listening to your communications session. If you care about security, you can configure Dial-Up Networking to use data encryption for your password and data (see Figure 44.9).


NOTE: To use encryption, the computer that you are connecting to must support a compatible encryption format. Windows NT Remote Access Servers and many UNIX dial-up servers are compatible with the Windows 98 encryption methods. 

To configure a preexisting Dial-Up Networking connection to require encryption, as shown in Figure 44.10, follow these steps:

1. Double-click the Dial-Up Networking icon in My Computer.

2.
Right-click the appropriate Dial-Up Networking connection and click Properties.

FIG. 44.9 The Communications window.

3. Select the Server Types tab, making sure that the Type of Dial-Up Server type is PPP: Internet, Windows NT Server, Windows 98.

4.
Select the appropriate encryption settings. You can choose to encrypt just your password or encrypt your entire session.

5.
Click OK to save your settings.

Using a Windows 98 PC as a Dial-Up Server

You can use Windows 98 as a dial-up server, much like a Windows NT server or a Windows NT workstation. Unlike Windows 95, where Dial-Up Server was an extra-cost option, Windows 98 includes this feature in the standard package. To install the Windows 98 Dial-up Server component, use the following procedure:

1. Go to the Control Panel and launch the Add/Remove Programs applet.

2.
Click on the Windows Setup tab and highlight the Communications option. Select Details to launch the Communications window, as shown in Figure 44.10.

FIG. 44.10 The Communications window.

3. Check the box next the Dial-up Server option and click OK at the bottom of the window. From the Windows Setup page, click OK to tell Windows to copy the appropriate files to your system.

4.
Restart your computer for the changes to take effect. The Dial-up Sever component is now installed.

After your computer restarts, configuring it as a dial-up server is simple. Launch the Dial-Up Networking window and go to the Connections menu. Click once for the drop-down menu and choose Dial-up Server to access the Dial-Up Server settings page (Figure 44.11).

FIG. 44.11 The Dial-Up Server Settings page. Dial-Up Server configuration options are relatively simple:

FIG. 44.12 Modifying your Dial-Up Server type.

By default, your Windows 98 computer supports standard PPP connectivity, much like a Windows NT Remote Access Server. Or you can modify your server type on the Server Types page. In most cases, you should retain the default settings.

Using PPTP to Create Virtual Private Networks

Virtual private networking, or VPN, is a relatively new networking technology that enables you to access a remote network across the Internet or a network attached to the Internet via a secure encrypted connection. In Windows 98, VPN uses Point-to-Point Tunneling Protocol (PPTP) to create a secure tunnel to a PPTP or VPN server over Dial-Up Networking.


NOTE: When you use PPTP, your entire communications session, not just your authentication sequence, is automatically encrypted. 

With PPTP a person can easily avoid expensive long-distance calls when traveling or working from remote locations. If you use a national Internet service provider (ISP), such as MSN or CompuServe, you can access the Internet via local phone numbers from almost anywhere. From a remote location, all you need is a local access number for your ISP. After you dial your ISP, simply launch a VPN connection to connect to your corporate network across the Internet. This connection enables you to access the resources available through traditional Dial-Up Networking.

Although VPN support is native to Windows 98, it is not installed by default. To install VPN support, simply follow these instructions:

1. Launch the Control Panel, open the Add/Remove Programs applet, and go to the Windows Setup page.

2. Highlight the Communications option and select Details. At the bottom of the Communications options, you'll see Virtual Private Networking (see Figure 44.13). Select the check box next to this option and click OK at the bottom of the page.

FIG. 44.13 Communications options.

3. When you return to the Windows Setup page, click OK again. All necessary files are copied.

4.
Restart your computer to complete the installation of VPN support.

After VPN is installed on your machine, two new adapters will have been added to your Network properties. Figure 44.14 shows a machine with a standard dial-up adapter (as seen in Figure 44.9), as well as an additional Dial-up adapter to provide VPN support and the Microsoft Virtual Private Networking adapter that serves as the backbone for all VPN connections.

FIG. 44.14 Network properties with VPN support.

To make a VPN connection over Dial-Up Networking, you must first be attached to the Internet or to a private network that has access to the network you want to attach to. After you make your original connection, you need to make your VPN connection. To create a VPN connection, go to the Dial-Up Networking folder and follow these steps:

1. Launch the Make New Connection Wizard by clicking the Make New Connection shortcut. After the wizard is launched, name your connection appropriately. After naming your connection, move to the Select a Device field and choose Microsoft VPN Adapter from the drop-down list, as shown in Figure 44.15.

FIG. 44.15 Selecting the VPN adapter.

2. Click on Next to move to the VPN Destination window. When connecting to a remote network via VPN, you connect to a remote server in much the same way as you do when connecting to RAS. However, with VPN you're already connected to a network (or the Internet), so you simply connect to the server via its DNS name or TCP/IP address. On this page, you enter the VPN server's DNS name or IP address, as shown in Figure 44.16.

FIG. 44.16 Entering the VPN destination.

3. Enter the host name or TCP/IP address and then click the Next button. The next window tells you that you've successfully created your new connection. Click Finish at the bottom of the page to complete the process.

When your VPN connection is complete, you may modify its properties much like any other Dial-Up Networking connection. Go to the Dial-Up Networking window, highlight your VPN connection, and select Properties from the right-click drop-down menu. At this time, you have the option to modify the Host name, to modify the IP address, or to manage the Server Types configuration like a normal Dial-Up Networking. When your VPN connection is completely configured, you're ready to connect.

Using Dial-Up Networking on a Notebook

With the Dial-Up Networking capabilities of Windows 98, you can access other computers, a LAN, or even the Internet and World Wide Web through an ISP. This section covers notebook computer techniques for defining a location, connecting to a remote system, accessing an ISP, and auto dialing.

Defining a Location

Windows 98 provides an easy way to define your current location, which is particularly useful if you're traveling with your notebook computer. Connecting to remote locations while staying in a hotel, for example, can be done quickly by modifying your telephony location setting in the Control Panel.

To modify your location setting, use the following procedure:

1. Open the Telephony object in the Control Panel. The first time you open this object, Windows 98 asks you to select your Country/Region from a list and enter the Area Code of your home base. Then choose Next to display the Dialing Properties sheet (see Figure 44.17).

2.
Enter a name for your new location, such as Hotel, in the I Am Dialing From box. Then choose your new Country/Region, Area Code, any codes necessary for accessing an outside line, and your calling card information in this dialog box. Then choose New.

3.
Windows 98 tells you that your new location was created.

You can now ready to use your Dial-Up Connections as you normally do.

Connecting to a Remote System

You can use the Dial-Up Networking connection to access remote systems, such as your business's NT Remote Access Server, from any location. Simply double-click on your desktop's My Computer connectoid and choose the Dial-Up Networking connectoid. If you've already set up access to your remote system, it is listed among the Dial-Up Networking connectoids in this window. If you haven't already set up this connection, choose the Make a New Connection object and the wizard walks you through the steps. You end up with a Connect To dialog box similar to the one shown in Figure 44.17.

FIG. 44.17 Verify your remote connection settings before choosing Connect.

Before choosing Connect, verify your username, password, and phone number settings. If you have trouble connecting, confirm these settings with your system administrator. Also double-check your location parameters as described in the preceding procedure. After you establish a connection, you can share files and data as you normally would with the remote computer.

Using a Dial-Up Networking Script

Some ISPs require you to enter your username and password each time you access their service. Fortunately, Windows 98 supplies scripting tools for Dial-Up Networking so that you can automate this process.

You'll find details of the scripting language in a file called Script.doc, located in the directory where Windows 98 was installed (usually C:\Windows). This file contains instructions and examples for building a script that works with your service's logon screens. After you build a script, you need to assign it to a Dial-Up Networking connection.

Assigning a Script to a Dial-Up Networking Connection  

After building a script, you need to associate it with the Connectoid that you've already defined. Use the following procedure to assign a script to a Dial-Up Networking Connectoid:

1. Double-click the My Computer icon on your desktop and then click the Dial-Up Networking icon.

2.
In the Dial-Up Networking folder, highlight the object to which you want to assign your new script.

3.
From the menu of the Dial-Up Networking folder, select File, Properties. Windows 98 displays a Dial-Up Networking properties sheet. Then select the Scripting tab to show the Script Assignment page of this connection. It is similar to the one in Figure 44.18.

FIG. 44.18 Use the scripting tab of a Dial-Up Networking properties sheet to assign a script to a connection.

4. In the Script file box, enter the name and location of your script. Use the Browse button to find the script if you don't remember the exact location.

5.
If you want to check each step of the script, put a check in the Step Through Script box.

6.
Click OK to complete the process.

Your connectoid now has a script assigned to it that runs each time you activate that Dial-Up Networking connection.


Previous chapterNext chapterContents


© Copyright, Macmillan Computer Publishing. All rights reserved.