Windows 3.1x with Trumpet Winsock

Trumpet Winsock is the base layer program that lets client programs such as Netscape or Mosaic communicate through your modem to our Internet server machine and then on to other machines on the Internet. After it is installed, it does nothing but dial our number and execute a script file to log into your Internet account. But, before installing Trumpet Winsock, you need to make one change in Windows.

We have found that certain versions of Trumpet Winsock don’t always send the proper settings automatically to Windows. For this reason, it is a good idea to set the COM port to hardware flow, using the Windows Control Panel. Do this by double clicking Control Panel (usually in the Main group), double click Ports, then click the COM port you are using. Click Settings, and change the Flow Control to Hardware.

To install Trumpet Winsock, use the Windows File Manager and double click on the SETUP.EXE program in the temporary directory where you've run and decompressed the MIDTOWN.EXE file, or if we have given you the Winsock files on diskette, click the floppy drive icon, then SETUP.EXE from the diskette’s directory. You can also use FILE-RUN from the Program Manager and enter "c:\(tempoary directory)\setup" or "a:setup". The SETUP program will create a directory, copy the necessary files to that directory, create a program group called Winsock Clients, and make the TCPMAN program available within that program group.

At the end of the installation, you will be given the option to add the new directory to your DOS path by editing your AUTOEXEC.BAT file. Look for the "path" statement, and add the new directory to the end of the line, as shown in the example below:

Old path statement is: PATH C:\DOS;C:\WINDOWS

New path statement is: PATH C:\DOS;C:\WINDOWS;C:\WINSOCK

This is only an example and your path statement will probably look different. The new directory, C:\WINSOCK, needs to be in the DOS path so that the WINSOCK.DLL file can be located when needed by the various Winsock client programs. Click at the end of the existing line, and add the new directory as shown. Don’t forget the semicolon (;) between the end of the current path, and the new directory entry. Choose FILE-SAVE, then FILE-EXIT. You will also need to reboot your computer to make the new path active. The installation program will ask if you would like to reboot now. Choose YES, and let your computer reboot, then restart Windows. After Windows is restarted, you'll have a new program group called Winsock Clients with the Trumpet Winsock program icon added to it.

Double click the Trumpet Winsock icon. Choose FILE-PPP Options. Check the option to use PAP authentication. Enter your username and password and click Okay.

Next, choose FILE-SETUP and check the screen for the following information. If your modem is NOT on COM2, change the SLIP Port to whatever COM port you are using (usually 1 or 2). If you have requested a STATIC IP address, change the first field (IP Addresss) to the address we have assigned to you.

IP Address: 0.0.0.0

Netmask: 255.255.255.0

Default Gateway: 205.162.100.1

Name Server: 205.162.100.2 205.162.100.5

(only the first few numbers of the second group, 205.162.100.15, will show in the entry box)

LEAVE EVERYTHING ELSE IN THE UPPER PART OF THE SCREEN (Time server, MTU, etc.) AS IT SHOWS, EITHER BLANK OR THE DEFAULTS!

Check the bottom part of the screen for these settings:

Internal PPP: checked

SLIP Port: 2 (this is the same as COM port)

Baud rate: 57600 (for 14.4k modems, 115200 for 28.8k modems)

Hardware Handshake: checked

Van Jacobson CSLIP Compression: checked

DCD (RLSD): checked

Close Trumpet Winsock and then double click the icon again to restart. Clicking DIALER-LOGIN will run the LOGIN.CMD script. The first time you run the script, you'll have to enter our phone number, your username, and your password.

Phone numbers: 431-2040, Sacramento (ours, not yours as the program says); 605-5000, Roseville/Citrus Heights/Rocklin; 632-9946, Loomis/Auburn

Username: <username> (this is your username that you've told us to use for your account)

Your password: xxxxxxxx (the password we’ve given you)

After entering your password, the script will dial the system and log you in! If everything works, you'll see the username and password prompts, then:

Script completed

PPP ENABLED

If you get this far, you'll know that everything is installed correctly. In the future the dialer will call our number and you should be logged in with the script file. Minimize the Trumpet Winsock program and run Internet Explorer, Netscape or any other client program that you've installed. See ADVANCED TOPICS below for a method of automating the log on process.

If the script does not complete normally it will report "script aborted". Note at what part of the log on process this occurs. If it is after the username and password, double check what you have entered for the username and password by running SETUP.CMD (at the bottom of the Dialer menu) again.

To log out of the system, double click on the Trumpet Winsock icon to bring back the window (if minimized). Click DIALER-BYE. You will see some modem commands, then Script completed, SLIP ENABLED when you are logged off. This alerts you that another login is possible. To end click FILE-EXIT.

After you finish the installation, you can delete the files in your temporary directory, although you may want to keep MIDTOWN.EXE (or the diskette) in case you need to reinstall the Trumpet Winsock programs.

 

Advanced Topics

The Trumpet Winsock program can be made to automatically execute the LOGIN script when started. Choose DIALER-OPTIONS if you want to experiment with this. Most client programs will automatically start the winsock, so if you set Trumpet to dial when started, you'll be able to, for example, click on the Netscape icon which will start Trumpet, dial the system, log you in, then put you into Netscape. When you close Netscape, Trumpet will automatically run the BYE script to log you off the system.

 

Installing Netscape Navigator

If you have the 2-disk set for Netscape you’ll need to exit Windows and run a batch file to copy the files to a temporary directory on your hard drive. Exit Windows either by using File-Exit, or "drop out of Windows to DOS" by double clicking on the MS-DOS icon (usually in the Main program group).

From the C:> prompt, type a: [enter] (or b: if your 3 drive is set for drive b)

From the A:> prompt, type install a: c: [enter] (or install b: c:)

This will run a very simple batch file that will first make a temporary directory on your hard drive called "midtown", then copy the files from both diskettes to that directory. After this is finished, exit the DOS prompt by typing "exit" (or restart Windows by typing "win"). Use File-Run, then enter "c:\midtown\setup" in the dialog box to install Netscape.

If you download Netscape from the BBS, you'll find the current version in file area 3. Use the NS16 (16-bit) version for Windows 3.1, and the NS32 (32-bit) version for Windows 95. Put the file in a temporary directory and install as above.

When prompted for a directory to put the Netscape files in, take the default, NETSCAPE. When prompted for a program group, don't take the default, scroll through the selection box until you find the Winsock Clients group. Make sure it's highlighted and then click Continue.

Netscape will install and make an icon in the Winsock Client group. When given the option to read the README file click Yes if you’d like to browse through it or print it for future reference.

TIP: At the end of the installation, you’ll be asked if you want to log into the Netscape home page to complete the installation process. You don’t really need to do this. And until you are sure that the TCPMAN (the Winsock program) is working, it’s better to not try and do this.

Start TCPMAN and after connecting to the system, double click on the Netscape icon and begin to browse the World Wide Web! You will initially see Netscape’s home page, which you can use as a starting point to many other sites. There is also on-line documentation for Netscape, as well as other interesting information. Have fun!

Another Netscape TIP: When you start the Netscape program, by default it will try to log into the Netscape company’s home page. Their server can sometimes be very busy, and it will take some time to get through to it. You can change the setting so the program will NOT log into the home page by choosing OPTIONS-PREFERENCES, then STYLES tab. To not load any page, click Start With: Blank Page. Or, you can change the home page to something else. A good one would be OUR web page! Enter http://www.midtown.net as the starting page. The Netscape home page can always be found using the main menu command, DIRECTORY-NETSCAPE’S HOME.

 

Tips, Tricks and Trouble Shooting

Trouble with Trumpet Winsock

There are a number of things to check. First, if you have downloaded the TWSK21F.ZIP file, the LOGIN.CMD script needs to be customized for logging into our system. Use the link on our web site to obtain the correct script file. Download this file, delete the login.cmd that you have now, and rename newlogin.cmd to login.cmd.

The modem initialization in the script file is just a minimum setting, but will work for most of today’s modems. If your modem needs to be initialized differently, you will need to edit the login.cmd script to send the proper codes when it is run. You can probably find the proper initialization string for your modem in the terminal program you are using. Write down the initialization string, then in TCPMAN use DIALER-EDIT SCRIPT, then choose login.cmd. Find the line:

$modemsetup = "&C1&D2" (about 20 lines from the beginning)

Between the quotes, add the proper initialization, for example:

$modemsetup = "&C1&D2&K3"

Older modems may not respond properly with the &K3 code. If you see an error just after the AT when running the script, try deleting the &K3. Also, US Robotics use another setting, which is &H1&R2. Don't use &K3 with US Robotics modems.

If the script is not working, but you can manually log on, it's possible that the username and/or password was not properly entered. Choose Dialer, then "run" the SETUP.CMD script by double clicking on it (at the bottom of the list). Running this script will let prompt you again for the phone number, username and password. As a last resort, you can close the TCPMAN program and delete the TRUMPWSK.INI file from the Winsock directory. Restart TCPMAN, and redo the username and password. You will also have to re-enter the IP addresses, and com port information.

If you can get on the system, but client programs like Netscape don't seem to be working, double check the IP numbers entered in the TCPMAN setup. Refer to the begining of this document for the proper settings. If you have a static IP, it will show in the IP Address, and the Netmask should always be 255.255.255.0. To change the IP addresses, turn off the protocol (Internet SLIP or PPP), make the changes, then turn the protocol back on before exiting.

Until you get Winsock set up, be sure that the "No automatic login" radio button is selected, in the Dialer, Options menu. Also, if you are manually logging on, be sure to hit the ESC key to enable the slip connection after you see the "Your address is ....". TCPMAN will show SLIP ENABLED after you hit the Escape key. And, if you are manually logging on, and you don’t have a fixed IP address, you’ll have to note which IP is assigned to you for this call, then click FILE-SETUP, enter that number for the first IP address field, click OK, then RESTART TCPMAN to make the IP active. The modems will stay connected as you close and restart. If you don’t do these steps, the IP address on your machine won’t match the IP on ours, and none of the client programs will work properly.

 

Installing E-Mail Programs

Mail clients like Eudora and Pagasus and the e-mail part of Netscape need to know the SMTP and POP3 machine names within our network. These names are shown below. We have found that entering an IP address rather than the name will confuse the server - use the names, not the IP. If your outgoing mail is being rejected or you are not being allowed to log into the mail server, check these settings.

 

Netscape (version 2.0)

Click Options on the menu bar, then choose Mail and News

Click the Servers tab and enter:

SMTP Server: mail.midtown.net

POP Server: pop3.midtown.net

POP User Name: <username> (your logon account name, WITHOUT our domain name)

Mail Directory: (use the default setting)

Be sure that the "Removed from the Server" radio button is selected

If you want Netscape to check for mail while you are on-line, enter an amount of time (in minutes)

NNTP Server: news.midtown.net

News directory: (use the default setting)

Click the Identity tab and enter:

Your name: (your real name)

Your e-mail: <username>@midtown.net

Reply-To address: <username>@midtown.net (same as above)

Organization: (your preference, can be company name, etc.)

Signature File: (Special text file that is appended to all outgoing mail. See the on-line Netscape manual for more information.)

Click the Organization tab and enter:

Remember Mail Password - checked (this will save your password so you won’t have to enter it each time you check for mail)

Click OK to get back to the main Netscape screen. Click on the envelope icon in the lower right corner to check for mail. Enter your password when propmted. This is the SAME password as you use to log into the system.

 

Pegasus (version 2.x)

After installing the program, click FILE-NETWORK CONFIGURATION menu, and enter the information as shown below. Substitute YOUR username for <username> without the brackets! If the NETWORK CONFIGURATION choice is grayed out or is not active, click FILE-PREFERENCES-ADVANCED SETTINGS, and be sure that the Load WINSOCK On Demand is checked.

TCP/IP timeout value: 60 to 120 seconds

POP3 host: pop3.midtown.net (the pop3 machine)

Username: <username> (your username, without the domain name)

Password: (same password as you used for log in)

Delete retrieved mail on host: Yes

Poll new mail: 300 (5 minutes)

Relay host: mail.midtown.net (the SMTP machine)

From field: <username>@midtown.net (your username plus our domain name)

Pegasus has an option to "delete retrieved mail on host" which should be checked. That way incoming mail is transferred to you, then deleted from your file on our server and you won’t get delivered to you again.

The other settings are up to you, and are mainly preference and display settings. The FILE-PREFERENCES-GENERAL and ADVANCED menus have settings that you may want to look at. Pegasus does have very good, context-sensitive, on-line help. Click HELP on the main menu for help about each screen you are in.

 

Eudora Light (version 1.5x)

From TOOLS-OPTIONS, or when Eudora is run the first time:

Getting Started

POP Account: <username>@pop3.midtown.net (your username plus the pop3 machine)

Real Name: (your real name, if you want it to be included in the FROM field)

Winsock (network, PPP, SLIP) - checked

Personal Information

Return Address: <username>@midtown.net (your username plus our domain name)

Hosts

SMTP Server: mail.midtown.net (the SMTP machine)

Ph Server: (leave blank)

Finger Server: (leave blank)

Checking Mail

Save password - checked

Leave mail on server - not checked

Advanced Network

Network timeout after: 60 to 120 seconds

Step through the setting options on the left side. The items above are the necessary items to make Eudora work, the others are your preference or display, and are up to you.

 

Other Client Programs

FTP, Archie clients

Typically the only thing to enter with these is your e-mail address as the password. DON'T USE YOUR LOGIN PASSWORD! By convention, anonymous FTP connections expect you to enter your e-mail address for audit purposes. WS_FTP and CuteFTP are two of the better FTP client programs.

 

IRC (Internet Relay Chat)

Some IRC clients come with a list of IRC servers, some don't. The IRC server is a machine on the Internet that is actually handling the IRC traffic. It is NOT our machine, don't enter our domain name. Some IRC servers you can try:

irc.texas.net

irc.colorado.edu

irc.funet.fi

poe.acc.virginia.edu

The other settings in an IRC client are your email address, a nick name, the port (which is almost always 6667), and your real name. The WSIRC program in file area 3 includes basic help text. The mIRC program includes less, and is a simpler program.

 

USENET News

To access the news server for Usenet news, you will need to have a news reader client program. There are several available, three of the best in the Internet file area. Free Agent probably has the most features, WinVN is more streamlined, while News Xpress is somewhere in the middle. All will install without difficulty.

After installing the news reader, use its configuration settings to tell it the name of our NNTP server (news.midtown.net). DO NOT USE A USERNAME OR PASSWORD. Some configuration settings will ask you for this - just leave them blank. Our news server software DOES NOT look for a password. It knows by your address that you are part of midtown.net, and therefor authorized for access.

Netscape has a news reader built into it, and is set up in a similar manner. Again, set the NNTP server to news.midtown.net and DON'T use a user name or password.

 

Usage Timers

A number of programs are available to keep track of your usage of the Internet system. One of the better programs is WS-TIMER. The program file is available on the BBS, or if we have given you a diskette set, it is in a directory on the same diskette as Trumpet Winsock. To install it, use File-Run and enter "a:\wstimer\setup" in the dialog box. The program will install and make a program group called WSTIMER. You can move the Icons to your Winsock Clients program group after it is installed.

You’ll have to modify your LOGIN.CMD and BYE.CMD scripts to start and stop WS-TIMER. Do this by clicking Dialer-Edit Scripts (in the Trumpet Winsock window), then open the login.cmd file. Move to the end of the file and remove the pound sign character (#) from the line that shows as: #exec "c:\wstimer\wstimer.exe ON A". This will turn ON the ws-timer program each time you connect. Save and exit from this file.

Next, open the bye.cmd file. At the beginning of the file, remove the pound sign character from the line that shows as: #exec "c:\wstimer\endtimer.exe". This will turn OFF the ws-timer when you log off the system. Save and exit from this file.

Lastly, the Icon that was made for WS-Timer needs to have its properties modified. Do this by clicking on the Icon, then choosing File-Properties. In the Command Line field, add "A" to the end of the line so it shows as: C:\WSTIMER\WSTIMER.EXE A

This will cause WS-Timer to display the time and log on information for your "A" connection, which will be the one that is used when you use the login.cmd script above. Complete documentation for the program is available in the c:\wstimer directory. Look for the README.WRI file.