home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd2.bin / dosutils / xfs186 / xfs.txt < prev    next >
Encoding:
Text File  |  1994-09-21  |  31.5 KB  |  922 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                                          XFS Version 1.8
  9.                                Network File System (NFS) Client for PC's
  10.  
  11.                 Copyright (C) 1994, Robert Juhasz.  All rights reserved.
  12.  
  13.                                                       September 21, 1994
  14.  
  15.  
  16.  
  17.  
  18.                                                                        2
  19.  
  20.  
  21.          Table of Contents
  22.  
  23.          1. Introduction                                               3
  24.          2. Registration                                               3
  25.          3. Warranty                                                   4
  26.          4. Installing XFS                                             4
  27.            4.1. Files                                                  4
  28.            4.2. The Kernel                                             4
  29.            4.3. Network Configuration                                  5
  30.            4.4. Configuration Syntax                                   5
  31.            4.5. HOSTS                                                  6
  32.          5. Authentication                                             6
  33.          6. Mounting Drives                                            6
  34.            6.1. Mount a Drive                                          7
  35.            6.2. Mount a Printer                                        7
  36.            6.3. Mount Options                                          7
  37.            6.4. Unmounting Drives/ Printers                            8
  38.          7. Other Commands                                             8
  39.            7.1. Rdate                                                  8
  40.            7.2. Umask                                                  8
  41.            7.3. Pktdrvr                                                9
  42.            7.4. Unmux                                                  9
  43.            7.5. Unload                                                 9
  44.          8. More about PCNFSD and Printing                             9
  45.            8.1. PCNFSD                                                 9
  46.            8.2. Printing                                              10
  47.             8.2.1. Using XFS Printers with Microsoft Windows          10
  48.             8.2.2. Using XFS Printers with other Applications         10
  49.             8.2.3. The Timeout Value                                  10
  50.          9. File Manager Extension                                    10
  51.            9.1. How to install XFSFMX                                 10
  52.            9.2. Commands                                              11
  53.          10.Command Scrips                                            11
  54.          11.Using XFS over other Networks                             12
  55.            11.1. Microsoft LAN Manager and Windows for Workgroups 3.1 12
  56.            11.2. Microsoft Windows for Workgroups 3.11                13
  57.            11.3. Novell Netware                                       13
  58.          12.WINPKT                                                    13
  59.          13.The Build-in Multiplexor                                  14
  60.          14.PKTMUX                                                    14
  61.          15.Tools                                                     14
  62.            15.1. Arp                                                  14
  63.            15.2. Netstat                                              15
  64.            15.3. Ls & Mv                                              15
  65.            15.4. XPing                                                15
  66.          16.Appendix                                                  15
  67.            16.1. Compatibility                                        15
  68.            16.2. Some FTP Sites                                       16
  69.  
  70.  
  71.  
  72.          NFS is a Trademark of Sun Microsystems, Inc
  73.          MS-DOS is a Registered Trademark of Microsoft, Inc
  74.          Microsoft Windows is a Trademark of  Microsoft, Inc
  75.          UNIX is a Trademark of  AT&T
  76.  
  77.  
  78.  
  79.  
  80.                                                                        3
  81.  
  82.  
  83.  
  84.          1.  Introduction
  85.  
  86.          XFS is a Network  File System (NFS)  Client implementation for
  87.          PC's running MS-DOS.    It uses the  network-wide file sharing
  88.          of other systems  and provides in  this way  the enormous disk
  89.          resources of  modern  workstations. Because  the  file sharing
  90.          mechanism is tranparent,  you can  manipulate remote  files by
  91.          traditional PC  software like  File Managers,  Word Processors
  92.          etc.
  93.  
  94.          XFS  uses  the  Packet  Driver   (PKTDRVR)  of  your  Ethernet
  95.          interface (please consult  the appendix  to optain  a suitable
  96.          Packet Driver for your card). You  also can use XFS with other
  97.          networking software like
  98.  
  99.               - Microsoft Windows for Workgroups
  100.               - Microsoft LAN Manager
  101.               - Novell Netware IPX & ODI
  102.  
  103.          XFS also provides its own  built-in PKTDRVR multiplexor, which
  104.          allows the  concurrent use  of other  software running  over a
  105.          PKTDRVR, e.g. you can  use NCSA-Telnet & FTP  parallel to XFS.
  106.          PKTDRVR software for Microsoft Windows is supported too.
  107.  
  108.  
  109.          2.  Registration
  110.  
  111.          The  XFS  Network   File  System  Client   is  distributed  as
  112.          shareware. You can test this software as long you want, but if
  113.          you decide to work with it, you must pay the registration fee.
  114.          The Registration   will include  all updates  for a   one-year
  115.          period, but it's your  responsability to get  them. After this
  116.          time you have to renew  your licence, but only  if you want to
  117.          get new updates.
  118.  
  119.          The current registration prices are:
  120.  
  121.              Educational users:   US $ 15 / CPU
  122.              Business users:      US $ 25 / CPU
  123.              Source code:         Please call!
  124.  
  125.          Site  license:
  126.  
  127.               Quantity       Discount (%)
  128.  
  129.                 3  - 10          10%
  130.                11  - 20          20%
  131.                21  - 200         30%
  132.                201 -  +          50%
  133.  
  134.          If you are a reseller, and you would like to redistribute XFS,
  135.          please contact the author (see ORDER.FRM).
  136.  
  137.  
  138.  
  139.  
  140.                                                                        4
  141.  
  142.  
  143.  
  144.          3.  Warranty
  145.  
  146.          This software  is  distributed in  the  hope that  it  will be
  147.          useful but WITHOUT ANY WARRANTY. If you choose to use XFS, you
  148.          assume all risk.
  149.  
  150.  
  151.          4.  Installing XFS
  152.  
  153.  
  154.          4.1. Files
  155.  
  156.          The XFS distribution contains following files:
  157.  
  158.               XFSKRNL.EXE    The resident kernel
  159.               XFSTOOL.EXE    User command line interface
  160.               NETSTAT.EXE    Network Statistics and Status Informations
  161.               LS.EXE         List server files (useful for server 
  162.                              - client file name mapping)
  163.               MV.EXE         Move files (useful for server - 
  164.                              client file name mapping)
  165.               CHMOD.EXE      Change file attributes
  166.               ARP.EXE        Manipulates ARP tables
  167.               XPING.EXE      Pings a NFS server
  168.               XFSFMX.DLL     Windows File Manager Extension
  169.               WINPKT.COM     Microsoft Windows Support
  170.               INIT           Configuration example
  171.               HOSTS          Host database
  172.               XFS.TXT        This file
  173.               ORDER.FRM      Order form
  174.               BUGS           Hall of Shame
  175.  
  176.          You should keep these files together  in one directory. A PATH
  177.          modification is not required.
  178.  
  179.  
  180.          4.2. The Kernel
  181.  
  182.          XFSKRNL contains the   UDP/IP  protocol stack and  the network
  183.          redirector. The only command line directive  of XFSKRNL is the
  184.          PKTDRVR interrupt number.
  185.  
  186.          Supposed you have a NE2000 Ethenet Card clone:
  187.  
  188.               ne2000    0x60
  189.               xfskrnl   0x60
  190.  
  191.          will start your PKTDRVR (ne2000) at interrupt 0x60 and the XFS
  192.          kernel (xfskrnl).
  193.  
  194.          XFSKRNL occupies three consecutive interrupts begining with
  195.          your PKTDRVR interrupt number (n):
  196.  
  197.               n         The PKTDRVR
  198.  
  199.               n + 1     The XFS NetAPI (undocumented yet)
  200.  
  201.  
  202.  
  203.  
  204.                                                                        5
  205.  
  206.               n + 2     The redirected PKTDRVR from interrupt n. This 
  207.                         interrupt can be used by other software which 
  208.                         needs a PKTDRVR
  209.  
  210.          Note: Please choose  a PTDRVR  interrupt number, which  is not
  211.          used by other applications. E.g: 0x67  is hooked by EMM386: if
  212.          you choose 0x65 - 0x67 as you base interrupt, XFS will     not
  213.          work with Windows!
  214.  
  215.  
  216.          4.3. Network Configuration
  217.  
  218.          After loading XFSKRNL you  have to config  the UDP/IP protocol
  219.          stack. The  following informations  must be  provided  by your
  220.          Network Administrator:
  221.  
  222.               Host Name
  223.               Host IP Address
  224.               Subnet Mask
  225.               Default Gateway
  226.               Subnet Broadcast Address
  227.  
  228.          Alternatively you  can  use BOOTP  (boot  protocol)  to optain
  229.          these informations. In  this case there  must be  a machine in
  230.          your network configured as a BOOTP-server  (see ' man bootpd',
  231.          if  you're  running  UNIX).  XFS   uses  the  following  BOOTP
  232.          directives:
  233.  
  234.               hn   Host name
  235.               gw   Gateway
  236.               sm   Subnet mask
  237.               ts   Time server
  238.               to   Time zone offset from GMT/UCT in seconds
  239.  
  240.  
  241.          4.4. Configuration Syntax
  242.  
  243.               xfstool init <hostname> sm=<netmask> gw=<gateway>
  244.                    bc=<broadcast> [ csum={on|off} ]
  245.          or
  246.               xfstool init BOOTP  [ csum={on|off} ]
  247.  
  248.          The option `csum=off' prevents the computing of UDP checksums.
  249.          This speeds  up XFS,  but it  should  not be  used,  if you're
  250.          mounting drives over a gateway.
  251.  
  252.          Alternatively you can put your  netmask, gateway and broadcast
  253.          addresses in the HOSTS database. E.g. (Addresses are fictive):
  254.  
  255.               #  host database
  256.  
  257.               255.255.255.0       netmask
  258.               131.240.89.1        gateway
  259.               131.240.89.255      broadcast
  260.  
  261.               #  host entries follows
  262.  
  263.  
  264.          In this case the command line becomes:
  265.  
  266.  
  267.  
  268.  
  269.                                                                        6
  270.  
  271.  
  272.               xfstool init <hostname>  [ csum={on|off} ]
  273.  
  274.          Note that `hostname'   is interpreted  as a HOSTS database
  275.          entry, not as an IP address.
  276.  
  277.          After you  have  configured  the network,  you  should  try to
  278.          `ping'  the PC from a local machine.
  279.          If you have a gateway `ping' your PC from a machine out of the
  280.          LAN.
  281.  
  282.  
  283.          4.5. HOSTS
  284.  
  285.          The HOSTS file contains the `IP-address-to-hostname mapping
  286.          list'. Please don't use your global HOSTS file (containing all
  287.          hosts of your site)!  XFS needs only the NFS servers. This
  288.          will speed up the host search.
  289.  
  290.          Format of the HOSTS file:
  291.  
  292.               #  comment lines
  293.               #
  294.               #  IP          Name      Aliases
  295.  
  296.               131.240.89.7   speedy    pc-soft
  297.  
  298.  
  299.          5.  Authentication
  300.  
  301.          Because a  PC  running MS-DOS  (usually)  doesn't  provide any
  302.          security mechanism,  there  must  be  other  possibilities  to
  303.          authenticate a  MS-DOS  user  before  using  network-wide  NFS
  304.          resources. Sun Microsystems,  Inc. has  developed an  UNIX RPC
  305.          program that  allows a  simple user  authentication  for PC's:
  306.          `pcnfsd'.
  307.          The `pcnfsd'- daemon is not part  of  the XFS distribution but
  308.          can be obtained from several places. Most Workstations include
  309.          a version of `pcnfsd'.
  310.  
  311.          To explain XFS the host that runs the `pcnfsd' just type:
  312.  
  313.               xfstool pcnfsd <host>
  314.  
  315.          With
  316.  
  317.               xfstool login
  318.  
  319.          XFS invites you to authenticate yourself. To authenticate
  320.          already mounted drives, use
  321.  
  322.               xfstool dlogin {drive|printer}
  323.  
  324.  
  325.  
  326.          6.  Mounting Drives
  327.  
  328.          Before you begin to mount the  drives, you have to config your
  329.          NFS-server(s) to export the directories you want to mount with
  330.  
  331.  
  332.  
  333.  
  334.                                                                        7
  335.  
  336.          XFS.  Please  consult  the   Administration  Manuals  of  your
  337.          workstation to find out how to export file systems.
  338.  
  339.          Also adapt the LASTDRIVE directive from your PC's CONFIG.SYS
  340.          and reboot the PC:
  341.  
  342.               LASTDRIVE=Z
  343.  
  344.  
  345.          6.1. Mount a Drive
  346.  
  347.          The command line syntax for mounting drives is
  348.  
  349.               xfstool mount <drive> <server>:<directory>  [[option]
  350.          [option] ... ]
  351.  
  352.          To mount the directory `/usr/share/dos'  from the NFS-server
  353.          `speedy' as MS-DOS drive `G:' type:
  354.  
  355.               xfstool mount g: speedy:/usr/share/dos
  356.  
  357.  
  358.  
  359.          6.2. Mount a Printer
  360.  
  361.          The command line syntax for mounting printers is
  362.  
  363.               xfstool mount LPTn: <server>:<printer>  [[option]
  364.          [option] ... ]
  365.  
  366.          To mount the printer 'prettyprint'   from the server `speedy'
  367.          as DOS printer LPT2: type:
  368.  
  369.               xfstool mount LPT2: speedy:prettyprint
  370.  
  371.          Please note, that the host must run 'pcnfsd', if you want to
  372.          mount a printer. This host must not be the login host.
  373.  
  374.  
  375.          6.3. Mount Options
  376.  
  377.               rsize=<value>  Read size. The size of the buffer used 
  378.                              when reading files.
  379.                              128 <= value <= 1280. Default value: 1280.
  380.               wsize=<value>  Write size. The size of the buffer used 
  381.                              when writing files.
  382.                              128 <= value <= 1280. Default value: 1280.
  383.               retrans=<value>     Retransmission count.
  384.                              4 <= value <= 10. Default: 4.
  385.               mountp=<val>   MOUNT UDP port number.
  386.  
  387.               nfsp=<val>     NFS UDP port number.
  388.  
  389.               map=none       Don't map server file names into MS-DOS 
  390.                              file names.
  391.  
  392.               map=upper      For UPPERCASED filesystems.
  393.  
  394.               map=dots       For CD-ROMs. Strip "." from filenames.
  395.  
  396.  
  397.  
  398.  
  399.                                                                        8
  400.  
  401.  
  402.               timeo=<value>  For printers only. The timeout in seconds 
  403.                              before a print job is  declared as 
  404.                              finished.
  405.  
  406.  
  407.          6.4. Unmounting Drives/ Printers
  408.  
  409.          The command line syntax for unmounting resources is
  410.  
  411.               xfstool umount {<drive>  | LPTn: | all }
  412.  
  413.          E.g.:
  414.  
  415.               xfstool umount g:
  416.               xfstool umount lpt1:
  417.          or
  418.               xfstool all
  419.  
  420.          to unmount all drives/devices.
  421.  
  422.  
  423.  
  424.          7.  Other Commands
  425.  
  426.  
  427.  
  428.          7.1. Rdate
  429.  
  430.               xfstool rdate [<server>]
  431.  
  432.          synchronises the date of your PC with  the date of a host your
  433.          choise. If no host is given, XFS will use the host IP obtained
  434.          by BOOTP (ts & to options). If `ts' is not set rdate evaluates
  435.          the  environment variable TZ (or  XTZ) that must be set before
  436.          XFSKRNL executes.
  437.  
  438.          The format of the TZ (XTZ) variable is:
  439.  
  440.               XTZ=xxx[+|-]<value>
  441.          with
  442.               xxx       Time zone name (semanticaly not evaluated by
  443.          XFS).
  444.               [+|.]<value>   Time offset from GMT/UCT in hours.
  445.  
  446.          Note that XFS  doesn't support  any daylight savings,  but you
  447.          can obtain  this  by  incrementing  or  decrementing  the time
  448.          offset of the TZ variable.
  449.  
  450.  
  451.          7.2. Umask
  452.  
  453.               xfstool umask [octal-value]
  454.  
  455.          sets or shows the umask used by XFS when creating files. XFS
  456.          interprets the octal value as follows:
  457.  
  458.               Digit     2    1    0
  459.                    user   group   other
  460.  
  461.  
  462.  
  463.  
  464.                                                                        9
  465.  
  466.  
  467.               Digit values:  0    allow all
  468.                              1    deny directory search
  469.                              2    deny write
  470.                              4    deny read
  471.               E.g:
  472.               Command line   UNIX `ls' output    Combined from
  473.  
  474.               xfstool umask 022   drwxr-xr-x     0+0+0  0+2+0  0+2+0
  475.               xfstool umask 077   drwx------     0+0+0  1+2+4  1+3+4
  476.               xfstool umask 000   drwxrwxrwx     0+0+0  0+0+0  0+0+0
  477.  
  478.  
  479.          7.3. Pktdrvr
  480.  
  481.          If you're using software  that doesn't work  over the built-in
  482.          multiplexor, you  can stop  the  network activity  of  XFS and
  483.          temporary start your  software using of  the original PKTDRVR.
  484.          After that you  can restore to  the original state  of XFS. Of
  485.          course you can't use network drives  while the network support
  486.          is down:
  487.  
  488.               xfstool   pktdrvr [stop | restart]
  489.  
  490.          7.4. Unmux
  491.  
  492.          If the multiplexed software doesn't free the PKTDRVR after it
  493.          finish, XFS will crash the system by calling an undefined
  494.          address. You can avoid this behaviour by clearing the
  495.          multiplexor:
  496.  
  497.               xfstool unmux
  498.  
  499.          Please note that this is an error of the multiplexed software
  500.          and not of XFS! This error would also break an original
  501.          PKTDRVR.
  502.  
  503.  
  504.          7.5. Unload
  505.  
  506.               xfstool   unload
  507.  
  508.          shuts down the XFS kernel by unmounting all drives/devices and
  509.          unloading XFS  from the  DOS memory.  If  TSR's block  some of
  510.          XFS's interrupts (8, 17, 2F, base,  base+1, base+2 with base =
  511.          PKTDRVR interrupt number) the unloading will fail.
  512.  
  513.  
  514.          8.  More about PCNFSD and Printing
  515.  
  516.          8.1. PCNFSD
  517.  
  518.          Actually there  are 2  versions of  RPC PCNFSD  available. XFS
  519.          uses only features of the 1st version (which are also included
  520.          in the 2nd version). Because the  primary version needs (at my
  521.          opinion) less  resources and  configuration work,  I recommend
  522.          the use of RPC PCNFSD Version 1.
  523.  
  524.          The 1st version of RPC PCNFSD needs:
  525.  
  526.  
  527.  
  528.  
  529.                                                                       10
  530.  
  531.  
  532.          .  a spool directory for pending print jobs,
  533.          .  a printer utility (lpr on 4.3BSD or lp on SYSV),
  534.          .  valid /etc/printcap entries for printers used by XFS or
  535.             something equivalent on SYSV.
  536.  
  537.          The spool directory is a command  line argument of rpc.pcnfsd.
  538.          Note, that this  directory MUST also  be exported  to your XFS
  539.          clients! See your UNIX man page!
  540.  
  541.          The printer utility can  be choosen in the  Makefile or can be
  542.          directly inserted in pcnfsd.c.
  543.  
  544.          The command line could look like
  545.  
  546.             rpc.pcnfsd /usr/spool/xfs
  547.  
  548.          You have to export /usr/spool/xfs in this example.
  549.  
  550.  
  551.          8.2. Printing
  552.  
  553.             8.2.1. Using XFS Printers with Microsoft Windows
  554.  
  555.          You have to bind you  printer driver (System Control/Printers)
  556.          at LPT1.DOS  (LPT1.OS2)  or  LPT2.DOS  (LPT2.OS2).  I've  also
  557.          diabled the  Print  Manager  support,  but  I  think  it's not
  558.          required (please test it).
  559.          LPTx.DOS allows printing directly to  the interface (you don't
  560.          require an existing interface for XFS).
  561.  
  562.             8.2.2. Using XFS Printers with other Applications
  563.  
  564.          Applications,  which  print  directly  to  the  interface  are
  565.          compatible with XFS.
  566.  
  567.             8.2.3. The Timeout Value
  568.  
  569.          XFS needs  a timeout  value in  seconds  to declare  a  job as
  570.          finished. Default  are  30  sec.,  but  this  depends  of your
  571.          software.  Microsoft  Windows   needs  sometimes   more.  (I'd
  572.          appreciate your feedback about timeout values).
  573.  
  574.          To finish a job, you can also use `Xfstool flush LPTx:'. The
  575.          pending job will be declared as finished and it will be
  576.          printed. The File Manger Extension provides a flush option
  577.          too.
  578.  
  579.          9.  File Manager Extension
  580.  
  581.          9.1. How to install XFSFMX
  582.  
  583.               - Copy XFSFMX.DLL into your XFS directory (the directory
  584.                 with the HOSTS database), e.g: C:\XFS
  585.  
  586.               - Add the following line to WINFILE.INI, located in your
  587.                 Windows directory:
  588.  
  589.                 [AddOns]
  590.  
  591.  
  592.  
  593.  
  594.                                                                       11
  595.  
  596.                 Xfs=C:\XFS\XFSFMX.DLL
  597.  
  598.               - Restart the File Manager
  599.  
  600.  
  601.          9.2. Commands
  602.  
  603.          MOUNT
  604.  
  605.              Mounts a drive or, if the  check button "Mount Printer"  is
  606.              enabled,  a  printer.  The   dialog  displays  only   valid
  607.              drives/devices. You must have installed PCNFSD on your UN*X
  608.              machine, if you want to mount a printer.
  609.  
  610.          UNMOUNT
  611.  
  612.              Unmounts one or more  drive(s)/device(s).
  613.  
  614.          LOGIN, LOGOUT
  615.  
  616.          FLUSH
  617.  
  618.              To avoid  waiting,  you  can  speed-up  the  print  job  by
  619.              applying a FLUSH. Your job will be printed w/out a timeout.
  620.  
  621.          Note: All actions decribed in this  document apply ONLY to the
  622.          system Virtual  Machine  (the  "Machine",  where  your Windows
  623.          applications run). All  other DOS-BOXES are  not affected.  You
  624.          must run XFSTOOL to receive the same behaviour.
  625.  
  626.          10.Command Scrips
  627.  
  628.          You can  combine  XFSTOOL  commands to  a  command  script. Of
  629.          course you can also use  a batch file, but  a script speeds up
  630.          the initialisation a lot. The command  line for using a script
  631.          file is:
  632.  
  633.               xfstool @<filename>
  634.  
  635.          <filename> can contain  the variable `$hostname'  that will be
  636.          expanded to the real host name (if already know).
  637.  
  638.          The following file configures XFS from scratch:
  639.  
  640.               # XFS Version 1.70 command script
  641.               # (this is a comment)
  642.  
  643.               init BOOTP csum=off
  644.               pcnfsd speedy
  645.               login
  646.               mount    d: speedy:/usr/share/dos
  647.               mount lpt1: speedy:prettyprint timeo=30
  648.               show
  649.               rdate
  650.  
  651.          Note: If you're using BOOTP, you have to maintain only ONE
  652.          command script for all PC's of your LAN. You also can use a
  653.          global maintained script with the following batch  file:
  654.  
  655.  
  656.  
  657.  
  658.                                                                       12
  659.  
  660.               : load the Packet Driver
  661.               ne2000 0x60
  662.               : first init the kernel
  663.               xfskrnl 0x60
  664.               xfstool init BOOTP csum=off
  665.               : mount a common drive
  666.               xfstool mount n: speedy:/usr/share/dos
  667.               : use a network-wide configuration
  668.               xfstool @n:\xfs\$hostname
  669.  
  670.          In this case XFSTOOL substitutes `$hostname'  by the real name
  671.          of the host previously  obtained from BOOTP. If  the host name
  672.          was `pc_1', then XFSTOOL loads the file `n:\xfs\pc_1'.
  673.  
  674.  
  675.          11.Using XFS over other Networks
  676.  
  677.  
  678.          11.1.     Microsoft LAN Manager and Windows for Workgroups 3.1
  679.  
  680.          If you're running one of the networking software below, you'll
  681.          need  the  Packet  Driver   simulator  (shim)  DIS_PKT9.  This
  682.          software is  not contained  in this  distribution, but  can be
  683.          optained from several  places (ftp/BBS).  It is  free software
  684.          and fully redistributable.
  685.  
  686.          To get XFS working, you must insert the following lines in you
  687.          PROTOCOL.INI file.  You  find  PROTOCOL.INI  in  the directory
  688.          \LANMAN of your  LAN Manager software  or in  your Windows for
  689.          Workgroups (WfW) directory:
  690.  
  691.               [PKTDRV]
  692.               DriverName=PKTDRV$
  693.               BINDINGS=<your card name>
  694.               IntVec=0x60
  695.  
  696.          The name of your Ethernet card can also be found in this file.
  697.          Simply inspect some other entries that contain the directive
  698.          BINDINGS.
  699.  
  700.          Finally you must insert the DIS_PKT driver in your CONFIG.SYS
  701.          file after the LANMAN or WfW drivers:
  702.  
  703.               DEVICE=c:\lanman\protoman.dos /i:c:\lanman
  704.               DEVICE=c:\lanman\<yourcard>.dos
  705.               rem inserted DIS_PKT driver
  706.               DEVICE=c:\xfs\dis_pkt9.dos
  707.  
  708.          Please also consult the original (very good) documentation of
  709.          DIS_PKT.
  710.  
  711.          Note: XFS won't work with the  network redirector comming with
  712.          WfW 3.1, if you're using the  plain Windows redirector support
  713.          (provided by  an  VxD).  You  have  to  start  the  WfW MS-DOS
  714.          redirector before Windows starts:
  715.  
  716.               net start {full | basic}
  717.  
  718.  
  719.  
  720.  
  721.                                                                       13
  722.  
  723.          This replaces (I guess)  the Virtual Device  (VxD) services so
  724.          that XFS will work. This will cost you about 100Kb of standard
  725.          MS-DOS memory. If this is not convenient to you,  upgrade your
  726.          WfW version.
  727.  
  728.  
  729.  
  730.          11.2.     Microsoft Windows for Workgroups 3.11
  731.  
  732.          PROTOCOL.INI:  see Microsoft LAN Manager or WfW 3.1
  733.  
  734.          In case you run Windows for Workgroups 3.11, don't change your
  735.          CONFIG.SYS! The Protocol  Manager gets  the file names  of its
  736.          drivers from the Windows SYSTEM.INI file.
  737.  
  738.          You must insert following lines in your SYSTEM.INI file
  739.          (section [network drivers]):
  740.  
  741.               [network drivers]
  742.               ...
  743.               transport=......, dis_pkt9.dos
  744.               LoadRMDrivers=Yes
  745.  
  746.          Please  consult  DIS_TCP.TXT  if  you  are  running  Microsoft
  747.          TPC/IP-32 beta. The DIS_PKT9.TCP driver, distributed with XFS,
  748.          allows concurrent IP  stacks over  NDIS and Packet  Driver, in
  749.          this case MS TCP/IP and XFS.
  750.  
  751.          NOTE: DIS_PKT9.DOS will sometimes refuse to load, if SHARE.EXE
  752.          was already active. Because WfW 3.11 comes with ist own 32 bit
  753.          SHARE version (VSHARE.386), it is not a bad idea to remove the
  754.          SHARE.EXE command line in your AUTOEXEC.BAT.
  755.  
  756.  
  757.          11.3.     Novell Netware
  758.  
  759.          If you're running  Netware over  IPX (ODI),  you must  use the
  760.          IPXPKT (ODIPKT) shim. Can't things be always so simple?
  761.  
  762.  
  763.          12.WINPKT
  764.  
  765.          Note: The WINPKT distributed with XFS is the original Crynwr
  766.          driver. There are other  (modified) drivers in the (Internet)
  767.          world, but using the original one can't be a bad idea!
  768.  
  769.          You always  have  to  load the  WINPKT  driver  before XFSKRNL
  770.          starts. WINPKT  provides mechanisms,  which  are indispensable
  771.          when running Microsoft  Windows! Your  batch file  that starts
  772.          XFS should include the following lines:
  773.  
  774.               : load PKTDRVR
  775.               ne2000 0x60
  776.               : load WINPKT
  777.               winpkt 0x60
  778.               : load XFS
  779.               xfskrnl 0x60
  780.               ...
  781.  
  782.  
  783.  
  784.  
  785.                                                                       14
  786.  
  787.          Also if you're running other shims like DIS_PKT or IPX/ODIPKT,
  788.          you have to load WINPKT too!
  789.  
  790.          13.The Build-in Multiplexor
  791.  
  792.          Here are some examples on using the XFS PKTDRVR multiplexor:
  793.  
  794.          1. NCSA Telnet
  795.  
  796.               - Load XFS at PKTDRVR interrupt no. n
  797.               - Run NCSA Telnet at interrupt n + 2
  798.  
  799.          2. Trumpet Winsock
  800.  
  801.               - Load WINPKT (for XFS)
  802.               - Load XFS at PKTDRVR interrupt no. n
  803.               - Load WINPKT(for Winsock) at interrupt no. n + 2
  804.               - Start Windows
  805.               - Config Winsock for using  interrupt n + 2
  806.               - Run your software using Winsock (e.g. NCSA - Telnet for
  807.                 Windows )
  808.  
  809.          3. QVTNet for PKTDRVR
  810.  
  811.               - Load WINPKT (for XFS)
  812.               - Load XFS at PKTDRVR interrupt no. n
  813.               - Load  PKTINT (from the QVTNet distribution)
  814.               - Start Windows
  815.               - Run QVTNet at interrupt n + 2
  816.  
  817.          14.PKTMUX
  818.  
  819.          If you're using PKTMUX,  because you must  multiplex more then
  820.          one Packet Driver  application, the  best solution is  to load
  821.          PKTMUX at XFS's multiplexor interrupt:
  822.  
  823.               ne2000  0x60  // or other shim
  824.               winpkt  0x60  // for XFS
  825.               xfskrnl 0x60
  826.               pktmux  2 62  // 2 channels, at interrupt 62
  827.               pktdrv  63    // for your first PD application
  828.               pktdrv  64    //          second
  829.               win           // start Windows
  830.  
  831.          How to unload the `stack'?
  832.  
  833.               pktdrv /u
  834.               pktdrv /u
  835.               pktmux /u
  836.               xfstool unload
  837.  
  838.          You also could  run XFS  over PKTMUX,  but the  performance is
  839.          intolerable. In this  case you  MUST load WINPKT  (coming with
  840.          XFS)  after  PKTDRV.   The  PKTMUX  manual   says,  WINPKT  is
  841.          redundant, but with XFS it's ESSENTIAL.
  842.  
  843.          15.Tools
  844.  
  845.          15.1.     Arp
  846.  
  847.  
  848.  
  849.  
  850.                                                                       15
  851.  
  852.  
  853.          ARP manipulates the IP ARP table (Address Resolution Protocol:
  854.          IP-address-to-Ethernet-address  mapping).  You   can  show  or
  855.          insert ARP entries. This tool can  be useful, when one of your
  856.          hosts doesn't participate at ARP (I never met one).
  857.  
  858.  
  859.          15.2.     Netstat
  860.  
  861.          NETSTAT displays some useful informations about the actual
  862.          state of your host running XFS.
  863.  
  864.  
  865.          15.3.     Ls & Mv
  866.  
  867.          These tools  are  designed  for  providing  a  possibility  to
  868.          display and manipulate file  names, which can't  be handled by
  869.          MS-DOS.  Because  XFS   maps  invalid  DOS   file  names  into
  870.          `stranger' one, it is useful for  the user to see the original
  871.          (e.g. UNIX) file names (with upper  case letters, reserved DOS
  872.          characters or simply to long).
  873.  
  874.          Ls provides also the option `-m' to build a mapping list only:
  875.  
  876.               ls -m > descript.ion
  877.  
  878.          will produce, for example, a description file for 4DOS (JP
  879.          Software, Inc.)
  880.  
  881.  
  882.  
  883.          15.4.     XPing
  884.  
  885.          (Better: NFSPING)
  886.  
  887.          XPing provides the possibility to `ping' a NFS server to see
  888.          if it is `alive'.
  889.  
  890.  
  891.  
  892.          16.Appendix
  893.  
  894.  
  895.  
  896.          16.1.     Compatibility
  897.  
  898.          XFS was tested with:
  899.  
  900.               MS-DOS 3.1, 5.0, 6.0, 6.2
  901.               MS Windows 3.1, 3.1 for Workgroups, 3.11 and 3.11 for
  902.               Workgroups
  903.  
  904.          XFS runs (not compleatly tested) with:
  905.  
  906.               DR-DOS 6.0, Novell DOS 7
  907.  
  908.          XFS was NOT tested with:
  909.  
  910.               MS-DOS 4.x
  911.  
  912.  
  913.  
  914.  
  915.                                                                       16
  916.  
  917.  
  918.  
  919.  
  920.          16.2.     Some FTP Sites
  921.  
  922.  
  923.          XFS:
  924.          ftp: lwfws1.uni-paderborn.de:/pub/xfs
  925.  
  926.          (PC)NFSD:
  927.          ftp: ftp.uni-paderborn.de:/unix/network/daemon/pcnfsd.tar.Z
  928.  
  929.          Packet Driver:
  930.          ftp: SimTel's  msdos/pktdrvr/pktd11*.zip
  931.               (ipxpkt & winpkt included)
  932.  
  933.          DIS_PKT:
  934.          ftp: SimTel's  msdos/pktdrvr/dis_pkt9.zip
  935.  
  936.          ODIPKT:
  937.          ftp: hsdndev.harvard.edu:pub/odipkt/*
  938.