Realizing that the Internet and online services were becoming popular, Microsoft used Windows 95 to stake its claim on the Internet. First, Microsoft included the software for its own online service: The Microsoft Network (MSN for short). Microsoft
also
built Internet support into Windows 95 with a feature called Dial-Up Networking.
Dial-Up Networking provides the TCP/IP software and the dialer you need to connect to Microsoft's own Internet service provider or to another service provider in your calling area.
To make it even easier to connect to the Internet, Microsoft has created the Internet Setup Wizard, a series of dialog boxes that lead you step-by-step through the process of setting up Windows 95 for the Internet.
In this chapter, you learn how to connect to the Internet with Windows 95, with or without the help of the Internet Setup Wizard. You even learn where to get a copy of Internet Setup Wizard for free.
If you're like most people, you'll try to set up your Internet connection at midnight, when nobody is around to bother you with the mundane things in life. . .like sleep. The trouble with this approach is that if you don't have everything you need, you
can't run out and get it or call your service provider for help.
Before you start, make sure you have the following essentials:
TIP
If your service provider did not specify a subnet mask, you can usually determine it yourself from the first three digits of your IP address. If the first three digits are 1-126, the subnet mask is 255.0.0.0; 128-191, 255.255.0.0; 192-223, 255.255.255.0.
There are two general types of Internet connections: indirect (terminal) and direct. You need a direct connection to use any fancy Internet programs, such as Internet Explorer 3.0.
The two most prevalent types of direct connections are SLIP (Serial Line Internet Protocol) and PPP (Point-to-Point Protocol). The most important difference between SLIP and PPP, as far as Windows 95 is concerned, is that SLIP is a royal pain to set
up,
but setting up a PPP connection is relatively easy.
If you have an existing SLIP account with a service provider, change it to a PPP account. If the service provider does not offer PPP connections, change service providers. Although this chapter explains how to set up Windows 95 to use SLIP, I strongly
recommend that you establish a PPP account, instead.
If that's not enough to convince you to call your service provider and change your account, here are a couple additional reasons:
Other than the difference in ease of use, PPP and SLIP accounts are fairly similar. Both types of accounts enable you to use client software (such as an e-mail program or Web browser) on your computer to access the Internet. In terms of speed, both
connections will seem just as fast to the average user.
As soon as Microsoft had developed Internet Explorer 1.0, Microsoft started selling it and giving it away. It became part of Microsoft Plus!, the add-on package for Windows 95. Microsoft also made Internet Explorer 3.0 available at its Internet site,
and included it in the Internet Jumpstart Kit (complete with a book).
To help users connect to the Internet in Windows 95, Microsoft developed a companion for Internet Explorer, called the Internet Setup Wizard. Both programs are stored in a single file on the CD at the back of this book. When you run the file, it stores
both programs on your hard drive and displays a single icon, named The Internet, on the Windows desktop.
The first time you double-click on The Internet icon, it runs the Internet Setup Wizard, which leads you through the process of setting up your Internet account. After your account is set up, whenever you double-click on The Internet icon, Windows runs
Internet Explorer 3.0 and displays a dialog box prompting you to enter your user ID and password.
Although configuring Windows 95 for the Internet is not all that difficult, Internet Setup Wizard makes it a no-brainer. It leads you step-by-step through the process of establishing your Internet connection. It displays a series of dialog boxes
prompting you to enter each essential piece of information from your service provider.
But that's not all the Internet Setup Wizard is good for. It also does the following:
NOTE
There are no real drawbacks to using the Internet Setup Wizard. Some people don't like the fact that The Internet icon automatically runs Internet Explorer 3.0. However, if you want to connect to the Internet without using your Web browser, you can double-click on your connection icon in the Dial-Up Networking window or create a shortcut on the desktop.
The Internet Setup Wizard steps you through the Internet setup, but you have to install it first. The instructions in Appendix E, "About the CD-ROM," explain how to install the programs from the CD that accompanies this book. With Windows 95
AutoPlay, simply insert the CD and follow the on-screen instructions.
The following steps show how to run the Internet Setup Wizard and what you can expect along the way. However, Microsoft is constantly updating and improving the Internet Setup Wizard, so the steps may differ depending on the version you're running:
The trouble with wizards is that you're never sure what they do behind the scenes. Here's what the Internet Setup Wizard has just done on your computer:
TIP
Although Internet Setup Wizard is the easiest way to configure Windows 95 for the Internet, you can also use Windows 95's help system. Select Help from the Start menu, click on the Index tab, and type internet. Double-click on Connecting to. This starts a series of dialog boxes that lead you through the process of connecting to the Internet.
Using the Internet Setup Wizard is, by far, the easiest way to configure Windows 95 for the Internet. However, if you run into problems, or you need to troubleshoot a glitch, you should know how to set up a PPP or SLIP connection yourself.
The following sections explain the various steps required for establishing a PPP or SLIP connection. I must warn you that the process is fairly tedious (especially for a SLIP connection), but it's not difficult.
TIP
If you have a SLIP account and Windows 95 on floppy disks, don't bother with the following sections. SLIP support comes only on the Windows 95 CD. If you can't change to a PPP account, contact Microsoft's customer service department and ask about obtaining the SLIP files you need.
If, when you installed Windows 95, you chose the default installation, you don't have one of the essential components for connecting to the Internet: Dial-Up Networking.
Check to see whether Dial-Up Networking is installed. Double-click on the My Computer icon. In the My Computer window, look for the Dial-Up Networking icon. If it's not there, take the following steps to install Dial-Up Networking:
When you're finished, you should have a Dial-Up Networking icon in your My Computer window.
To use Dial-Up Networking for your Internet connection, you must bind it to the Internet communications protocol TCP/IP. Take the following steps:
Now that you've bound Dial-Up Networking to TCP/IP, you must enter the connection information from your Internet service provider. This includes the IP address of your computer, the address of the DNS (Domain Name Server), and the gateway and subnet
mask (if your service provider specified this information). After you've acquired the information, take the following steps to enter it:
If you run into trouble connecting to the Internet for the first time, repeat these steps and check your entries. A minor typo in your IP address or the DNS address can disconnect you.
You've done all the groundwork for establishing your Internet connection, but the ultimate goal is to have an icon you can use to connect to the Internet. You create this icon in Dial-Up Networking. Take the following steps:
An icon appears in the Dial-Up Networking window. If you have a PPP account, this icon is your key to the Internet. If you double-click on the icon, the Connect To dialog box appears, prompting you to enter your username and password. After you enter
this information and give your OK, Dial-Up Networking dials into your service provider and establishes a connection (assuming everything works correctly).
If you have a SLIP account, however, you must perform a few additional steps; you must install Windows 95 SLIP support and specify that you're using a SLIP account. Skip ahead to the next section, "Extra Steps for SLIP Connections," for
details.
NOTE
Some service providers support automated PPP logins using a technology called PAP (Password Authentication Protocol) or CHAP (Challenge Handshake Authentication Protocol). If your service provider does not support automated logins, you need to have Dial-Up Networking display a terminal window after dialing. Right-click on the icon you just created and click on Properties. Click on the Configure button, and then on the Options tab. Click on Bring up terminal after dialing, and click on OK.
Windows 95 tries hard to ignore SLIP and pretend that the only way to connect to the Internet is to use a PPP account. However, if you don't live in a major metropolitan area, the only service provider in your area might offer only SLIP service.
NOTE
SLIP support is available only on the CD version of Windows 95. If you use disks, start shopping for a service provider that offers PPP support.
If your service provider offers only SLIP accounts, and you have the Windows 95 CD, you can install support for SLIP connections. Take the following steps:
Figure 4.11. Make sure SLIP and scripting for Dial-Up Networking is checked.
Now that Windows 95 has SLIP support, you can easily change the properties of the Dial-Up Networking icon you created earlier (in the section "Making a New Dial-Up Networking Connection"). Take the following steps:
You can now double-click on the icon you created, to display a dialog box that enables you to connect to your service provider.
TIP
You don't want to have to open the Dial-Up Networking window whenever you want to log in. Right-drag the icon you created over a blank area of the Windows desktop, release the mouse button, and click on Create Shortcut(s) Here. This places a clone of the icon in easy reach.
You should now have an icon for connecting to the Internet. If you used The Internet Setup Wizard, you have an icon called The Internet on the Windows desktop. If you created the icon yourself, it's in the Dial-Up Networking window, unless you created
a
shortcut for it on the Windows desktop.
Whichever icon you have, you can double-click on it to connect to the Internet. If you chose to use The Microsoft Network as your service provider, the Sign In dialog box appears, asking for your Member ID and Password (see Figure 4.13). If you are
using a different service provider, the Connect To dialog box displays your Username and Password (see Figure 4.14). In either case, enter the requested information, and then click Connect. (If you are using a terminal window to log in, you do not need to
enter your name and password; you will do this inside the terminal window.)
Figure 4.13. The Microsoft Network Sign In dialog box.
Figure 4.14. The Connect To dialog box, used for other service providers.
If you have a PPP connection that accepts PAP or CHAP automatic logins, your computer and modem should take care of the rest. The Connecting To dialog box displays a series of messages, indicating the progress of the login, and then the Connected To
dialog box appears, indicating that the connection has been established (see Figure 4.15).
Figure 4.15. The Connected To dialog box shows that the connection has been successful.
If you set up your connection to display a terminal window after dialing, a small terminal window (which looks a little like a DOS window) should appear and prompt you to enter your username. Type your username, and press Enter. Another prompt should
appear, asking for your password. Type your password and press Enter. You should now be connected.
After you are connected, you can run Internet Explorer 3.0 or any of your Internet programs. When you're finished, you should disconnect to avoid using up your connect time and preventing other users from connecting. To disconnect, simply click on the
Disconnect button.
If you have trouble connecting for the first time, wait five minutes and try to connect again. If you are trying to connect during a busy time, or you experience line noise, the remote connection might drop you.
If you still can't connect, check the service provider's phone number and your username and ID. Most connection problems can be fixed with a little careful typing.
If you just started your account, check to make sure that your service provider has set up the account. It might take the service provider a couple days to initiate the account.
Make sure you have selected the right type of service: PPP, SLIP, or CSLIP. To check, right-click on the icon you created in Dial-Up Networking, and click on Properties. In the dialog box that appears, click on Server Type. Open the Type of Dial-Up
Server drop-down list, and select the server that matches your account. Look under Allowed network protocols, and make sure there is a check mark next to TCP/IP. Click the OK button, and then try connecting again.
Still can't connect? Jump back to the section called "Troubleshooting Common Connection Problems," at the end of Chapter 3.
TIP
If you're using a modem and it is not even dialing, you can use the Windows 95 modem troubleshooter to track down the problem. Open the Start menu, and select Help. Click the Index tab, and type trouble. Under troubleshooting, double-click on modem problems. Follow the instructions.
As explained earlier, SLIP accounts and some PPP accounts do not enable Dial-Up Networking to automatically enter your username and password. This forces you to take another two or three steps each time you log in. Do you have to live with this
inconvenience? No! You can create a script that enters the login information for you.
CAUTION
If your computer is easily accessible to colleagues, roommates, or family members, whom you do not want using your Internet account, don't write a login script. This script will include your username and password, making your Internet account accessible to anyone who sits down at your keyboard.
If you installed the Windows 95 SLIP support, as explained earlier in this chapter, you have a program called Dial-Up Scripting, which you can use to run scripts. To create a script, use Windows Notepad, and save the script using the .SCR extension.
Here's a sample login script:
proc main waitfor "sername: " transmit "mkravitz" transmit "^M" waitfor "assword: " transmit "xr23874z" transmit "^M" endproc
Using this sample, type your own login script in Notepad. You must use the commands proc main and endproc to begin and end the script. Replace sername: and assword: with the prompts that your service provider displays when asking for your name
and password. For example, if your service provider displays Login: replace sername: with ogin:. (First characters of variable names, such as Login and Username, are commonly omitted to avoid discrepancies in capitalization.) Also, replace mkravitz with
your username, and replace xr23874z with your password. Save the file and name it, giving it the extension .SRC.
Now, set up the script to run automatically. Take the following steps:
The script is assigned to your Internet connection. The next time you double-click on the icon for connecting to the Internet server, the script will run automatically and log you in.
If you have trouble with the script, run the Dial-Up Scripting tool again, and click on the name of the connection that uses the problem script. Select Step through script to turn the option on, and select Start terminal screen minimized to turn this
option off. Now, when the script runs, you'll be able to see it and figure out which command is causing the script to abort. Edit the script in Notepad.
This was probably one of the most difficult, long-winded chapters in this book. However, you can't do anything on the Internet until you are connected. Because service providers vary in their levels of tech support, I wanted you to have all the tech
support you needed right here.
Now that you're connected, let the games begin! The next chapter shows you how to install Internet Explorer 3.0 (although you've probably installed it already) and how to configure it to give it the look and feel you like. I'll even show you how to
soup
it up for optimum performance.