PPP connection to ANNEX.MATH.UTAH.EDU via Win3.1+Winsock and Netscape. SLIP connection to ANNEX.MATH.UTAH.EDU via Win3.1+Winsock and Netscape SLIP connection to FCOM.CC.UTAH.EDU via Win3.1+Winsock and Netscape Testing with News, Netscape, Ping, Ftp, Telnet. Winsock can be replaced by 1996 Cisco "CONNECT". Last edit: 23 Nov 1996 ================PPP VIA Windows 3.1, WINSOCK and NETSCAPE=============== A setup similar to PPP works for SLIP, and SLIP is sometimes required, with certain hardware and software combinations (we don't know why). ======================================================================== Hardware and software: 80386 or better, 2mb memory, hard disk with 6mb free Windows 3.1 Trumpet Winsock software package 1995 (PPP driver) Or, Cisco CONNECT software 1996 (PPP, SLIP) Netscape or Ping software, for testing. ======================================================================== WHERE TO GET WINSOCK+NETSCAPE SOFTWARE. Newest software 1996: Get the net software from Steve's Internet Dialkit, 2 disk set, at http://www.micro.cc.utah.edu/ The usual command to get the files: lynx http://www.micro.cc.utah.edu/win16/internet/16kit.html The "CONNECT" icon distributed with the kit has worked with non-CISCO servers, in particular, it works with MATH ANNEX and it works out of the box for the CISCO server fcom.cc.utah.edu. Working software 1995: To get a copy of a working dialkit from 1995, with a workable WINSOCK, get the 3 disks below: lynx ftp://ftp.k12.ut.us/pub/pc/windows/installation_kits/oldkit/ The edits below apply to ANNEX and to the files from the oldkit. The OLDKIT WINSOCK can replace the NEWKIT CONNECT. All you need from the OLDKIT is a replacement for CONNECT, namely WINSOCK, which is the file set TRUMPWSK.INI, TCPMAN.EXE and possibly some of the DLL files in the \WINSOCK directory tree, notably, BWCC.DLL. The simplest upgrade for CONNECT is to copy these 3 files into \WINSOCK and then build an icon for WINSOCK in the dialkit group. The older kit has some utilities not present in the newer 1996 kit. In particular, FTP is very useful, and NEWS works well. It is recommended that you use 1996 CONNECT and NETSCAPE 2.01 together. Many people have had trouble with WINSOCK+NETSCAPE 2.01, in particular, FTP transfers and netscape transfers greater than 8kb seem to hang. ==============================SOFTWARE INSTALLS========================= All software installs from WINDOWS 3.1 using the RUN command to run the EXE file in the distribution. I copied the sources to a directory c:\dialkit and then ran the install programs out of that directory. This created a new directory: c:\winsock 1996 A similar install can be done for the oldkit, but use another directory name! Most of the 1995 utilities can be added to the newkit. ======================================================================== Editing the INI files (1996 kit) In the 1996 kit, most of the info below can be entered via a windows dialog box. The info you will need for ANNEX: netmask=255.255.255.0 gateway=128.110.198.126 (math gateway) gateway=128.110.124.120 (math secondary gateway) dns=128.110.198.2 (math name server) domain=math.utah.edu (math domain default) NNTPHost=news.math.utah.edu (news server) Home Page=http://www.math.utah.edu/ NNTP_Server=news.math.utah.edu SMTP_Server=solitude.math.utah.edu POP_Server=pop.math.utah.edu POP Name=username@math.utah.edu (Example: gustafso@math.utah.edu) The POP password, if remembered, will be encoded into the netscape.ini file; you can enter it only through the netscape OPTIONS menu. See the [Mail] section in netscape.ini. Once again: DON'T EDIT IN THE ABOVE INFO. USE WINDOWS DIALOG BOXES! ======================================================================== Editing the INI files (1995 kit) TRUMPWSK.INI (1995 oldkit) ip=0.0.0.0 netmask=255.255.255.255 gateway=128.110.198.126 (math gateway) dns=128.110.198.2 (math name server) domain=math.utah.edu (math domain default) slip-port=1 (for com1; use 2 for com2) slip-baudrate=57600 (for 14400 or 28800 modem connection) ppp-enabled=1 (enable PPP connection) WINVN.INI (1995 oldkit) NNTPHost=news.math.utah.edu (news server) NNTPService=solitude.math.utah.edu (mail account site) NETSCAPE.INI (1996 newkit) Home Page=http://www.math.utah.edu/ NNTP_Server=news.math.utah.edu SMTP_Server=solitude.math.utah.edu POP_Server=pop.math.utah.edu Note: There is no hope that any of the windows programs will work unless the INI files have been edited. In netscape, some options can be set through the OPTIONS menu on the main menu bar. For mail to work, incoming, a password and mail account have to be entered in netscape setup. You can leave the mail on the solitude server, instead of copying it to your local disk (see OPTIONS menu). Use FORWARD in netscape mail to put a copy back onto the solitude server. POP Name=username@math.utah.edu The POP password, if remembered, will be encoded into the netscape.ini file; you can enter it only through the netscape OPTIONS menu. See the [Mail] section in netscape.ini. ======================================================================== CONNECT (CISCO) INITIALIZATION (1996 Steve's Internet Kit) This is the setup for ANNEX. See below for CC. Run windows 3.1 Run Cisco "Connect" Setup OPTIONS menu as follows (one-time setup!) Preferences Click on "Administrative mode", "Show IP addresses on Connect" Modem Port Setup Set COM port, and use a speed like 115200 for a 33.6 modem. I set Port:COM1, Baud Rate:115200, Modem:Hayes Optima 288 V.FC for an internal 33.6 Data/Voice/Fax modem with Cirrus Logic chipset advertised to be "Hayes Compatible". Session Setup For math dept uofu, use cisco-ppp plain, 5818105 Site Setup For cisco-ppp plain, set HANDSHAKE interactive, PPP options blank, IP addresses as follows IP Address: 0.0.0.0 Gateway: 128.110.198.126 Secondary: Blank Subnet Mask: 255.255.255.0 DNS Address: 128.110.198.2 Secondary: 128.110.124.120 Domain Name: math.utah.edu Leave the option option sets alone (Exec, Modem security). Auto Connect Enable (Checkmarked) Setup CONNECT menu as follows (one-time setup!) Select CONNECT, then "math dept uofu" (see session setup above) Enter LOGIN (your login user name) PASSWORD (your password) ppp (at prompt "annex:", enter ppp) ctrl-G (press CTRL key and G) Switch to Program Manager in Windows 3.1 (Alt-TAB key) Run PING or NETSCAPE to test. It is possible this fails. If so, try the steps below, to see if maybe something there fixes the problem. If the process above succeeds, then auto handshake should be tried next. See below. ======================================================================== CONNECT (CISCO) AUTO HANDSHAKE (1996 Steve's Internet Kit) This is the setup for ANNEX. Run windows 3.1 Run Cisco "Connect" Setup OPTIONS menu as follows (one-time setup!) Site Setup [Click here] verify next three items cisco-ppp (plain login/TACACS) PPP (click on the radio button) Phone number 5818105 (or 18105 on campus) Handshake (click to get started) Auto Handshake (click on radio button) Handshake event 1 Recv: "sername:" (don't type the quotes! Leave off U!) Kind: "DONTCARE" Send: "yourusername" (eg, "gustafso") X Append CR on Send (Yes, send a carriage return) Handshake event 2 (click on UP/DOWN arrows for next event) Recv: "assword:" (don't type the quotes!) Kind: "DONTCARE" Send: "yourpassword" (eg, "xxxxxxxx", actual password) X Append CR on Send (Yes, send a carriage return) Handshake event 3 Recv: "annex:" (don't type the quotes!) Kind: "DONTCARE" Send: "ppp" X Append CR on Send (Yes, send a carriage return) OK (click on the OK button to save setup) Session Setup [Click here] Session: Math Dept UofU Site: cisco-ppp(plain login/TACACS) Dialing Phone Nos: 5818105 (or 18105 on campus) OK (click on the OK button to save setup) ======================================================================== WINSOCK PPP INITIALIZATION FOR MATH ANNEX (1995 oldkit) Run windows 3.1 Run Trumpet Winsock Open DIALLER menu Select manual login Enter AT ATDT5818105 (math number) LOGIN (your login user name) PASSWORD (your password) ppp (after annex lets you in, type "ppp") ESC (press ESC key) Switch to Program Manager in Windows 3.1 Run PING or NETSCAPE to test. To use SLIP, replace "ppp" by "slip" in the above dialog. ======================================================================== NETSCAPE OPERATION It won't work unless either CONNECT or Trumpet Winsock has been initialized and CONNECT or Winsock is still running with PPP enabled. A common mistake with WINSOCK is to switch into Netscape without hitting the ESC key (which enables PPP in Winsock). The script files can automate this once you get it working. A similar mistake in CONNECT is to forget the ctrl-G at the end. The site at the top of the screen should be http://www.math.utah.edu/ The trailing slash is necessary. If you don't have one, then add it into the INI file called NETSCAPE.INI. For testing, add it in the netscape application and hit return to load the new URL. This works also for any other URL, eg, http://www.yahoo.com/ ======================================================================== KILLING THE PPP CONNECTION In theory, the DISCONNECT or EXIT command will hang up your modem. Cycle the power on the modem if it doesn't work. 1995 Winsock Hint: it does not hurt to type ESC in Winsock. Doing that enables menu items on the DIALLER menu. Note: PPP means "PC-to-PC Protocol", which is SLIP plus another software layer that makes connection to remote sites like annex.math.utah.edu much more convenient. The extra software layer resolves automatically the IP address that is dynamically assigned by annex.math.utah.edu (different on each login). This gets windows users out of the business of typing IP numbers. ======================================================================== NETSCAPE 1.1 WON't RUN It is a common complaint that clicking on netscape has no effect - it won't run. The trouble is that Winsock is hung up trying to make a PPP connection. Maybe something simple is wrong, like the modem is off. But it could be more serious, such as not editing the INI files as suggested above. Please note that the editing is required **before** running Winsock. You can exit Winsock, then edit the INI files, and run Winsock again with the new settings. Winsock is successful when it publishes the success of the PPP connection. If this doesn't happen, then it didn't work. Similar statements can be made about CISCO systems "CONNECT". However, it seems to be more informative about the modem state. Also, Netscape 2.01 will run even if CONNECT has not been launched. ======================================================================== COMPUTER CENTER SLIP CONNECTION Connections to the computer center Cisco server have different instructions. Don't generalize what is written here to that setting. Use Steve's Internet Dialkit setup for that configuration. Both the 1995 and 1996 editions of the dialkit work correctly, it comes out of the box with the right parameters set. Especially, study the files with extension CMD in the WINSOCK directory, because they control the interface to the CISCO server and your computer. In particular, setting PPP enabled will cause the scripts to fail. So if you have fooled around with INI files, then it may break the possibility of connection to the CISCO server. The essentials for the CISCO server: username password "slip default" This will allow a connection via SLIP, provided the Winsock INI file is set up for SLIP. Note: No one has made PPP work, so don't waste your time on the idea. There is something strange with the CISCO server which causes some modems to drop the connection within a few seconds. Also, bandwidth is about 1/4 of the expected performance, causing file transfers to be 4 times slower at CC than at ANNEX. The newest kit (1996) works with the icon CONNECT (cisco systems software) instead of TRUMPET WINSOCK. If you have an account on CC, then it should work out of the box. The menus have optimal settings enabled for CC. Lessons have been learned for AUTO HANDSHAKE: This info for CC only!!!! Run windows 3.1 Run Cisco "Connect" Setup OPTIONS menu as follows (one-time setup!) Site Setup [Click here] verify next three items cisco-ppp (plain login/TACACS) PPP (click on the radio button) Phone number 5815650 (or 15650 on campus) Phone number 5813950 (or 13950 on campus) Handshake (click to get started) Auto Handshake (click on radio button) Handshake event 1 Recv: "" (don't type the quotes! Blank string!) Kind: "DONTCARE" Wait: 1 (1 second wait) Send: "" (don't type the quotes! Blank string!) X Append CR on Send (Yes, send a carriage return) Handshake event 2 (click on UP/DOWN arrows for next event) Recv: "sername:" (don't type the quotes! Leave off U!) Kind: "DONTCARE" Wait: 10 (10 second wait) Send: "yourusername" (eg, "gbg5000") X Append CR on Send (Yes, send a carriage return) Handshake event 3 (click on UP/DOWN arrows for next event) Recv: "assword:" (don't type the quotes!) Kind: "DONTCARE" Wait: 20 (20 second wait) Send: "yourpassword" (eg, "xxxxxxxx", actual password) X Append CR on Send (Yes, send a carriage return) Handshake event 4 Recv: "estination" (don't type the quotes!) Kind: "DONTCARE" Wait: 15 (15 second wait) Send: "slip default" X Append CR on Send (Yes, send a carriage return) Handshake event 5 Recv: "IP address is" (don't type the quotes!) Kind: "IPADDRESS" Wait: 20 (20 second wait) Send: "" (don't type the quotes! Blank string!) * Append CR on Send (NO, don't send a carriage return!) OK (click on the OK button to save setup) Session Setup [Click here] Session: Univ Utah CC Dialup Site: cisco-ppp(plain login/TACACS) Dialing Phone Nos: 5815650 (or 15650 on campus) Session: Univ Utah CC 15min Dialup Site: cisco-ppp(plain login/TACACS) Dialing Phone Nos: 5813950 (or 13950 on campus) OK (click on the OK button to save setup) ========================================================================