home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 July / CHIP797.ISO / workshop / doc / modwsh20.exe / INTERLNK.TXT < prev    next >
Encoding:
Text File  |  1995-01-03  |  12.5 KB  |  301 lines

  1.  
  2.           HOW TO USE INTERLINK TO CONNECT TWO COMPUTERS
  3.           
  4.           Microsoft's DOS 6.0 and later come with a program called
  5.           INTERLINK, and it is one of the best kept secrets around.
  6.           INTERLINK provides a fast and efficient way to exchange
  7.           data between IBM-compatible computers. You do not even
  8.           use a modem when you use INTERLINK.
  9.  
  10.           All you need is an inexpensive cable. This can be a serial
  11.           null modem cable or a bi-directional parallel cable (a
  12.           Laplink type of cable). You can find such a cable at your
  13.           local super computer store. You can also purchase a cable
  14.           from a mail-order firm like Dalco Electronics:
  15.           
  16.           Dalco Electronics
  17.           275 Poineer Boulevard
  18.           Springboro, Ohio 45066
  19.           513-743-8042 (phone)
  20.           800-445-5342 (toll-free)
  21.           513-743-9251 (fax)
  22.           
  23.           I have bought several cables from Dalco and have always
  24.           found the people there very helpful. Ask for a free
  25.           catalog.
  26.           
  27.           A bi-directional parallel cable (Laplink type) will be
  28.           your best selection because it will transfer data faster.
  29.           Both computers need to be IBM-compatible. Choose a
  30.           computer with DOS 6 or later to be the "client" computer.
  31.  
  32.           The CLIENT computer is the computer at which you type
  33.           commands from the keyboard. 
  34.           
  35.           The other computer is called the "SERVER" computer.
  36.           
  37.           So, the server computer is the computer connected to the
  38.           client computer via the cable, and its purpose is to
  39.           serve the client. When connected with INTERLINK, you use
  40.           the client computer to control both the client's disk
  41.           drives and printers and also the server's disk drives and
  42.           printers. This is all done from the keyboard of the
  43.           client computer. It really doesn't matter which computer
  44.           you designate as client or server as long as you keep a
  45.           few rules in mind:
  46.            
  47.           *    You need DOS 6 or later on the client computer.
  48.           *    The server computer must have DOS 3.0 or later.
  49.           *    You will need at least 16K of free memory on the
  50.                client computer.
  51.           *    You will need 130K of free memory on the server
  52.                computer.
  53.           *    You will need either a null modem cable or a bi-
  54.                directional parallel cable (a Laplink type).
  55.           *    The computers need to have a free serial port on each
  56.                computer or a free parallel port on each computer. 
  57.                You will use the cable to connect the two computers.
  58.           
  59.           Check the above list to make sure both computers will
  60.           meet the requirements.
  61.           
  62.           
  63.           
  64.           PREPARING THE CLIENT FOR INTERLINK
  65.           
  66.           On the client computer, change to the C:\DOS directory by
  67.           typing at the C prompt:
  68.           
  69.                                 cd \dos <ENTER>
  70.           
  71.           Do a directory to make sure that INTERLINK is on the
  72.           client computer.
  73.           
  74.                                 dir inter*.* <ENTER>
  75.           
  76.           In order to use the INTERLINK program, you will need to
  77.           modify the CONFIG.SYS file on the client computer. To be
  78.           safe, you should make a backup of your AUTOEXEC.BAT and
  79.           CONFIG.SYS files on the client computer and have a boot
  80.           diskette. The boot diskette can provide a way to boot the
  81.           computer should you find your machine will not start up
  82.           on the C drive.  
  83.           
  84.           *    Make a boot diskette. Place a blank diskette in drive
  85.                A and issue:
  86.           
  87.                                 format a:/s <ENTER>
  88.                   
  89.                This can be used to start the computer in an
  90.                emergency. To use it, start the computer with this
  91.                diskette in your A drive.
  92.           
  93.           *    Use another diskette and copy the AUTOEXEC.BAT and
  94.                CONFIG.SYS files to it. Here is how: Place a blank
  95.                formatted diskette in drive A and type:
  96.           
  97.                                 copy c:\autoexec.bat a: <ENTER>
  98.                                 copy c:\config.sys a: <ENTER>
  99.           
  100.           The INTERLINK program (INTERLINK.EXE) should be located
  101.           in the C:\DOS directory. Use the DOS EDIT program to
  102.           change the client computer's CONFIG.SYS file.  Before you
  103.           modify a CONFIG.SYS or AUTOEXEC.BAT file, always have a
  104.           boot diskette (for safety), and save copies of the
  105.           CONFIG.SYS and AUTOEXEC.BAT files on a diskette. These
  106.           can be used in an emergency.
  107.           
  108.           Next, you need to add a line to the client computer's
  109.           CONFIG.SYS file like:
  110.           
  111.           device=c:\dos\interlnk.exe /drives:5
  112.           
  113.           To figure out the number for the /drives switch, you need
  114.           to add up the number of drives on the server computer.
  115.           The default for the /drives switch is 3. So, if the
  116.           server does not have over 3 drives, then you do not even
  117.           have to specify a drive number. Then the device line
  118.           would look like so:
  119.           
  120.           device=c:\dos\interlink.exe
  121.           
  122.           The drives on the server will be reassigned new drive
  123.           letters. Suppose you had two drives on the client
  124.           computer and six drives on the server computer. Then the
  125.           /drives switch should be set at 6. In that case you could
  126.           add a line to the client computer's CONFIG.SYS file like:
  127.           
  128.           device=c:\dos\interlnk.exe /drives:6
  129.           
  130.           Let's use an example that calls for 6 drives on the
  131.           "server." Suppose you issued the command:
  132.           
  133.                                 edit c:\config.sys <ENTER>
  134.           
  135.           And you observed that the client computer's CONFIG.SYS
  136.           file looked like:
  137.           
  138.           DEVICE=C:\DOS\HIMEM.SYS
  139.           DOS=HIGH,UMB
  140.           DEVICE=C:\DOS\EMM386.EXE NOEMS
  141.           DEVICEHIGH=C:\MOUSE\MOUSE.SYS
  142.           FILES=30
  143.           BUFFERS=20
  144.           STACKS=9,256
  145.           NUMLOCK=OFF
  146.           
  147.           To add the INTERLINK device line, you may insert it near
  148.           the other device line. The modified CONFIG.SYS file would
  149.           look like:
  150.           
  151.           DEVICE=C:\DOS\HIMEM.SYS
  152.           DOS=HIGH,UMB
  153.           DEVICE=C:\DOS\EMM386.EXE NOEMS
  154.           DEVICE=C:\DOS\INTERLNK.EXE /DRIVES:6
  155.           DEVICEHIGH=C:\MOUSE\MOUSE.SYS
  156.           FILES=30
  157.           BUFFERS=20
  158.           STACKS=9,256
  159.           NUMLOCK=OFF
  160.  
  161.  
  162.           If you are using EDIT and you have the CONFIG.SYS file
  163.           the way you want it, you can save the changes like so:
  164.           
  165.                                 <ALT>
  166.                                 f
  167.                                 s
  168.           
  169.           Then restart the computer so the changes in the
  170.           CONFIG.SYS file will take effect. 
  171.           
  172.           
  173.           TIPS
  174.           
  175.           Another option is to use a Query command in the
  176.           CONFIG.SYS file like:
  177.           
  178.           DEVICE?=C:\DOS\INTERLNK.EXE /DRIVES:6
  179.           
  180.           Note the question mark after DEVICE. This results in the
  181.           computer prompting you each time you re-start the
  182.           computer, giving you the option to select INTERLINK. The
  183.           prompt will look like so:
  184.           
  185.           DEVICE=C:\DOS\INTERLNK.EXE /DRIVES:6 [Y/N]?
  186.           
  187.           Then answer Y to load INTERLINK or N to not load it.
  188.           
  189.           If you want to load the DEVICE line into high memory (and
  190.           the client computer has this capability), you will save
  191.           about 9K of RAM. To accomplish this, you insert the line
  192.           using a DEVICEHIGH statement like this:
  193.           
  194.           DEVICEHIGH=C:\DOS\INTERLNK.EXE /DRIVES:6
  195.  
  196.  
  197.           PREPARING THE SERVER COMPUTER
  198.           
  199.           If the computer that you plan to use as the server has
  200.           DOS 6 or later, you will not have to do anything special
  201.           to prepare it for use with INTERLINK. In such a case all
  202.           you do is, at the C prompt type:
  203.           
  204.                                 intersvr <ENTER>
  205.           
  206.           This assumes that the file INTERSVR.EXE is in the C:\DOS
  207.           directory of the server computer and that the C:\DOS
  208.           directory is in the PATH. (With DOS 6.0 and later, this
  209.           is the way DOS installs itself.) 
  210.           
  211.           If you are using a computer with an earlier DOS, you can
  212.           copy the INTERSVR.EXE file to a floppy disk, then copy it
  213.           to a directory that is in the PATH of the server
  214.           computer. The C:\DOS directory would be a good choice to
  215.           copy the file to, as this directory should be in the
  216.           computer's PATH. To see what directories are in the
  217.           computer's PATH, at the C prompt type:
  218.           
  219.                                 path <ENTER>
  220.           
  221.           You can also copy the INTERSVR files to another computer
  222.           using the cable:
  223.           
  224.                  1.  Connect the two computers with the cable you
  225.                      plan to use for INTERLINK. This can be either
  226.                      a null modem cable or a bi-directional
  227.                      parallel cable (Laplink cable).
  228.           
  229.                  2.  On the computer that does not have INTERSVR,
  230.                      change to the directory where you want to copy
  231.                      the files. A good choice would be the C:\DOS
  232.                      directory.
  233.           
  234.                  3.  If you are using the serial ports and not
  235.                      COM1, you may have to disable the SHARE
  236.                      command in the AUTOEXEC.BAT or CONFIG.SYS
  237.                      file. You do this with the DOS EDIT program
  238.                      using a REM statement.
  239.           
  240.                  4.  At the DOS prompt on the computer where you
  241.                      have INTERLINK files, type:
  242.           
  243.                             intersvr /rcopy <ENTER>
  244.           
  245.                  5.  Then just follow the prompts to copy the
  246.                      INTERSVR files onto the other computer. They
  247.                      will be copied to the current directory on the
  248.                      other computer.
  249.           
  250.           
  251.           USING INTERLINK
  252.           
  253.           Once you have prepared the client and server computers,
  254.           you are ready to test INTERLINK. With the cable installed
  255.           and connecting both computers, do the following:
  256.           
  257.                  1.  On the server computer, at the DOS prompt
  258.                      type:
  259.           
  260.                             intersvr <ENTER>
  261.           
  262.                  2.  Restart the client computer. INTERLINK will
  263.                      run on start up as the DEVICE line is executed
  264.                      on startup.
  265.           
  266.                  3.  On the client computer change to the drive of your
  267.                      choice, making one of the redirected drives the
  268.                      active one.
  269.           
  270.           With everything working properly, INTERLINK will detect
  271.           the cable connection, and you will be presented with a
  272.           screen of information on the server computer. This screen
  273.           will show which drives are assigned different drive
  274.           letters. To get familiar with the different drives, you
  275.           can change to various drives and issue DIR commands for
  276.           your confirmation. You can then use standard DOS commands
  277.           or a "shell" program to copy files from one machine to
  278.           another. 
  279.           
  280.           
  281.           BREAKING THE INTERLINK CONNECTION
  282.           
  283.           To break the connection between the two computers, use
  284.           the server computer and press:
  285.           
  286.                                 <ALT> <F4> 
  287.           
  288.           INTERLINK is very easy to use once you have it installed.
  289.           The next time you use it, you can just connect the cable
  290.           and type the INTERSVR command on the server computer. 
  291.           
  292.           
  293.           TIP
  294.           
  295.           For more INTERLINK options and information, at the DOS
  296.           prompt type:
  297.           
  298.                                 help interlnk <ENTER>
  299.  
  300.           ========================================================
  301.