home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1997 March / Simtel-MSDOS-Mar1997-CD2.iso / disc2 / ncsatlnt / tel_faq.txt < prev    next >
Text File  |  1996-04-19  |  20KB  |  436 lines

  1. PC Telnet FAQ
  2.  
  3. NCSA Telent Frequently Asked Questions
  4.  
  5. NCSA Telnet for DOS development and technical support has been discontinued
  6. effective Feb. 1, 1995. Funding for this application is no longer available
  7. and overall interest in DOS applications is deminishing. We recognize there
  8. is still some interest in NCSA Telnet for DOS and the application will
  9. remain on our anonymous ftp server. Enclosed is a list of frequently asked
  10. questions which will help NCSA DOS Telnet users solve the common problems
  11. encountered with Telnet.
  12. ----------------------------------------------------------------------------
  13.  
  14. What are the system requirements for Telnet?
  15.  
  16.      A iX286 running a minimum of DOS 2.0 or later using a packet driver for
  17.      the Network adapter or modem.
  18.      -----------------------------------------------------------------------
  19.  
  20. How do I unzip the file?
  21.  
  22.      Files on our server are compressed using the Shareware utility Pkzip,
  23.      version 2.04g. To decompress the Telnet file you'll need version 2.04g
  24.      If you need to obtain a copy of this software you can find a copy of
  25.      the PKware "Shareware" utilities on our anonymous ftp server. The file
  26.      pkz204g.exe can be found in the /PC/Windows/Contrib directory. This
  27.      file is a self-extracting executable. If you are not familiar with this
  28.      file type, follow the below directions.
  29.         o Create a directory c:\util
  30.         o Move pkz204g.exe into c:\util
  31.         o Change directories to c:\util
  32.         o Type pkz204g at the DOS prompt and the file will decompress.
  33.         o Read the Readme.doc file
  34.      -----------------------------------------------------------------------
  35.  
  36. Where do I obtain documentation for NCSA Telnet?
  37.  
  38.      There are three versions of the NCSA Telnet documents available from
  39.      the /Telnet/DOS/docs directory on our ftp server (ftp.ncsa.uiuc.edu).
  40.  
  41.      tel23asc.zip
  42.           ASCII version compressed with the PKzip utility.
  43.      pctelnet2.3.asc.tar.Z
  44.           An ASCII version compressed and archived using UNIX compress and
  45.           tar.
  46.      telnet2.3.msw.sit.hqx
  47.           A Microsoft Word version Stuffed and Binhexed.
  48.      -----------------------------------------------------------------------
  49.  
  50. What are packet drivers?
  51.  
  52.      A packet driver is program that allows Telnet to send and receive data
  53.      packets through a network adapter or communications card. For example,
  54.      the 3Com509 card is one such network adapter or comm card.
  55.  
  56.      NCSA Telnet offers internal support for "some" of the many
  57.      communications cards that are in use. The cards that Telnet supports
  58.      directly are:
  59.  
  60.         o 3Com501, 3Com503, 3Com523
  61.         o Western Digital WD8003A, WD8003E, WD8003EB
  62.         o AT&T starlan 10
  63.         o Ungermann-Bass PC-NIC, Ungermann-Bass NICps/2
  64.         o Micom NI5210
  65.  
  66.      Most of these cards were built during the Stone Age (1988-1991'ish) and
  67.      are probably associated with the iX286 and early iX386 systems. Due to
  68.      the increasing number of cards that came to market and the creation of
  69.      the Packet Driver Specification (PDS) developed by FTP Software, we got
  70.      out of driver development. If you have a card other than the few
  71.      mentioned above, you will need to download a packet driver. These
  72.      drivers are freely available at the anonymous ftp site oak.oakland.edu
  73.      in the /SimTel/msdos/pktdrvr directory.
  74.  
  75.      Drivers and technical assistance are also available through Crynwr
  76.      Software. For details about the services offered by Crynwr Software
  77.      please contact them directly.
  78.  
  79.      Crynwr Software (info@crynwr.com)
  80.      11 Grant St.
  81.      Potsdam, NY 13676
  82.      315-268-1925 (-9201 FAX)
  83.  
  84.      Crynwr also has information available from the World Wide Web. If you
  85.      have access to a WWW Browser such as NCSA Mosaic, check out the
  86.      following URL. http://www.crynwr.com/crynwr/home.html
  87.      -----------------------------------------------------------------------
  88.  
  89. How do I use packet drivers?
  90.  
  91.      To use a packet driver with NCSA Telnet, you would install the driver
  92.      according to its instructions. Next edit your config.tel file to
  93.      reflect the following information:
  94.  
  95.        1. Ensure all other hardware= options are commented out. To comment
  96.           out a line in you config.tel place the pound symbol, #, at the
  97.           beginning of the line.
  98.        2. Add or Edit these lines:
  99.              + hardware=packet
  100.              + ioaddr=[software interrupt of the driver]
  101.  
  102.      For example if you load the packet driver using 0x60 for the software
  103.      interrupt, the entry would read:
  104.         o hardware=packet
  105.         o ioaddr=60
  106.  
  107.      For more information about which software interupt to select, see the
  108.      installation instruction of your packet driver for the default setting.
  109.      If you still cannot determine the software interrupt, most drivers
  110.      provide help if you attempt to invoke the driver without any options or
  111.      with the /help or /? switch. For example, if you use the 3c509 driver,
  112.      cd to the directory that contains the driver and enter the following
  113.      command at the DOS prompt:
  114.      3c509 or
  115.      3c509 /help or
  116.      3c509 /?
  117.      -----------------------------------------------------------------------
  118.  
  119. How do I run Telnet with a Novell network?
  120.  
  121.      NCSA doesn't use a Novell LAN. However, one of our users wrote:
  122.  
  123.      There is a packet driver that sits on top of the ODI interface called
  124.      odipkt. odipkt.com is available from hsdndev.harvard.edu
  125.      (128.103.202.40) in /pub/odipkt.
  126.  
  127.      There is a sample net.cfg file in that dir. A note should be made that
  128.      the order of the envelope statements is the order that they are
  129.      assigned. (I found the order backwards from the doc).
  130.      load:
  131.           lsl (odi driver from vendor or from wsgen disk odi dir)
  132.           odipkt 1 (If envelope for ethernet_ii is the second one in the
  133.           net.cfg file, odipkt 0 otherwise)
  134.           ipxodi
  135.           netx
  136.      Now telnet and ftp work fine while connected to the novell network.
  137.      -----------------------------------------------------------------------
  138.  
  139. Will Telnet run in Windows?
  140.  
  141.      NCSA's PC Telnet was not designed to be run in MS Windows. Some users
  142.      have reported success when they increase the size of memory available
  143.      in the PIF file....others have not gotten it to work at all. You must
  144.      also check the background option when you load Telnet.
  145.  
  146.      If you are looking for a native Windows telnet application, try WinQVT.
  147.      This application is a "Shareware" program that offers Telnet, FTP,
  148.      News, Mail and LPR utilities. You can find the latest copy of this
  149.      program at the anonymous ftp site oak.oakland.edu in the
  150.      /pub/win3/winsock directory. We also keep a copy of this file on our
  151.      anonymous ftp server. You can find qvtws398.zip in the
  152.      /PC/Windows/Contrib directory of ftp.ncsa.uiuc.edu.
  153.      -----------------------------------------------------------------------
  154.  
  155. Does Telnet support TN3270 teminal emulation?
  156.  
  157.      NCSA's PC Telnet does not support TN3270. However, Clarkson University
  158.      has modified our source code to support the TN3270 and they have
  159.      released it as CUTCP. For more information about the latest release of
  160.      CUTCP, see the readme file available from the anonymous ftp server
  161.      omnigate.clarkson.edu. You can find the file in the /pub/cutcp
  162.      directory.
  163.      -----------------------------------------------------------------------
  164.  
  165. Can I obtain and modify the source code?
  166.  
  167.      NCSA's PC Telnet source code is in the public domain and you are
  168.      welcome to modify and redistribute it. To obtain a copy of the source
  169.      code, download tel2308s.zip from the /Telnet/DOS directory of our
  170.      anonymous ftp server. The source code was developed using Microsoft's
  171.      C/C++, version 7.0 and MASM 5.0.
  172.      -----------------------------------------------------------------------
  173.  
  174. Can I use Telnet over a serial connection (modem)?
  175.  
  176.      Yes, you can find a number of slip drivers and dialers available from
  177.      the /SimTel/msdos/pktdrvr directory of the anonymous ftp site
  178.      oak.oakland.edu. Select a SLIP packet drive from the 00_index.txt file.
  179.      -----------------------------------------------------------------------
  180.  
  181. Can I use Telnet with AppleTalk?
  182.  
  183.      Using an Appletalk network involves some special considerations. First,
  184.      you must load the Appletalk driver into memory. Version 1.0 of the
  185.      "ATALK.EXE" driver was used in the development of NCSA Telnet.
  186.  
  187.      The second consideration involves the "interrupt=" line. The
  188.      "interrupt=" line in your CONFIG.TEL file refers to the software
  189.      interrupt the Appletalk driver is using, not the hardware interrupt the
  190.      card is set to. For example, if your Appletalk card is set to IRQ2, you
  191.      should NOT set the "interrupt=" line to "2". Instead, the value should
  192.      be set to the software interrupt, usually "interrupt=60" or
  193.      "interrupt=5C".
  194.  
  195.      Static addressing does not work at the current time in NCSA Telnet 2.3
  196.      using the AppleTalk driver. Therefore, NCSA Telnet ignores any IP
  197.      address you set in your CONFIG.TEL file, and assigns an IP address to
  198.      your PC by the Appletalk gateway.
  199.  
  200.      Some AppleTalk users have been more successful with v2.3.03 of Telnet.
  201.      If you would like to try v2.3.03, it's available on our anonymous ftp
  202.      server in the /Telnet/DOS/contributions directory.
  203.  
  204.      One of our users wrote:
  205.  
  206.      To load telnet from the dosprompt [nothing telnet-specific in
  207.      config.sys or autoexec.bat we use the following sequence:
  208.      lsl.com
  209.      ltalk.com
  210.      atalk.com
  211.      ashare.com
  212.      compat.com
  213.      d:\network\telnet\telbin -n -h d:\network\telnet\config.tel
  214.  
  215.      where all of the atalk stuff would be in the current directory and all
  216.      of the telnet stuff is in d:\network\telnet.
  217.  
  218.      broadcast=255.255.255.255
  219.      netmask=255.255.255.0
  220.      hardware=atalk # network adapter board (Appletalk)
  221.      interrupt=60 # I have an Apple or Farralon card and PhoneNET Talk #
  222.      remember to run COMPAT.COM for NCSA to run on # LocalTalk
  223.      #interrupt=5C # I have a TOPS Flashcard
  224.      mtu=512 # maximum transmit unit in bytes
  225.      maxseg=512 # largest segment we can receive
  226.      rwin=512 # most bytes we can receive without ACK
  227.      -----------------------------------------------------------------------
  228.  
  229. What do I do when Telnet is running out of memory?
  230.  
  231. The latest version of Telnet takes around 400k to run. If you have memory
  232. problems, reduce or comment out the number of lines that set the scrollback
  233. buffer in the the config.tel file. For example:
  234.  
  235.      scrollback=100 # number of lines of scrollback per session # Default is
  236.      (0)
  237. ----------------------------------------------------------------------------
  238.  
  239. How do I scroll back the screen?
  240.  
  241.      You can scroll in one line increments using the scroll lock. Press the
  242.      scroll lock in and use the arrow keys to increment by one line. To turn
  243.      off this feature, just turn off the scroll lock.
  244.      -----------------------------------------------------------------------
  245.  
  246. How do I remap keys?
  247.  
  248.      When remapping keys refer to Appendix E of the 2.3 docs. There is also
  249.      information in chapter 7, Installation and Configuration, page 7.8 and
  250.      the sample config.tel file we provide with Telnet.
  251.  
  252.      From Chapter 7:
  253.           keyfile=filename "specifies an additional keyboard mapping file to
  254.           provide move key definitions. This file over-rides the definitions
  255.           in the telnet.key file."
  256.  
  257.      From the config.tel file:
  258.           #keyfile=keymap.key #pathname of your keyboard re-mapping file.
  259.  
  260.      Re-mapping will over-ride the default telnet.key file and you will have
  261.      to include all keys in this new file. You can easily do this by copying
  262.      the contents of the telnet.key file into the newfile and then add the
  263.      key remap information.
  264.      -----------------------------------------------------------------------
  265.  
  266. Can you explain rwin, mss, and mtu in the config.tel file?
  267.  
  268.      Rwin is the TCP sliding window. The window allows transfers to proceed
  269.      without waiting for an acknowldgement for every packet, but rather
  270.      transmitting (up to) a window of data before waiting for
  271.      acknowlegments. If the window size equals the mss, then there is no
  272.      window, because every packet must be acknowledged. If large windows are
  273.      selected and data is lost, the entire window may have to be resent,
  274.      hence the warning that larger is not always better. During a transfer,
  275.      both sides of the connection continually advertise what their free
  276.      space in the window is, so that the transfer side can control data flow
  277.      to only send what the receiving side can accept.
  278.  
  279.      Mss is the maximum segment size that the TCP connection advertises to
  280.      the other side. The other side then sends packets up to this size. In
  281.      FTP, all of the data packets except the last will probably be this big.
  282.  
  283.      Mtu is the maximum size of outgoing packets on the TCP connection. When
  284.      transmitting FTP data to a host, packets will be this big, unless the
  285.      host advertizes a smaller mss. For Telnet and the FTP control
  286.      connection, packets are sent per character, so this is never an issue.
  287.      -----------------------------------------------------------------------
  288.  
  289. Can I capture what I see into a file or send it to the printer?
  290.  
  291.      Text that appears on the screen can be captured and sent to a file or
  292.      the local printer. When you press Alt-C capture is turned on. Pressing
  293.      Alt-C again turns capture off. Any text that appears on the screen is
  294.      captured and appended to the capture file. NCSA Telnet never erases the
  295.      capture file, only appends to it. The default capture file is
  296.      "capfile", but this may be changed by using the Parameter menu (Alt-P).
  297.      Changing the capture filename to prn will send all captured text to a
  298.      local printer.
  299.  
  300.      Note: you can capture text to a file or the printer in any session, but
  301.      not for more than one session at a time. When capture is active for a
  302.      session in the background, you cannot invoke capture in the current
  303.      session.
  304.  
  305.      If you press Alt-D, NCSA Telnet dumps the contents of the current
  306.      session screen into the capture file.
  307.  
  308.      ****You cannot paste from the capture file into a Telnet session****
  309.      -----------------------------------------------------------------------
  310.  
  311. How do the cut and paste features of NCSA Telnet work?
  312.  
  313.      The cut and paste functions allow you to copy blocks of text from one
  314.      session to another, or within the same session. To use these functions,
  315.      follow these steps:
  316.  
  317.        1. Enter Scrollback mode via Scrl_Lock or the right mouse button.
  318.        2. Move the cursor to the beginning position of the text you wish to
  319.           copy, and press the space bar.
  320.        3. Move the cursor to the end of the text and press the space bar
  321.           again. This action selects the area to copy.
  322.        4. Press ALT-C while still in scrollback mode. This action copies the
  323.           text into a buffer.
  324.        5. Exit Scrollback mode, and switch sessions by pressing ALT-N or
  325.           ALT-B, if you desire.
  326.        6. Position the cursor where you wish to insert the text, and press
  327.           ALT-V. This action inserts the text at the current position as if
  328.           you had typed it in.
  329.  
  330.      You can use the copy and paste functions without touching the keyboard
  331.      if you have a Microsoft-compatible mouse attached and driver loaded.
  332.  
  333.        1. Press the right mouse button to enter Scrollback mode.
  334.        2. Scroll to the beginning of the text you wish to copy, and press
  335.           the left mouse button.
  336.        3. Move the cursor to the end of the text, and press the left mouse
  337.           button again.
  338.        4. Press and hold the left mouse button, press the right mouse
  339.           button, then release both buttons. This action copies the text
  340.           into the buffer.
  341.        5. Exit Scrollback mode by pressing the right mouse button.
  342.  
  343.      To paste the buffer to the screen, press and hold the right mouse
  344.      button, then press the left mouse button, then release them both. The
  345.      text should appear as if you typed it in.
  346.  
  347.      Note: You cannot paste from the capture file. The capture file and
  348.      scrollback buffer are NOT the same.
  349.      -----------------------------------------------------------------------
  350.  
  351. Can I FTP or rcp to my PC from a remote site?
  352.  
  353.      Yes, if you are using Telnet's server mode. Invoking telnet with the -s
  354.      option enters the server mode. In this mode, you can establish remote
  355.      connections as usual with telnet, except that telnet stays active even
  356.      when all remote sessions have been closed. The reason for this is that
  357.      when in server mode Telnet waits for external FTP and rcp requests.
  358.      This allows you to leave your PC and access files there from a remote
  359.      location.
  360.      -----------------------------------------------------------------------
  361.  
  362. Can I restrict access to my machine when in server mode?
  363.  
  364.      If you want to restrict access to your machine when in server mode, you
  365.      will need to run telpass and create a password file. Start up Telpass
  366.      from DOS with the name of the password file that you wish to edit.
  367.  
  368.      Example C:\telpass pwfile
  369.  
  370.      Follow the instructions in Telpass to create/edit the password file.
  371.  
  372.      Once you have a password file, you must add a passfile option to your
  373.      config.tel file so that Telnet knows where to find the password file.
  374.      You must include the full path to the password file.
  375.  
  376.      Example passfile="c:\bat\ftppass"
  377.  
  378.      -----------------------------------------------------------------------
  379.  
  380. Can I permanently change my screen colors?
  381.  
  382.      You can make color changes permanent for particular sessions. To do so,
  383.      simply add the options below to the host information contained in the
  384.      config.tel file.
  385.  
  386.      nfcolor=white (normal forground)
  387.      nbcolor=black (normal background)
  388.      rfcolor=black (reverse forground)
  389.      rbcolor=white (reverse background)
  390.      ufcolor=blue (underline forground)
  391.      ubcolor=black (underline background)
  392.  
  393.      Put these options after the keyword name, to associate colors to the
  394.      named session. The parameters are installed whenever a connection is
  395.      opened with that session name.
  396.  
  397.      For machines with EGA or better graphics adapters, the following colors
  398.      are also available:
  399.  
  400.      BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, YELLOW, WHITE
  401.  
  402.      These colors are in all caps, and for the forground colors they are the
  403.      highlighted version of the lowercase colors. For background colors,
  404.      they make the foreground blink.
  405.      -----------------------------------------------------------------------
  406.  
  407. What does the Local host or gateway not responding error mean?
  408.  
  409.      The possible reasons for this message are:
  410.        1. Network problem
  411.        2. Configuration file problem
  412.        3. Host is down
  413.        4. Gateway is down
  414.  
  415.      The possible solutions to this problem are:
  416.        1. Check to see that the network is up and running
  417.        2. If the computer is not on your local network, check to see if the
  418.           gateway is up and running.
  419.        3. Ask the system administrator to check the specification of the
  420.           gateway (gateway=) in your configuration file.
  421.        4. Check the IP number of the computer you are trying to connect to.
  422.        5. Check to make sure that your computer is attached to the network.
  423.        6. Check the integrity of the network cable.
  424.      -----------------------------------------------------------------------
  425.  
  426. Why can't I get BOOTP working on the latest version of telnet?
  427.  
  428.      We have heard reports that BOOTP may still be broken, so that some
  429.      systems cannot use it. If you are having problems, you may want to try
  430.      2.3.03 instead. This version is available via our ftp site in the
  431.      /Telnet/DOS/contributions directory.
  432.  
  433. ----------------------------------------------------------------------------
  434. National Center for Supercomputing Applications
  435. University of Illinois at Urbana/Champaign
  436.