PC Installation of Windows Netscape 1.1 for Win31 and Win95 This file contains information on WWW internet connection of a PC through the math dept ANNEX. Discussed here in email notes are software, modem issues and setup. This file last edited 21 Nov 1996. This file applies to the 1995 OLDKIT only! ================================NetScape============================== The WIN3 setup for NetScape is automated by three diskettes (1995), called the OLDKIT. The kit was put together by Steve Adams (581-5507). The kit is located at fcom.cc.utah.edu: 1995 oldkit: lynx ftp://ftp.k12.ut.us/pub/pc/windows/installation_kits/oldkit/ 1996 newkit: (not explained here) lynx http://www.micro.cc.utah.edu/win16/internet/16kit.html Also on the 1995 disk set is FTP, TELNET, PMAIL, GOPHER for win3. It takes 7mb of disk space to install Steve's client kit. See the notes below on specifics of how to get the files onto PC diskettes. The 1995 kit works with CISCO servers directly and it can be made to work with math's ANNEX. See http://www.math.utah.edu/~gustafso/, for a document on how to install the 1996 kit. The kits can be mixed, except for WINSOCK, CONNECT and NETSCAPE (which are in matched versions). All remarks below apply just to the 1995 kit. The remarks about netscape can be ignored, or applied to the newest release of netscape. ====================================================================== Dear Roger, The package for your PC is called "Steve's Internet Client Kit". It is available by FTP from the campus computer center site. It requires two (2) 1.44mb diskettes, and about 6-7mb of disk space. Also required is MS Windows 3.1 (Win95 has been tested) and a suitable modem, 14400 baud or faster. After installation is complete, the programs are run from Windows. Here's what you get: Trumpet winsock --- Creates SLIP or PPP connection to annex.math.utah.edu Netscape --- Same as the one you already use Telnet --- Replaces crosstalk and kermit for most purposes. Ftp --- File transfer protocol for moving files or groups of files between the PC and the remote host (solitude). News --- A news reader for all the news groups that you might be reading currently. Uses windows in an essential way, easy to learn. Gopher --- The standby net searcher with separate windows for each site. Mail --- A mail reader for your remote site (solitude) email. Ping, Lview, tn3270 --- Other support programs Operation: Start "oldkit" WINSOCK. Login to the remote site (solitude). On success, "bootp" appears on the screen and some info about the connection internet addresses. Switch to the program manager (winsock stays running) and select any one of the above programs, eg, netscape. It should run like it does on dept workstations, only more slowly, because of the modem connection. Setup: The scripts that login to solitude and setup mail, news and netscape defaults have to be edited by hand. Once you get this right, everything should work seamlessly. A head start is to get someone's working edits, and write them over the top of "Steve's Internet Kit" sources, which are set up for the computer center modem pool. To get the "internet client kit" (Steve's), use this unix command on a local workstation: 1995 oldkit: lynx ftp://ftp.k12.ut.us/pub/pc/windows/installation_kits/oldkit/ 1996 newkit: lynx http://www.micro.cc.utah.edu/win16/internet/16kit.html The idea is to download the source disks as files onto solitude, then transfer the files to PC diskettes in jwb120 (a Dec3100, for example, using mtools "mcopy" command): Fill drive a: of dec3100 with formatted 1.44 and: mcopy sourefile a: The downloading command "D" in lynx (similar in netscape) is applied to the compressed file(s) at cc.utah.edu. I'll try it out and send you the info in the next mail message. -grant =================================================================== >To: rhorn@math.utah.edu >Subject: client kit address Steve's kit is located directly by this unix command (you can also use netscape to do the same thing): lynx ftp://ftp.k12.ut.us/pub/pc/windows/installation_kits/oldkit/ In this directory are files with the same date starting with "setup.exe", which is the 1.44mb install kit. the program setup.exe is run from windows to install the kit. To download a file in lynx, type the letter d and answer the questions. On a unix machine all you can do is download to a disk file. To exit lynx use the letter q or type ctrl-C. There is a single file lower down in the tree, size 2.6 megabytes. I downloaded it earlier this year and found it was just the other files stuffed into one archive. Regardless of the dates, the files are the same, no difference. After you install the kit, the editing begins. Out of the box it won't work. After editing, it works very well, you will like it! -Grant The 1996 kit is lynx ftp://ftp.cc.utah.edu/pub/pc/windows/installation_kits It works with CC and ANNEX servers. =================================================================== trumpwsk.ini: (1995 OLDKIT) ================================================================ [Trumpet Winsock] ip=0.0.0.0 netmask=255.255.255.255 gateway=128.110.198.126 dns=128.110.198.2 time= domain=math.utah.edu vector=00 mtu=1500 rwin=4096 mss=1460 rtomax=60 ip-buffers=32 slip-enabled=1 slip-port=1 slip-baudrate=57600 slip-handshake=1 slip-compressed=1 dial-option=0 online-check=0 inactivity-timeout=5 slip-timeout=0 slip-redial=0 dial-parity=0 font=Courier,9 use-socks=0 socks-host=0.0.0.0 socks-port=1080 socks-id= socks-local1=0.0.0.0 0.0.0.0 socks-local2=0.0.0.0 0.0.0.0 socks-local3=0.0.0.0 0.0.0.0 socks-local4=0.0.0.0 0.0.0.0 ppp-enabled=1 ppp-usepap=0 ppp-username="" ppp-password="" win-posn=80 105 606 403 96 408 -4 -4 1 trace-options=0 ip-routing=0 registration-check="iqIT&dk"A<`cx&B^" next-port=1024 pkt-buffers=16 slip-rtsflow=0 slip-logging=0 slip-rcvbuf=8192 slip-sndbuf=8192 no-close-message=0 use-waitmessage=0 clock-period=100 [default vars] $number=5818105 ================================================================ login.cmd ================================================================ output atz\13 input 10 OK\n repeat outputecho "atdt18105"\13 until [input 30 CONNECT] input 30 sername: output YOURUSERNAME\13 <======= input 30 assword: output YOURPASSWORD\13 <======= input 30 hangup input 30 annex: output ppp\13 bootp ======================================================================== Editing the INI files (1995 OLDKIT) ======================================================================== TRUMPWSK.INI 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, DNS) domain=math.utah.edu (math domain default) slip-port=1 (for com1; use 2 for com2) slip-baudrate=57400 (for 14400 or 28800 modem connection) ppp-enabled=1 (enable PPP connection) WINVN.INI NNTPHost=news.math.utah.edu (news server) NNTPService=mail.k12.ut.us (mail account site) NETSCAPE.INI Home Page=http://www.math.utah.edu/ NNTP_Server=news.math.utah.edu SMTP_Server=localhost 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. ======================================================================== WINSOCK INITIALIZATION (1995 Steve's Internet Kit) Run windows 3.1 Run Trumpet Winsock Open DIALLER menu Select manual login Enter ATZ 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. ======================================================================== NETSCAPE OPERATION It won't work unless Trumpet Winsock has been initialized and Winsock is still running with PPP enabled. A common mistake is to switch out of Winsock without hitting the ESC key (which enables PPP). The script files can automate this once you get it working. 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 Don't depend on software like Winsock to kill the modem connection. It probably won't kill it. Instead, cycle the power on the modem. Doing this will let you exit from Winsock, which refuses to let you out when a PPP connection has been made. If you are lucky enough to have a "bye.cmd" on the DIALLER menu in Winsock, then use that command to shut down the modem (before exit from 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. =================================================================== BYE.CMD =================================================================== # # Trumpet Winsock 2.1 Bye.cmd # # Copyright (C) 1994,1995 Peter R. Tattam & # Trumpet Software International Pty Ltd (TSI) # All rights reserved. # # Unless TSI has given prior written consent to such use, # no permission is granted to distribute or otherwise make available # to the public modified versions of this script for commercial purposes. # Any permitted distribution of modified versions of the script must # retain the copyright notice at the start of this file and must clearly # identify those parts of the file which have been modified. # # # Set %which to 1 for normal DTR hang up or # 2 for ATH0 style hangup # %which = 2 #message "Disconnecting modem..." if %which = 1 set dtr off sleep 1 set dtr on end if %which = 2 sleep 2 output +++ input 5 OK\n output ath0\r input 5 OK\n end #message "Modem has been disconnected." sleep 1 ======================================================================== BYE2.CMD ======================================================================== # # Trumpet Winsock 2.1 Bye.cmd # # Copyright (C) 1994,1995 Peter R. Tattam & # Trumpet Software International Pty Ltd (TSI) # All rights reserved. # # Unless TSI has given prior written consent to such use, # no permission is granted to distribute or otherwise make available # to the public modified versions of this script for commercial purposes. # Any permitted distribution of modified versions of the script must # retain the copyright notice at the start of this file and must clearly # identify those parts of the file which have been modified. # # # Set %which to 1 for normal DTR hang up or # 2 for ATH0 style hangup # %which = 2 status "Disconnecting modem..." if %which = 1 set dtr off sleep 1 set dtr on end if %which = 2 sleep 2 output +++ input 5 OK\n output ath0\r input 5 OK\n end status "Modem has been disconnected." sleep 1 ======================================================================== login.cmd for annex.math.utah.edu ======================================================================== output atz\13 input 10 OK\n repeat outputecho "atdt18105"\13 until [input 30 CONNECT] if ![load $username] if [username "Enter your login username"] save $username end end if ![load $password] if [password "Enter your login password"] save $password end end input 30 authorization input 30 Annex input 30 sername: output $username\13 input 30 assword: output $password\13 input 30 hangup input 30 annex: output ppp\13 bootp NOTE: If this does not work, then try setting SLIP in the SETUP menu. Replace "PPP" above by "SLIP DEFAULT" and try again. On a few newer modems, especially modem cards, this is the only one that works! (works for math and the computer center) ======================================================================== login1.cmd Another version for off campus ======================================================================== output atz\13 input 10 OK\n repeat outputecho "atdt5818105"\13 until [input 30 CONNECT] if ![load $username] if [username "Enter your login username"] save $username end end if ![load $password] if [password "Enter your login password"] save $password end end input 30 authorization input 30 Annex input 30 sername: output $username\13 input 30 assword: output $password\13 input 30 hangup input 30 annex: output ppp\13 bootp ======================================================================== login2.cmd A very complicated example with more features. ======================================================================== # # Trumpet Winsock 2.1 Login.cmd # # Copyright (C) 1994,1995 Peter R. Tattam & # Trumpet Software International Pty Ltd (TSI) # All rights reserved. # # Unless TSI has given prior written consent to such use, # no permission is granted to distribute or otherwise make available # to the public modified versions of this script for commercial purposes. # Any permitted distribution of modified versions of the script must # retain the copyright notice at the start of this file and must clearly # identify those parts of the file which have been modified. # #trace on # # set up some strings for dialling up # if ![load $number] if [query $number "Enter your dial up phone number"] save $number end end if ![load $username] if [username "Enter your login username"] save $username end end if ![load $password] if [password "Enter your login password"] save $password end end $modemsetup = "&c1&k3" $prompt = ">" $userprompt = "sername:" $passprompt = "assword:" $slipcmd = "slip" $addrtarg = "our address is" $pppcmd = "ppp" $pppready = "PPP." %attempts = 10 ############################################### # timeouts for various sections of the script # ############################################### # # timeout for busy tone... adjust this until the BUSY string is detected. # %busytimeout = 10 # # time between successive busy attempts. # %busywait = 30 # # time to wait for a CONNECT string to be received # %connecttimeout = 60 # # time to wait until DCD is detected # %onlinetimeout = 60 # # time to wait for username & password prompts # %logintimeout = 60 # # time to wait for server prompt to appear # %prompttimeout = 30 # # time to wait for a SLIP address to be parsed # %addresstimeout = 30 # # # # #---------------------------------------------------------- # # initialize modem # status "Initializing modem..." output "atz"\13 if ! [input 5 OK\n] message "Modem is not responding" abort end # # setup our modem commands # output "at"$modemsetup\13 if ! [input 10 OK\n] message "Modem is not responding" abort end # # send phone number # %n = 0 repeat %n = %n + 1 if %n > %attempts message "Too many dial attempts" abort end status Dialling $number...(attempt %n) output "atdt"$number\13 %busy = [input %busytimeout BUSY] if %busy status "The line is busy...pausing for a while" sleep %busywait %ok = 0 else %ok = [input %connecttimeout CONNECT] end until %ok input 10 \n # # wait till it's safe to send because some modem's hang up # if you transmit during the connection phase # wait %onlinetimeout dcd status Connected. Now logging in as $username... # # now prod the terminal server # #output \13 # # wait for the username prompt # input %logintimeout $userprompt output $username\13 # # and the password # input %logintimeout $passprompt output $password\13 # # we are now logged in # status "Logged in. Now switching to Internet..." input %prompttimeout $prompt if %ppp # # jump into ppp mode # output $pppcmd\13 # # wait for PPP prompt. input %prompttimeout $pppready # display \n\n"PPP mode selected. Will try to negotiate IP address."\n status "PPP mode selected. Will try to negotiate IP address." sleep 1 # else # # jump into slip mode # output $slipcmd\13 # # wait for the address string # input %addresstimeout $addrtarg # # parse address # address 30 input %addresstimeout \n # # we are now connected, logged in and in slip mode. # display \n display Connected. Your IP address is \i.\n status Connected. Your IP address is \i. sleep 1 end # # now we are finished. # ======================================================================== setup.cmd Not needed ======================================================================== if [query $number "Enter your phone number"] save $number end if [query $username "Enter your login username"] save $username end if [query $password "Enter your login password"] save $password end ======================================================================== setup2.cmd Not needed ======================================================================== # # Trumpet Winsock 2.1 Setup.cmd # # Copyright (C) 1994,1995 Peter R. Tattam & # Trumpet Software International Pty Ltd (TSI) # All rights reserved. # # Unless TSI has given prior written consent to such use, # no permission is granted to distribute or otherwise make available # to the public modified versions of this script for commercial purposes. # Any permitted distribution of modified versions of the script must # retain the copyright notice at the start of this file and must clearly # identify those parts of the file which have been modified. # %ok = [load $number] %ok = [load $password] %ok = [load $username] if [query $number "Enter your phone number"] save $number else exit end if [username "Enter your login username"] save $username else exit end if [password "Enter your login password"] save $password else exit end ======================================================================== End of CMD files from cmds.zip ========================================================================