home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Magazine 7 / Multimedia-No7-11-1995.iso / BOUTIQUE / MMEDIA / TIA-WIN.TXT < prev    next >
Text File  |  1995-01-23  |  36KB  |  781 lines

  1.  
  2.                    THE TIA COMPANION FOR WINDOWS
  3.                        Version 1.21, 1/18/95
  4.        To obtain the latest version of this document, send blank
  5.              e-mail to tia-win-setup@marketplace.com
  6.  
  7.  
  8. ---------------------------------------------------------------------
  9. This document provides detailed instructions on choosing and 
  10. installing TCP/IP communications software and TCP/IP client 
  11. applications. This file assumes that either you or your access 
  12. provider has obtained and installed a copy of TIA, and that it is 
  13. running properly on your shell account (the TIA Single User 
  14. Installation Instructions explain how to verify proper function). If 
  15. not, contact the addresses below for more information, beginning with 
  16. tia-info@marketplace.com.
  17. ----------------------------------------------------------------------
  18.  
  19.  
  20.                         ***INTRODUCTION***
  21.  
  22.  
  23. Cyberspace Development and InterMind Corp. provide this document as a 
  24. service to users of The Internet Adapter (TIA), a new tool that lets 
  25. you run SLIP-based software such as Mosaic with an ordinary UNIX shell 
  26. account. This file introduces new SLIP users to TCP/IP communications 
  27. and applications software, and assists them through the oft-vexing 
  28. task of selecting and setting up this software on their Windows PCs. 
  29. For more information about TIA, please send blank e-mail to the 
  30. following addresses:
  31.  
  32.    tia-info@marketplace.com           (for general information)
  33.    tia-single@marketplace.com         (for a Single User Order Form)
  34.    tia-single-install@marketplace.com (Installation Instructions for
  35.                                        the Single User Version of TIA)
  36.    internet-basics@marketplace.com    (Internet Basics, including how 
  37.                                        to obtain a shell account)
  38.    tia-directory@marketplace.com      (for a list of all TIA-related
  39.                                        documents and addresses)
  40.  
  41. These documents are also available via:
  42.  
  43.      FTP             marketplace.com
  44.      Gopher          marketplace.com
  45.      WWW             http://marketplace.com/
  46.  
  47. CSD and InterMind would like to thank the principal author, Steve 
  48. Wilmart (tia-steve@intermind.com), and also Dave Menges, Chris Bogart, 
  49. Art Smoot and Johan Vromans. Since we will be updating this document 
  50. periodically, we strongly encourage *your feedback*, particularly if 
  51. you have a problem/solution you think should be included. Please send 
  52. all suggestions to:
  53.  
  54.      tia-feedback@marketplace.com
  55.  
  56. and let us know if we may acknowledge you in the credits.
  57.  
  58.  
  59.  
  60.  
  61.                     ***CHOOSING SOFTWARE***
  62.  
  63.  
  64. This section provides a checklist of the key software you will need, 
  65. whether commercial, shareware, or freeware. The latest version number 
  66. is listed (hopefully). Much of this software goes through frequent 
  67. minor updates. While it is not critical that you always have the very 
  68. latest version, it is almost always the most stable and the easiest to 
  69. support. Once you're on the net you can keep yourself up to date by 
  70. checking on-line archives occasionally.
  71.  
  72.  
  73. TCP/IP STACKS AND UTILITY SOFTWARE
  74.  
  75.  
  76. TCP/IP - As discussed elsewhere, you need a TCP/IP stack on your 
  77. computer. The two most popular dialup TCP/IP packages for PCs seem to 
  78. be Trumpet Winsock and Netmanage's Chameleon, so they are the two we 
  79. will cover in this document. This is not an endorsement, just a 
  80. reflection of the questions we are getting in tech support.
  81.  
  82. Trumpet Winsock: This is shareware and version 2.0b is the latest 
  83.    release. It is available via anonymous ftp to ftp.trumpet.com.au in 
  84.    the /pub/winsock directory. Because that site is not always 
  85.    available we have placed a copy at marketplace.com in the 
  86.    /tia/shareware/windows sub-directory (the file name is 
  87.    twsk20a.zip). 
  88.    ***This is the version used to test the instructions in this 
  89. document.***
  90.  
  91. Chameleon: The Chameleon Sampler from Netmanage is available via 
  92.    anonymous FTP to ftp.netmanage.com in the directory 
  93.    /pub/demos/sampler -- sampler.exe is the self-extracting zip file 
  94.    you want. The Sampler is also distributed in many Internet books 
  95.    and "kits" geared towards new users.
  96.  
  97. FILE COMPRESSION SOFTWARE: ôPKZIPö and and ôPKUNZIPö from PKWARE, Inc. 
  98. are the standard programs for compression/decompression of files on 
  99. the network.  Most of the PC software you will find on the net has 
  100. been compressed using this utility, and must be decompressed by you in 
  101. order to be made usable. As of this writing the latest version of 
  102. PKWARE is v204g, and can be found via ftp at marketplace.com in the 
  103. /tia/shareware/windows sub-directory. The self-extracting file 
  104. pkz204g.exe includes the latest version of PKUNZIP as well as other 
  105. useful utilities. 
  106.  
  107. To expand pkz204g.exe merely double-click on its name in File Manager 
  108. or, from DOS, change directories to the one containing the file and 
  109. type "pkz204g" at the command line. After expanding the file, please 
  110. read the included documents carefully. Files compressed with PKZIP 
  111. come in two forms - ".zip" files which require PKUNZIP to expand, and 
  112. ".exe" files which are self-extracting (as pkz204g.exe itself ). You 
  113. will need to have the PKUNZIP utility to "expand" or "unzip" any files 
  114. you may get off the net ending in .zip.
  115.  
  116.  
  117. TCP/IP CLIENT SOFTWARE 
  118.  
  119.  
  120. Clients are the programs that run under Windows and allow you to 
  121. explore the various services available on the Internet. Examples are 
  122. FTP and Telnet clients, e-mail readers, newsreaders, Finger utilities, 
  123. Gopher clients, World Wide Web browsers (Mosaic, Netscape, etc.) and 
  124. so on.
  125.  
  126. Below is a short list of some of the most important client packages. 
  127. Commercial versions of many are now available (e.g., the Eudora e-mail 
  128. client). We describe the shareware versions and leave it to you to 
  129. decide whether to upgrade to the more feature-laden commercial 
  130. products. Information on the commercial versions is generally 
  131. available in Internet magazines and other periodicals, and of course 
  132. from the manufacturers, so no space is devoted to them here.
  133.  
  134. TRUMPET WINSOCK CLIENTS - At the mirror sites where Trumpet is stored 
  135. (like ftp.utas.edu.au for instance) there is usually a file called 
  136. winapps.zip (and now there's winapps2.zip). This file contains some 
  137. basic clients to be used in conjunction with Trumpet, including an FTP 
  138. client, Telnet client, etc. They are useful for testing purposes but 
  139. have minimal functionality compared to better-known clients.
  140.  
  141. FTP - ws_ftp 2.02 is a solid ftp client written by John A. Junod. In 
  142. addition to having a high level of functionality and being easy to 
  143. install, the price is right (free). You can find it in the 
  144. /tia/shareware/windows directory at marketplace.com (ws_ftp.zip). As a 
  145. bonus it comes pre-configured with lots of good FTP sites hard-coded 
  146. in -- so you can use it as a launching pad to get Mosaic and other 
  147. great software without having to know where to look. (Thank you John!)
  148.  
  149. NEWSREADERS - WinVn version 0.93.11 is another solid freeware client 
  150. written by Mark Riordan (and a host of others). It beats the heck out 
  151. of rn! You can find it at marketplace.com in /tia/shareware 
  152. (winvn_92.zip).
  153.  
  154. GOPHER - HGopher Version 2.3 is the last public-domain version of this 
  155. fine gopher client (it has been licensed for commercial use - so this 
  156. will be the last "free" version). While it has a pretty interface -- 
  157. it's not always the most intuitive-to-use client. Once you get used to 
  158. it, though, it is pretty slick. Hgopher is available at: 
  159. "lister.cc.ic.ac.uk" in the /Pub/wingopher sub-directory.
  160.  
  161. E-MAIL READERS - Eudora Version 1.4 is the last freeware version of 
  162. this most excellent POP-mail client, which is written by Jeff Beckly 
  163. and Jeff Gehlheer (it is now a *great* commercial product with many 
  164. added features). Easy to configure (just go to Special/Configuration 
  165. ... and Special/Switches... and fill in the blanks) and great for 
  166. organizing your mail. Eudora is available at: "ftp.cica.indiana.edu" 
  167. in the /pub/pc/win3/winsock sub-directory.
  168.  
  169. WWW (World Wide Web) - There are now several competitors for top dog 
  170. in this catagory. The most visible are the much-touted Mosaic from 
  171. NCSA and its challenger Netscape from Netscape Communications Corp.
  172.  
  173. Netscape v1.0 for Windows is one of what promises to be a wave of new 
  174. Web browsers. Just like Mosaic, Netscape allows you to graphically 
  175. browse the World Wide Web, a hypertext system that spans the Internet. 
  176. Also like Mosaic, with the proper add-ons Netscape allows you to view 
  177. pictures (GIFs, JPEGs, etc.), watch movies, and even (if you have a 
  178. sound card) hear embedded speech and music. In addition to these 
  179. benefits, however, Netscape also has a built in newsreader (which some 
  180. might argue is even better than WinVN)! Add to that the fact that 
  181. Netscape is a 16-bit application (doesn't require the Win32s software 
  182. libraries), is easy to setup, is easy to customize (you can use menus 
  183. instead of manually editing the .ini file), and allows you to send 
  184. mail -- well it's hands-down our favorite Web browser (so far). To 
  185. obtain a copy, FTP to mcom.com.
  186.  
  187. NCSA Mosaic 2.0a8*:  Mosaic is the original WWW client and the one 
  188. that will most likely remain 100% in the public domain. Many companies 
  189. have licensed Mosaic, including Netscape Communications Corp. (see 
  190. below), so expect a variety of commercial versions soon. Widely 
  191. considered the "killer app" that brought the Internet broad public 
  192. attention, Mosaic allows you to graphically browse the World Wide Web, 
  193. a hypertext system that spans the Internet. With the proper add-ons 
  194. Mosaic allows you to view pictures (GIFs, JPEGs, etc.), watch movies, 
  195. and even (if you have a sound card) hear embedded speech and music. 
  196. Many resources available under older protocols (such as archie and 
  197. gopher) are now accessible via WWW, so it may soon become "the" 
  198. interface of the net.
  199.  
  200. It's important to note that in order to use this newest version, you 
  201. will also need to download the most current version of the Win32s 
  202. software (as explained in the FTP README files). Also, take special 
  203. care to edit the mosaic.ini file before you try it. Be sure to include 
  204. valid sites in the NNTP and SMTP server lines. See the documentation 
  205. for details. Both Mosaic, Win32s, and selected add-ons are available 
  206. at "ftp.ncsa.uiuc.edu".
  207.  
  208. *NOTE: Mosaic 2.0a8 requires win32s while version 2.0 alpha 2 is the 
  209. last version produced which does not. 2.0a2 also seems to use fewer 
  210. resources, and on many systems is much more stable. So, although 2.0a2 
  211. has less features, some users may prefer it. 2.0a2 can be found at 
  212. "ftp.ncsa.uiuc.edu" in the /Web/Mosaic/Windows/old sub-directory.
  213.  
  214.  
  215.                  ***OBTAINING SOFTWARE***
  216.  
  217.  
  218. Once you have an idea of the software packages you want, there are 
  219. basically four options for actually getting it onto your hard disk:
  220.  
  221. 1) DOWNLOAD PUBLIC-DOMAIN SOFTWARE: You can use FTP to download 
  222. public-domain programs (i.e. freeware or shareware) from an archive 
  223. (like ftp.ncsa.uuic.edu above or marketplace.com in /tia/shareware) to 
  224. a shell account (on your provider's host computer), and then then use 
  225. the Zmodem program (or Ymodem, Xmodem, Kermit--typically available on 
  226. most personal computers) to transfer them down to your PC. In this 
  227. case you'll probably want to just grab the basics such as a TCP/IP 
  228. stack and perhaps an FTP client. Then, once your SLIP link is up, you 
  229. can use FTP running on your personal computer to download the rest 
  230. directly to your computer.
  231.  
  232. Several good FTP sites where you can start looking for software for 
  233. your Windows-based PC are:
  234.  
  235.      marketplace.com             look in the /tia/shareware directory
  236.      wuarchive.wustl.edu         start in the /pub/systems/ibmpc dir
  237.      oak.oakland.edu             start in the /pub/msdos dir
  238.      ftp.cica.indiana.edu        start in the /pub/pc/win3/winsock dir
  239.  
  240. Be sure to look for "installer" programs coming soon to 
  241. MarketPlace.com for both Windows and Mac client computers. These 
  242. programs will install popular TCP/IP software packages on your 
  243. computer. See the readme files for further information.
  244.  
  245. 2) BUY AN INTERNET BOOK: More and more appear every day (which is part 
  246. of the problem), but all the good ones include all the software you 
  247. need on disk, even if some of it is one or two minor revisions out of 
  248. date. Although undoubtedly many are worthy, one we can personally 
  249. vouch for is Adam Engst's "The Internet Starter Kit for Windows 
  250. Version 2.0". 
  251.  
  252. DISCLAIMER: Although Adam is in the credits, he did *not* suggest that 
  253. we mention of his book here, nor do any of us have any financial 
  254. interest in his books. We mention it only because it is one the 
  255. easiest and cheapest ways to get the software you need, and it happens 
  256. to be an excellent guide for new Internet users.
  257.  
  258. 3) CALL SOFTAWARE: SoftAware in Los Angeles sells Adam's book (which 
  259. retails for US$29.95 and includes TCP/IP stack and client software) 
  260. plus TIA and disks with SLIP login script in a package called "Cheap 
  261. Sunglasses" for US$65. For this price SoftAware will also install and 
  262. certify TIA in your shell account.  You can reach SoftAware at (310) 
  263. 314-1466 (9-5 PST, M-F) or via e-mail at eroth@netcom.com.
  264.  
  265. 4) PURCHASE COMMERCIAL SOFTWARE: Yes, some people actually do it, and 
  266. in many cases it really does save them hours of time. Of course, it's 
  267. not quite as _fun_ as freeware and shareware, but then some people 
  268. have other ways of entertaining themselves (we can't imagine what).
  269.  
  270.  
  271.  
  272.           ***INFORMATION YOU NEED FROM YOUR PROVIDER***
  273.  
  274.  
  275. Installation will go much easier if you gather all this information 
  276. from your provider ahead of time. (Note that some of this information 
  277. is available from TIA itself using the "tia -address" command as 
  278. described in the Installation Instructions. It is probably much faster 
  279. to try using this method than calling your provider. However, this 
  280. command does not work on all provider's machines.)
  281.  
  282. Item                            Comment
  283. -------------------------------------------------------------------
  284. Phone number(s)                 confirm speed & type of modems
  285. login and password              get EXACT spelling in upper/lowercase
  286. login sequence                  description of prompts and responses
  287.                                 (often you will have to record)
  288. domain name                     either their domain or your own
  289. gateway address                 where your PC should send packets
  290.                                 to the world
  291. DNS server names/IP addresses   for your provider's primary (and                                 
  292. preferably secondary) name server
  293. POP/SMTP server name            for e-mail
  294. NNTP server name                for news
  295.  
  296. (Dont worry if your particular TCP/IP software doesnt require every 
  297. piece of information listed here - were just covering all the bases.)
  298.  
  299.  
  300.                   ***PRELIMINARY INSTALLATION***
  301.  
  302.  
  303. 1) HARDWARE
  304.  
  305. Power everything off (paranoia). Connect all hardware. Make sure the 
  306. phone cord is in the modem's port called "line" or "wall", not 
  307. "phone". Make sure the modem is properly installed. Power everything 
  308. on.
  309.  
  310. 2) MODEM
  311.  
  312. Although the modem init string can be entered later, during SLIP 
  313. configuration, we'll talk about it now. You *must* use RTS/CTS and you 
  314. *must not* use XON/XOFF, or answer mode. This is very important -- an 
  315. ill-configured modem can cause all kinds of "hidden" problems. Nothing 
  316. beats a manual here.
  317.  
  318. In case you're inside a PBX remember to prefix the phone number with a 
  319. "8," or "9," to get out; many PBXs just do not work for data (and can 
  320. even smoke a modem), so you might want to talk with your PBX person 
  321. first. If you have call waiting add a disable string (*70 in most 
  322. cases; check with your local phone company) to block it for the 
  323. duration of the call. If you need pauses in your dialing sequence, add 
  324. one or more "," (comma) characters in the dialing sequence as needed.
  325.  
  326.  
  327.                  ***TCP/IP AND SLIP INSTALLATION***
  328.  
  329.  
  330. EXAMPLE #1: TRUMPET WINSOCK
  331.  
  332. First of all, most of what follows is from the Trumpet Winsock 
  333. documentation itself. Primarily what we've done is removed extraneous 
  334. sections and added comments where necessary. If you'd like more 
  335. details or context than we refer you back to the Trumpet installation 
  336. file.
  337.  
  338. A) Setup
  339.  
  340. 1)  Before you start you should check and make sure you dont have any 
  341. other copies of a file called "winsock.dll". In File Manager use the 
  342. "Search..." function under the "File" menu to search all your 
  343. directories for "winsock.dll". If you do find other versions of this 
  344. file and feel the need to keep them around, please ensure they are not 
  345. in your path.
  346.  
  347. 2)  Create a directory for Trumpet Winsock -- like C:\trumpet. Move 
  348. the compressed file to this directory and unzip it.
  349.  
  350. 3)  Put this newly created directory in your path by editing the path 
  351. statement in your autoexec.bat file to include this directory (e.g. 
  352. path c:\dos;c:\windows;c:\trumpet)
  353.  
  354. 4)  Reboot to make this change take effect.
  355.  
  356. 5)  Start Windows
  357.  
  358. 6)  From Windows File Manager, choose File/Run, type "tcpman", and 
  359. choose OK. If this fails, the path is probably not set up correctly 
  360. (go back to step 4, do not pass go). Later on, you can install it as 
  361. an icon to use it directly.
  362.  
  363. 7)  Assuming you are a first time user, a setup screen will appear 
  364. giving you a number of options to fill in. If this is not your first 
  365. time using tcpman, or if for any reason this screen doesnt appear on 
  366. start-up, dont fret.  Just choose File/Setup and the same screen will 
  367. appear. Now, the fun part.
  368.  
  369. 8)  First, click on Internal SLIP. Some of the parameters will be 
  370. grayed and others ungrayed. The gray stuff is irrelevant, so don't 
  371. worry about it.
  372.  
  373. 9)  IP address:  This is an easy one. With TIA, you don't have a real 
  374. IP address -- TIA uses the IP address of the host you connect to. But 
  375. since your SLIP and TCP applications require one, we suggest a special 
  376. "dummy" IP address of 192.0.2.1. (NOTE: On some systems it has been 
  377. reported that the address 0.0.0.0 will actually produce much faster 
  378. DNS -- Domain Name Server -- response. But some SLIP or TCP 
  379. applications may not accept this address, so try it and see.) 
  380. 10)  Name sever:  This is where you put the IP address of the Domain 
  381. Name Server(s) that your provider uses. This is very important!  If 
  382. you don't already have this information from your provider but you do 
  383. have TIA installed on your host, try this: dial up, get to a UNIX 
  384. prompt, and type "tia -address". This should return the IP address of 
  385. the name server(s), and also your host's gateway address (this does 
  386. not, however, work with all providers). You can enter more than one IP 
  387. address in this field by separating each of them with a space.
  388.  
  389. 11)  Time server: You can leave this blank.
  390.  
  391. 12)  Domain suffix: You can leave this blank also (see the Trumpet 
  392. install doc for details on how this could be used).
  393.  
  394. 13)  The following settings control the flow of data between your 
  395. machine and the Internet. The Trumpet install documentation has rules 
  396. for setting these. Supposedly you can get better performance by 
  397. tweaking these numbers. The default values (listed below) work fine on 
  398. our test setup. We suggest setting them  this way initially and then, 
  399. just when everything is working, tweak them to your hearts desire!  
  400. (For more info on how to tweak them read the Trumpet install 
  401. document.)
  402.  
  403. MTU:                   1500
  404. TCP RWIN:              4096
  405. TCP MSS:               1460
  406. TCP RTO MAX:           60
  407. Demand Load Timeout:   5
  408.  
  409. 14)  SLIP Port:  This is your modem's com port
  410.  
  411. 15)  Baud Rate:  This is your modem's baud rate - if you use a 14.4K 
  412. modem set this to 19200.
  413.  
  414. 16)  Hardware Handshake:  This box should be checked if your modem can 
  415. handle it. (SLIP usually *requires* hardware handshaking.)
  416.  
  417. 17)  Van Jacobson CSLIP Compression:  DO NOT check this. TIA may 
  418. support CSLIP in the future but for now this will only cause you much 
  419. pain and suffering.
  420.  
  421. 18)  Online Status Detection:  DCD or DSR, if your modem can handle it 
  422. (check your modem manual for details) -- but "none" should also be 
  423. okay.
  424.  
  425. 19)  Hooray -- you've configured Trumpet!  Click on the O.K. button 
  426. and close tcpman. Before you login, however, we suggest you get Mosaic 
  427. or another client installed, configured and ready to run - that way 
  428. there will actually be something to do once you make your connection.
  429.  
  430. B) Manual Login
  431.  
  432. We suggest manually logging in initially as opposed to creating a 
  433. login script right off the bat. Creating a login script is a chore in 
  434. itself, and besides, youll need to do a manual login to know what to 
  435. script anyway!
  436.  
  437. 1)  Start tcpman.  Use the File/Run method as before or create an icon 
  438. for it (see your Windows manual for instructions) and launch it that 
  439. way.
  440.  
  441. 2)  Choose "Manual login" from the "Dialler" menu.  You should see a 
  442. message in the tcpman window ending with the line: "SLIP DISABLED".
  443.  
  444. 3)  Assuming that your modem is properly configured* (see the MODEM 
  445. section above) you can simply enter the AT command string "atdtxxx-
  446. xxxx" where "xxx-xxxx" is your local providers phone number, and press 
  447. ENTER.  This will start the dialling process.
  448.  
  449. *If you need to enter other modem commands (like &f to reset your 
  450. modem to factory settings, for example) so that you meet the 
  451. conditions mentioned in the MODEM section above - this is the place to 
  452. do it.
  453.  
  454. 4)  At this point tcpman acts like a generic terminal program.  You 
  455. should be able to connect to your shell account like you would 
  456. normally.  Follow your typical login procedure and negotiate all the 
  457. obstacles your provider has put in front of you until you reach a UNIX 
  458. prompt.  On some systems this just means entering your login and 
  459. password; on others you must navigate through menus (often there is a 
  460. "system" or "shell" option to get you to a command prompt -- if you 
  461. are unsure ask your friendly sysadmin how to reach a shell prompt).
  462.  
  463. 5)  Type "tia".  If TIA is installed correctly (and we are assuming 
  464. for the purposes of this document that it is) you should see the 
  465. copyright message followed by:  "Ready to start your SLIP software". 
  466. If not, refer to the TIA Single User Installation Instructions.
  467.  
  468. 6)  THE MOST IMPORTANT STEP OF ALL -- hit the **ESCAPE** key to start 
  469. SLIP!
  470.  
  471. 7)  That's it -- you have a SLIP connection! Fire up Mosaic or any 
  472. other client application and start surfing. (If you have problems see 
  473. the troubleshooting section below.)
  474.  
  475. 8)  When you are ready to exit TIA choose the "Manual login" option 
  476. from the "Dialler" menu again - this takes you out of SLIP (on the PC 
  477. side). Then, to end your TIA session, type five consecutive CTRL-Cs in 
  478. moderate succession (you may need to try this more than once).  This 
  479. should leave you back at the UNIX prompt where you began.  If you want 
  480. to continue on in your shell account, keep in mind that tcpman is not 
  481. very good for this and you may see garbled characters on the screen.  
  482. I would suggest logging off and reconnecting with a "real" 
  483. communications program (e.g. Procomm) to work in your shell account.
  484.  
  485. 9)  To cleanly exit from your host, go through your normal log off 
  486. procedure on the host, and then hit the ESCAPE key again and choose 
  487. the "Bye" option from the "Dialler" menu.  This will run the bye.cmd 
  488. script and disconnect you cleanly.
  489.  
  490. C) Login Scripting
  491.  
  492. Creating a login script for Trumpet can be a *relatively* simple task 
  493. if you know your login procedure well.  Of course, since the 
  494. procedures to login to various hosts are so different from one 
  495. another, it is impossible to give any but the most general guidelines.  
  496. The trumpet.zip file in the marketplace.com archive includes a 
  497. document entitled "script.doc" (in MS Word format) which has all the 
  498. rules and regulations for creating your own login script. Also 
  499. included in that .zip file is a simple sample script entitled 
  500. "login.cmd".
  501.  
  502. One last note.  Trumpet is not free.  If you use it for more than 
  503. 30days PLEASE pay the registration fee to the author. That's what 
  504. supports more shareware development.
  505.  
  506. EXAMPLE #2: CHAMELEON SAMPLER
  507.  
  508. The Chameleon Sampler is a very good choice -- if you can get it 
  509. scripted to work on your system (Chameleon does not offer a manual 
  510. login option).  It comes with several good clients and seems to work 
  511. reliably once you get it set up.  Getting it set up, however, is not 
  512. always a simple task.
  513.  
  514. 1)  Before you start you should check and make sure you dont have any 
  515. other copies of a file called "winsock.dll". In File Manager use the 
  516. "Search..." function under the "File" menu to search all your 
  517. directories for "winsock.dll". If you do find other versions of this 
  518. file and feel the need to keep them around, please ensure they are not 
  519. in your path.
  520.  
  521. 2)  Move the Chameleon sampler.exe file to a temporary directory (i.e. 
  522. a blank one you create for this purpose).  It is a self-extracting 
  523. archive so you can just double-click on it in File Manager or type 
  524. "sampler" from the DOS prompt in the temp directory.
  525.  
  526. 3)  From within Windows, run the setup.exe program located in the temp 
  527. directory you created (or just find the file in File Manager and 
  528. double-
  529. click on it).
  530.  
  531. 4)  Follow the installation instructions (for the rest of this example 
  532. well assume you used the default installation directory of 
  533. c:\netmanag).
  534.  
  535. 5)  After you get the "Installation is Complete" dialog box, exit 
  536. Windows and reboot (necessary because Chameleon has added itself to 
  537. your path in your autoexec.bat file and also modified your win.ini 
  538. file).
  539.  
  540. 6)  Restart Windows and then start the "Custom" utility (found in your 
  541. new "Chameleon Sampler" group).
  542.  
  543. 7)  The first step in the configuration of Chameleon is to create an 
  544. interface. Choose "Add..." from the "Interface" menu item.  In the 
  545. "Add Interface" dialogue box select "SLIP" from the "type" box and 
  546. enter some descriptive name (like the name of your service provider, 
  547. e.g. MedComm) in the "name" box. Choose OK.
  548.  
  549. 8)  Next choose "IP Address..." from the "Setup" menu and enter the 
  550. value 1.1.1.1 (Note: you dont actually have a true IP Address with 
  551. TIA, but since Chameleon and your TCP client applications expect one, 
  552. you need to enter something. 1.1.1.1 is the standard "dummy" IP 
  553. address recommended for Chameleon, but if you have any problems with 
  554. it, you can also try 192.0.2.1, which is a safe address in a special 
  555. unused "test" network.)
  556.  
  557. 9)  Next choose "Domain Name..." from the "Startup" menu and enter 
  558. your providers domain name (e.g. provider.com)
  559.  
  560. 10)  Next choose "Port..." from the "Startup" menu and enter the 
  561. following values:
  562. Baud Rate         Your modems fastest baud rate (if you have a 
  563. 14.4.modem
  564.                   choose 19200)
  565. Data Bits         8
  566. Stop Bits         1
  567. Parity            None
  568. Flow Control      Hardware
  569. Connector         This is the com port your modem will be using 
  570. (typically
  571.                   either comm1 or comm2)
  572. You can safely leave both Parity Check and Carrier Detect unchecked
  573.  
  574. 11)  Next choose "Modem..." from the "Startup" menu. Click on your 
  575. modem type in the "Modem Type" box (most modems today are Hayes 
  576. compatible - so its usually a safe choice if you are unsure). You can 
  577. usually leave everything at the default setting -- although we do 
  578. recommend you put the value "atz" in the "Exit" box -- this resets 
  579. your modem when you exit Chameleon.
  580.  
  581. 12)  Next choose "Dial" from the "Startup" menu.  Enter the phone 
  582. number of your provider in the "Dial" box. The rest of the options are 
  583. up to you -- but we suggest upping the "Timeout..." box to 120 seconds 
  584. and checking the "Open log when connecting" box.
  585.  
  586. 13)  Next choose "Login..." from the "Startup" menu. The first two 
  587. settings should be self explanatory. In the "Startup Command" box type 
  588. "tia" (without the quotes).
  589.  
  590. 14)  Finally, choose "Domain Servers..." from the "Services" menu. 
  591. This is where you put the IP addresses of the Domain Name Server(s) 
  592. that your provider uses. THIS IS VERY IMPORTANT!  If you don't already 
  593. have this information from your provider but you do have TIA installed 
  594. on your host, try this: dial up, get to a UNIX prompt, and type "tia -
  595. address". This should return the IP address of the name server(s), and 
  596. also your host's gateway address (this does not, however, work with 
  597. all providers). 
  598. 15)  Youre done with the easy part! Exit out of "Custom" and save your 
  599. changes.
  600.  
  601. 16)  Now you need to bring up the "slip.ini" file found in your 
  602. netmanag directory into a text editor such as Notepad. A shortcut is 
  603. to find the "slip.ini" in File Manager and double-click on it -- by 
  604. default ".ini" files are associated with Notepad.
  605.  
  606. 17)  Scroll down to the bottom of the file and find the entry for the 
  607. interface you just created - in this example it would be *something* 
  608. like this:
  609.  
  610. [MedComm]
  611. SCRIPT=login: $u$r word: $p$r
  612. TYPE=SLIP
  613.  
  614. The elements of this script are as follows:
  615.  
  616. SCRIPT=login:   Chameleon is waiting to "see" the string "login:"
  617.                 before it starts executing the commands immediately
  618.                 following.
  619. $u$r            After Chameleon receives "login:" it sends the value
  620.                 you entered in the "User Name:" field during setup 
  621. ($u)
  622.                 followed by a return ($r)
  623. word:           Chameleon is now waiting to receive the string "word:"
  624.                 as in "Password:"
  625. $p$r            After Chameleon receives "word:" it sends the value 
  626.                 you entered in the "Password:" field during setup ($p)
  627.                 followed by a return ($r)
  628.  
  629. Unfortunately, most logins are not nearly this simple.  The following 
  630. example is from TIA tech-support -- it illustrates the kind of 
  631. difficulties that might be involved (this script was devised to help a 
  632. TIA user navigate through his host's menu system):
  633.  
  634. SCRIPT=name> $u$r keys: $fEnter2$r login: $u$r word: $p$r {#1} $c$r
  635. TYPE=SLIP
  636.  
  637. These are excerpts from the support message that explains the script: 
  638. "I used your "Capture of Actual Login" below [deleted for privacy] to 
  639. set these parameters.  I assumed that under the "Setup" menu "Login" 
  640. choice you have "User Name" set to "xxxxxxxx" and "password" set to 
  641. your password and "Startup Command" set to "tia" (w/o the quotes, of 
  642. course)." 
  643.  
  644. "A brief explanation:
  645. When Chameleon "sees" "Enter username>" (name>) it will enter the 
  646. value you entered for "User Name" in the config followed by a return. 
  647. ($u$r)"
  648.  
  649. "When Chameleon "sees" "Enter number of selection or use arrow keys:" 
  650. it will give you a box (titled Enter2) in which to enter a number. 
  651. ($fEnter2$r)  Enter the number "2" (or whatever happens to be 
  652. necessary to get to the machine that you want)."
  653.  
  654. "When Chameleon "sees" "login:" it enters your "User Name" again. 
  655. ($u$r)
  656. and when it "sees" "Password:" it enter your "Password" (from the 
  657. config). 
  658. ($p$r)"
  659.  
  660. "Finally, when Chameleon "sees" the Unix prompt (I took {#1} to be 
  661. your unix prompt - if this is incorrect you can change it...) it 
  662. enters the value you placed in "Startup Command" in the config (tia) 
  663. followed by a return."
  664.  
  665. The $f function, which gives you a pop-up box in which to enter 
  666. values, is particularly useful for negotiating menus. Always watch the 
  667. log window when trying out a modified script - it will give you the 
  668. clues you need to fix any problems.
  669.  
  670.  
  671.                      ***TROUBLESHOOTING***
  672.  
  673. The first step in troubleshooting should always be to RTFM (Read The 
  674. *Fine* Manual). In this case, besides the instructions that come with 
  675. either Trumpet or Chameleon, this means you should also take a look at 
  676. the following documents available at Marketplace.com:
  677.  
  678. Single User FAQ                     tia-FAQ-single@marketplace.com
  679. Host FAQ                            tia-FAQ-host@marketplace.com
  680. Single User Install Instructions    tia-install-single@marketplace.com
  681. Host Install Instructions           tia-install-host@marketplace.com
  682. Personal IP Help File               tia-tcpip-info@marketplace.com
  683.  
  684. DNS RESOLUTION
  685.  
  686. The single most common problem people have with their SLIP connection 
  687. is the dreaded "DNS Lookup Failed" or "Unable To Resolve Host Name" 
  688. name resolution problem.  If you have followed the instructions above 
  689. and have no other problems (i.e. TIA is running and you have 
  690. established a SLIP connection) EXCEPT that none of your client 
  691. software can connect to remote hosts - you have the DNS blues. There 
  692. are several possible causes:
  693.  
  694. 1)  You left blank or did not enter the proper IP addresses in the 
  695. "Domain Servers" or "Name Servers" section of your SLIP software. See 
  696. the installation instructions above for more details.
  697.  
  698. 2)  Your modem is set to XON/XOFF flow control. See your modems manual 
  699. for instructions on how to disable this.
  700.  
  701. 3)  Your port is configured incorrectly in Windows.  Go to Control 
  702. Panel and select the "Ports" applet.  Select the port your modem uses 
  703. and choose "Settings".  Make sure that these settings are the 
  704. relatively standard 19200(for 14.4 modems), 8 data bits, No Parity, 
  705. and 1 stop bit - and be SURE that "Flow Control" is set to "Hardware".
  706.  
  707. 4)  You do not have an "8-bit clean" connection to your host. TIA 
  708. requires an 8-bit clean connection in order to run. Determining if 
  709. this is the cause is time-consuming but fairly easy:
  710.  
  711.      a) Dial up your provider using conventional communications 
  712. software (i.e. dont use SLIP software) and ftp (in binary mode) the 
  713. file "ascii.bin" from marketplace.com (its in the /tia directory).
  714.  
  715.      b) Next save a copy of this file on your host machine. Call it 
  716. ascii.old -- to do this type "cp ascii.bin ascii.old".
  717.  
  718.      c) Then, using zmodem (if your communications software supports 
  719. it) first download and then upload the file "ascii.bin" in binary mode 
  720. (on the unix side the command is "sz -b filename" to send and "rz" to 
  721. receive. *Remember to set binary mode* from your PC communications 
  722. program when you upload the file too -- this is very important.
  723.  
  724.      d) Finally, back on your host, compare the up/downloaded file 
  725. (still called ascii.bin) with the saved copy (ascii.old) using the 
  726. "cmp" command (i.e. type "cmp ascii.bin ascii.old"). If nothing 
  727. happens -- great, youve got an 8-bit clean connection.
  728.  
  729.      e) If they differ, chances are you dont have an 8-bit clean 
  730. connection -- and DNS (or any kind of full SLIP protocol) will NOT 
  731. work. At that point you need to check with your provider to see if 
  732. s/he can provide you with a way to get one.
  733.  
  734. OTHER TIPS
  735.  
  736. *  First, make *sure* you've read the TIA Single User FAQ (tia-FAQ-
  737.    single@marketplace.com). A number of the most common problems are 
  738.    covered there.
  739.  
  740. *  If your modem won't connect, start fiddling with your modem init 
  741.    string. This can be a lot of fun (not), but sometimes your modem 
  742.    manufacturer can help (not not).
  743.  
  744. *  If your last login attempt failed, your modem may be confused. 
  745.    Turning it off and back on will reset it. 
  746. *  Sometimes rebooting will help, especially if you have an internal 
  747.    modem that is not easy to reset.
  748.  
  749. *  If your login script is failing, see which message it last posted, 
  750.    then log in manually and follow that sequence meticulously (in 
  751.    Chameleon, make sure to open the Log window).
  752.  
  753. *  If Telnet can handle an IP address but not a domain name, your 
  754.    domain name server (DNS) information in your SLIP software is 
  755.    highly suspect.
  756.  
  757. *  If programs start but you get the errors similar to "Host or 
  758.    gateway not responding", check your gateway information. It is 
  759.    preferable to use an IP number for your gateway. That way, if your 
  760.    DNS is not working for some reason, you can still connect to sites 
  761.    using IP numbers.
  762.  
  763. *  Ask folks who have working SLIP or TIA connections for help -- 
  764.    especially those using your same access provider, as they can 
  765.    confirm addresses and SLIP scripts.
  766.  
  767. *  Ask on the appropriate newsgroups (alt.winsock and alt.dcom.slip-
  768.    emulators are good places). Do this _after_ reading the frequently 
  769.    asked question (FAQ) file for that group, however.
  770.  
  771. *  Last but not least, if you are really, really stuck, write TIA Tech 
  772.    Support (you didn't think we'd suggest that _first_, did you??)
  773.  
  774.      tia-support@marketplace.com (for Registered TIA users)
  775.      tia-eval-support@marketplace.com (for Evaluation TIA users)
  776.  
  777. Happy Surfin!
  778.  
  779. (c) 1994, 1995 by Cyberspace Development, Inc. and InterMind Corp.
  780. version 1.2 (1/18/95)
  781.