SECTION 1 

Internet Access over Dial-up Modem Connections 

PPP and SLIP allow one to establish an internet connection to a Internet Service Provider (ISP). For students and faculty, Aplcenmp acts, among other things, as an ISP. PPP and SLIP are protocols that let your PC converse with the internet over a telephone line and modems. Things like kermit and procomm only allow you to talk to a device at the other end, but not the internet in general.

Communications between your PC and another computer on the internet is done via Internet sockets. The software on the PC that provides this capability is called Windows Sockets or 'Winsock' for short. Packages which provide 'Winsock' typically also provide SLIP and/or PPP. There are many vendors that can provide a Winsock package, from commercial ($$), through shareware, to free (Windows 95). The Winsock package is usually in the form of a dynamic link library (DLL) file. 

Just as with older communications software such as procomm, and kermit, the internet communications software also needs a means of either manually or automatically dialing--i.e. a dialer. Finally, as with the older stuff, a "script" that you can run to put this all together is very desirable. 

Now as to what's available and how to get it-- 

Windows 95 comes with a Winsock library and dialer. However, if you want a script to automate everything, you'll need the package Plus! sold by Microsoft. 

There is a shareware package called Trumpet Winsock that has all the necessary components built in. I.e. 'winsock', ppp and slip, a dialer, and a scripting capability. Back in the days of Win 3.1 and WfW, Trumpet Winsock (shareware) or a commercial package (e.g. Chameleon) was the only way to get on the internet. Those versions of windows had nothing built in for dial-up networking, but now Windows95 has provided something called "Dial-Up Networks" to provide PPP capability across phone lines. 

In terms of advantages and disadvantage, I believe that the Trumpet Winsock package is much easier to set up than the Windows 95 Dial-Up Network package. One reason for this is that Windows 95 tries to provide every conceivable option for many different types of networks, and thus leads the user through a confusing maze of screens, panels, and sub-menus that often overlap or repeat settings. Also standard (non-Plus!) Windows 95 has no built in scripting capability, making it more difficult to run than Trumpet. The down side is that it time-bombs after 30 days at which time you would have to re-install it or register it for $25 to continue using it. However, it is a one-time registration that lets you register any and all updates thereafter. And it will run on win 3.1 as well as Windows 95. <Caveats: win32s, 32 bit apps, older vers. of Trumpet> 

The information you will need

The information you will need, regardless of which Winsock package you use, follows: 

DNS (Domain Name Server): 128.220.108.100 

Domain Name: apl.jhu.edu 

IP Address: this is assigned automatically by ISP 

Modem Characteristics: Init string, baud rate, comm port, etc. 

Type of Server or Protocol: PPP (Windows 95 w/o !Plus doesn't support SLIP) 

Login info: Login name, password, phone number

Beyond this basic information, you will need information for any scripting program that you use.

Steps to obtain and set up Trumpet Winsock for PPP 

1. Obtain a copy of Trumpet Winsock ver. 3.0 Revision A: 

This can be downloaded from Aplcenmp using something like Kermit or can be copied to a floppy by visiting the APL Center computer lab. The file to download or copy is /usr/public/binary/windows/Win95/Winsock/twsk30a.exe. 

2. Install twsk30d.exe: 

This is a self-extracting file. Simply store it in a temporary directory and execute it. (double-click from Explorer, or use Run on the Start Menu). Simply follow instructions. Note that it will save your Windows 95 versions of Winsock.dll and Wsock32.dll (16- and 32-bit versions of winsock) as Winsock.old and Wsock32.old, respectively. (See detailed discussions

3. Setup: 

As part of installation, you will be asked to fill in several forms that define modem and dialer characteristics, server characteristics, and login characteristics. Below gives the settings, though perhaps not in the order in which you will be asked.

Server Settings: 

IP Address: ignore this 

DNS server: 128.220.108.100 

Domain suffix: apl.jhu.edu 

Driver: ppp 

use defaults for remaining settings here.

Dialer Settings: 

Select the following choices: 

Hardware handshaking 

VJ header compression 

Auto re-dial on disconnect 

Login/logout on load/unload 

Standard SLIP/PPP settings 

Baud rate = 4 x your modem's rate 

DCD

Login Profile: 

Username: <your login> 

Password: <your password> 

Phone: <see Unix Info sheet> 

Modem Profile: These depend upon your modem. Try the 

defaults first and work from there.

Server Profile: 

Username prompt: sername: 

Password prompt: ssword: 

Command prompt: > 

Slip command: slip 

Slip response: 

PPP command: ppp 

PPP response: 

Select "Scan for IP address" don't select

For a "step-by-step" screen-oriented guide through the installation and setup of Trumpet Winsock, see Section 2. 

Steps to Setting up Windows 95 Winsock (Dial-up Networking) 

There are a couple of general areas that need to be walked through, each involving 3-5 windows and each duplicating a number of things from the others. Where Trumpet requires about 10 minutes to install and setup, the setup of Windows 95 Winsock can talk a couple of hours-or more, depending upon what's already set up when you start.

I. Network 

1. Open Control Panel (from My Computer or from Accessories).

2. Two entries, Dial-up Adapter and TCP/IP should be there. If not, select ADD. To add TCP/IP, select Protocol, then Microsoft and TCP/IP. The Dial-Up Adapter entry should already be there assuming 

"dial-up networking" was installed. If not, go back to your Windows 95 CD or Floppies and re-install. 

3. Once TCP/IP has been added to Network/Configuration panel, select properties.

4. Under TCP/IP Properties, select DNS Configuration and Add the DNS address 128.220.108.100. Domain is apl.jhu.edu 

5. Under IP Address, select "Obtain an IP address automatically".

II. Dial-Up Connection 

1. From My Computer, open Dial-Up Networking icon. (If icon isn't there, go back to Windows 95 and install it.) 

2. Under Dial-Up Networking panel, select Make New Connection. Follow the instructions from here. From here you have another opportunity to set up your modem if you haven't already done so for other applications. One thing to note is that you MUST select OPTIONS under Configure for modem. In the Options window under your modem's Properties panel, you must select "Bring up terminal window after dialing". THIS IS IMPORTANT!. The remaining default settings should work ok.

3. Continue with the Make New Connection setup, putting in the desired phone number.

III. Running Programs Using PPP/SLIP 

1. At this point, you should be ready to go, using either Trumpet or Windows 95 Winsock. CAUTION: Pick on installation or the other. DO NOT try to go back and forth-it's very painful. 

2. To establish a PPP connection under Trumpet Winsock, select "trumpet winsock" from Start/Programs. Note that there are some other TCP/IP applications under there also to test things out with. Dialing and connection will take place automatically. Look for the following sentence in the Trumpet Winsock connection window:

My IP address = 128.220.108.xxx

where xxx is assigned each time. Once that sentence comes out, you are successfully connected. You may now execute other TCP/IP applications such as ftp, telnet, netscape, Eudora mail, and so on.

3. To establish a PPP connection under Windows 95, double-click on the dial-up connection you defined while setting up Make New Connection. It will ask for login and password names and for phone number (or they'll be defaulted). After entering these, it will dial and upon connection, bring up a separate window just like dialing from Kermit would. Inside this window you must again enter your login name and password and the command 'ppp' at the '>' prompt. Then hit F7 to complete the PPP connection. If all goes well, you can now run various TCP/IP programs.

Finally, it is not necessary to explicitly form the PPP connection prior to running TCP/IP application. If you simply select, for example, Netscape, the dialing process and PPP connection will be performed automatically and once established, the application will then run. This is true for both Trumpet and Windows 95. 

Note that the TCP applications don't really care whose Winsock you are using between Trumpet and Windows 95. This is NOT true of other Winsocks, however. That is, some vendors don't follow the 'winsock' standard.

For a "step-by-step" screen-oriented guide through the setup of Microsoft's Dial-Up Network, see Section 3.

Once you have PPP capability, I would recommend that you next install a good ftp program (Windows 95 is command-line oriented like Unix). One very good one is 'cuteftp32.exe under /usr/public/binary/windows/Tcptools on Aplcenmp. 

Use Windows 95's command line ftp to download this (or kermit or floppies). 

Place in a temp directory and execute it (it's self-extracting/self-installing). 

Other recommendations for programs to download from Aplcenmp are:

winzip (files winzip95_61.exe, wzspnb32.exe, and wzun95.zip for uncompressing .zip files). Under /usr/public/binary/windows/Win95/Apps 

ewan105 (a good windows-oriented, customizable, telnet program). Under /usr/public/binary/windows/Tcptools.

g3230p.exe (Netscape Gold, ver 3.0; self-extracting; under /usr/public/binary/windows/Win95/Netscape).

Note that it is a good idea to install these programs under some common directory just to keep things tidy on the C: drive. Something like "Comms" or "Internet" might be appropriate. 

SECTION 2 

Trumpet Winsock Installation and Configuration for Windows 95

1. The first step is to obtain a copy of twsk30a.exe, Trumpet Winsock version 3.0a. This can be downloaded from /usr/public/binary/windows/Win95/Winsock on Aplcenmp or you may visit the Web site of Trumpet (http://www.trumpet.com.au). Once you have the above file on your system, either floppy or hard drive, execute the file (it's self-extracting). Execution can be from START/RUN or from File Explorer by double-clicking on the file icon. The following series of windows will then appear, guiding you through the installation process.

2. Select Install.



3. As with any other program that you might install, make sure there aren't any copies running. Then select OK. 




4. For those of you that might have an old version of Trumpet Winsock, you may see this dialog box. Clicking OK will update your old version.

 

4. This step will rename existing Winsocks on your system. Typically there will be C:\windows\winsock.dll and C:\windows\system\wsock32.dll as part of Windows 95. These are used by Microsoft's dail-up network. They will be renamed by using suffix '.old'. This ensures that Trumpet's Winsock DLL files will be used instead. They remain in the trumpet directory where you install this software. If you select Yes, the old winsocks are recoverable by renaming them.






5. The dialog below allows you to select a directory to install Trumpet. The path indicated is just an example.







6. This is fairly explanatory and default works well.

7. Again, the changes implied by the following dialog box are reversible. It merely adds a path to your Trumpet directory selected in step 5 above so that the Winsocks may be found.







8. Below, the dialog box shows the changes that may be made to your autoexec.bat. You're given a chance to save your old version of autoexec.bat-a wise idea. In the example contents of the two windows, the line that would differ is the SET PATH = …..



Configuring Trumpet Winsock

9. Given that you've allowed the installer to rename the old Winsocks and to modify your autoexec.bat file, Trumpet Winsock should now be installed. The next series of steps are used to configure Trumpet. If you decide to configure later or make changes later to what you configure now, this can be done at any time. However doing it now will allow you to use this document to guide you.








10. Remember, this is Shareware. After trying it for 30 days, it will time out unless you register. Registration cost is $25 and will continue in effect for all future versions (or has so far). If you already have a registered version, you may re-register without charge.









11. The main Winsock setup window. Using the values as they're shown below will ensure a working PPP connection to the Aplcenmp system communications server. Only the DNS server(s) and Domain suffix are different from the defaults.







12. From the above dialog box, you can set up the Dialer as shown in the box below. Be sure to enter the correct COMM port and Baud rate. Baud rate is generally 4*modem rate so that a 14,400 baud modem would have a setting of 57,600. The other settings are recommended from experience. You may modify these to suit your own environment, but I'd recommend that you know why you are changing them and that the results will be what you want.

13. After selecting OK in the dialer settings dialog box, you will return here. Again select OK to continue with the rest of the setup.







14. The next step is to enter your login information on the as used on Aplcenmp (or other Internet Service Provider). The Username and Password are those you've selected or been assigned via your student account (or ISP). For phone numbers, refer to the Unix Information sheet or Communications sheet available in the PTE Center computer labs.



15. From the above dialog box, select Modem Settings to set up your modem commands. The example commands shown in the box below are for a US Robotics Sportster. You may need to tailor the Init string for your modem. The reset, dial, and hangup strings are standard Hayes-compatible commands. For those of you with US Robotics, m0 = speaker off, &c1=normal carrier detect operation, and &k1=auto enable/disable data compression.



16. The final dialog box for setup is the Server Profile. It is this box that characterizes what commands and responses your computer must issue and wait for from the Communications server of your Internet Service Provider. The contents filled in will work correctly for the Aplcenmp system communications server. For other ISPs, you will have to find out the correct entries. You may do this using the Manual Login of the Dailler pull-down on the Trumpet Winsock window. Note, especially, that the Scan for IP address box is not checked. This box is for slip only, while the Winsock Setup window specified ppp (step 11).



17. Self-explanatory.

 

18. The reason for restarting the computer is so that the new autoexec.bat will be in force (that is the path to the Winsock DLL files for Trumpet will be in effect). Once your re-boot completes, you will be ready to establish a ppp connection and put your PC on the internet!






19. The Trumpet Winsock installation will create a program group as shown below. Besides the Trumpet Winsock icon itself, there are also a number of TCP/IP utilities that you may want to play with. Ping, for example will let you easily test our your ppp connection. Note that you MUST have established a ppp or slip connection prior to using any TCP/IP program, including those in the program group, Netscape, FTP, Telnet, Internet News, Eudora Mail, etc. 












20. Finally, the Trumpet Winsock window as it appears when Trumpet Winsock is selected from the above program group. If you wish to change any of the configuration settings, you can do that from this window. 

The Setup dialog box can be found from File/Setup, while the Dialler/Settings selection will provide access to the Dialer Settings and Dialler/Profile selection will provide access to the Login, Server, and Modem settings. One final suggestion: browse through the Help menus, there is a lot of very useful information in there. Happy surfing!

 

SECTION 3 

Setting up the Dial-Up Network for PPP/SLIP 

1. Open the control panel and select Network. 



2. From the Network panel, select Dial-Up Adapter.



3. From Network Component panel, select Protocol



4. From Network Protocol panel, select Microsoft and TCP/IP.




 

5. After selecting OK, from previous panel, Network panel reappears. Must now establish properties of the two components. 

6. From Network panel, select TCP/IP and then select Properties.





7. In TCP/IP Properties panel, select DNS Configuration and enter in the information as shown below left. Then select IP Address and make sure Obtain an IP address automatically is selected.

 








8. Back to the Network panel, we must now set up the Dial-Up Adapter component. 




9. The Dial-Up Adapter Properties panel has three property tabs. Under Driver Type tab, make sure Enhanced mode (32 bit and 16 bit) NDIS driver is selected. Under Bindings, be sure the TCP/IP selection is made. This ensures that your dial-up session will be using TCP/IP protocols (i.e. PPP/SLIP). Finally, under the Advanced tab, make sure that IPX Header Compression will be used. 

 

 

Setting up the Dial-Up Connection

1. From the My Computer window, open the Dial-Up Networking panel by double-clicking on that icon. 

2. To create a dial-up connection, double-click the Make New Connection icon.
















3. In the Make New Connection panel, enter a name to identify this connection. Some examples might be "KCCF" or "School" or "JHU PTE", etc. Then from this panel, you can configure your modem by selecting Configure



4. The modem Properties panel has three tabs. The examples below show the settings used for a 28,800 Robotics Sportster modem. The General tab allows specification of comm port, speaker volume, and baud rate. Note that because of the compression that today's modems can achieve, the maximum baud rate is typically four times the specified baud rate. Hence 4 x 28,800 = 115,200. The Connection tab allows various dialing characteristics to be set. The defaults are generally fine for this panel. Finally, the Options tab allows several other controls to be set. The primary thing to note here is to make sure the Bring up terminal window after dialing box is checked. 

 





 

5. Selecting OK on the modem Properties panel returns you to the Make New Connection panel (actually this is a Windows 95 wizard). Select Next to move to the next step to create a connection. The following panel appears. Note that the phone number entered represents calling from the Baltimore area. Now continue on through the rest of the wizard to complete the establishment of a connection. 

2. From the Properties dialog box, select Server Type. 

1. Select Dial-up Networking from "My Computer". Select your defined dial-up icon, and 

open Properties. 







4. The TCP/IP Settings dialog box should look like this. Note especially Server assigned IP address is selected and so is Specify name server addresses

3. The Server Types dialog box should have the settings shown. Note the PPP: Windows NT 3.5, Internet settings. Now select TCP/IP Settings.