home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / lanman.txt < prev    next >
Text File  |  1994-04-24  |  16KB  |  497 lines

  1.  
  2. Setup Considerations for Microsoft's LAN Manager
  3. ------------------------------------------------
  4.  
  5. If you are using Microsoft's LAN Manager with LAN Distance,
  6. complete the setup and tuning steps in the following sections.
  7.  
  8. NOTE: LAN Distance does not support the LAN Manager TCP/IP protocol.
  9.  
  10.  
  11. DOS/Windows - LAN Manager Requester
  12. -----------------------------------
  13.  
  14. If you are using LAN Manager Requester and LAN Distance on a Windows
  15. workstation:
  16.  
  17. o Install the LAN Manager Requester for DOS, choosing the options
  18.   described below:
  19.  
  20.   - Choose to install a LAN Manager Enhanced Workstation.
  21.  
  22.   - When the LAN Manager Requester installation program prompts you for
  23.   your LAN adapter type, select your LAN adapter type from the list.
  24.   If your workstation does not have a LAN adapter, select ANY LAN adapter
  25.   type in the list.  Do not select "No adapter".  This is the easiest way to
  26.   get LAN Manager Requester set up.
  27.  
  28.   If you have a LAN adapter, your workstation will be enabled for shuttling
  29.   between your LAN-attached environment and your remote environment after
  30.   you complete this list of steps.
  31.  
  32.   Do not restart your workstation.
  33.  
  34. o Add the following line to the [workstation] section in your
  35.   LANMAN.DOS\LANMAN.INI file:
  36.  
  37.   [workstation]
  38.   ;                 0         1
  39.   ;                 0123456789012345
  40.     wrkheuristics = 1111211012112000
  41.  
  42.   If you had already added this line to tune other heuristics, the only
  43.   change necessary for running with LAN Distance is to change bit 14 from
  44.   a 1 to a 0.  See the Microsoft LAN Manager Administrator's
  45.   Reference for a full description of these heuristics.
  46.  
  47. o Install the LAN Distance Remote for Windows and choose the Basic
  48.   Settings option to configure your initial setup.
  49.  
  50.   When LAN Distance installation completes, it will ask you if you want
  51.   to be shuttled as a remote workstation or a LAN-attached workstation.
  52.   If your workstation does not have a LAN adapter, select "Yes" to
  53.   be shuttled for remote connectivity.
  54.  
  55. o Restart your workstation.
  56.  
  57. o If you do not have a LAN adapter in your workstation, disable the
  58.   LAN Distance Shuttle feature:
  59.  
  60.   1) Open the LAN Distance program group.
  61.   2) Open the Settings icon in the LAN Distance program group.
  62.   3) Turn to the Workstation tab.
  63.   4) Deselect the "Enable Shuttling Between LAN and Remote Workstation"
  64.      checkbox.
  65.   5) Close the Settings window.
  66.  
  67. o Complete steps further below under "LAN Manager Server".
  68.  
  69.   Shuttle NOTE:
  70.   ------------------
  71.   When you use LAN Manager Requester in the remote environment,
  72.   the PROTOCOL.INI file in your \WAL subdirectory becomes your active
  73.   PROTOCOL.INI file.
  74.  
  75.   If you use the LAN Distance Shuttle feature to shuttle your workstation
  76.   back to a LAN attached environment, then the PROTOCOL.INI file in your
  77.   \LANMAN.DOS subdirectory becomes the active PROTOCOL.INI file.
  78.  
  79.  
  80.   Sample Files:
  81.   ------------------
  82.   Sample CONFIG.SYS (remote version, CONFIG.RWS)
  83.  
  84.      DEVICE=C:\DOS\SETVER.EXE
  85.      DEVICE=C:\DOS\HIMEM.SYS
  86.      DEVICE=C:\LANMAN.DOS\DRIVERS\DOSUTILS\EMM386.EXE NoEMS
  87.      DOS=HIGH,UMB
  88.      FILES=30
  89.      STACKS=9,256
  90.      LASTDRIVE=Z
  91.      DEVICE=c:\WAL\protman.dos /I:c:\WAL
  92.      DEVICEHIGH=c:\WAL\dxmj0mod.sys
  93.      DEVICEHIGH=c:\WAL\dosvmac.sys
  94.      DEVICEHIGH=c:\WAL\winamac.sys
  95.      DEVICEHIGH=c:\WAL\pcmdd.sys
  96.  
  97.   Sample AUTOEXEC.BAT (remote version, AUTOEXEC.RWS)
  98.  
  99.      c:\WAL\DOSBIND
  100.      C:\DOS\SMARTDRV.EXE
  101.      @ECHO OFF
  102.      PROMPT $p$g
  103.      PATH c:\WAL;C:\WINDOWS;C:\DOS
  104.      SET TEMP=C:\DOS
  105.  
  106.      @REM ====== LANMAN 2.1 === DO NOT MODIFY BETWEEN THESE LINES
  107.      SET PATH=C:\LANMAN.DOS\NETPROG;%PATH%
  108.      NET START WORKSTATION
  109.      @REM ====== LANMAN 2.1 === DO NOT MODIFY BETWEEN THESE LINES
  110.  
  111.   Sample CONFIG.SYS (LAN-attached version, CONFIG.LAN)
  112.  
  113.      DEVICE=C:\DOS\SETVER.EXE
  114.      DEVICE=C:\DOS\HIMEM.SYS
  115.      DEVICE=C:\LANMAN.DOS\DRIVERS\DOSUTILS\EMM386.EXE NoEMS
  116.      DOS=HIGH,UMB
  117.      FILES=30
  118.      STACKS=9,256
  119.      LASTDRIVE=Z
  120.      DEVICE=C:\LANMAN.DOS\DRIVERS\PROTMAN\PROTMAN.DOS /i:C:\LANMAN.DOS
  121.      DEVICE=C:\LANMAN.DOS\DRIVERS\TOKENRNG\IBMTOK\IBMTOK.DOS
  122.  
  123.   Sample AUTOEXEC.BAT (LAN-attached version, AUTOEXEC.LAN)
  124.  
  125.      C:\DOS\SMARTDRV.EXE
  126.      @ECHO OFF
  127.      PROMPT $p$g
  128.      PATH C:\WINDOWS;C:\DOS
  129.      SET TEMP=C:\DOS
  130.  
  131.      @REM ====== LANMAN 2.1 === DO NOT MODIFY BETWEEN THESE LINES
  132.      SET PATH=C:\LANMAN.DOS\NETPROG;%PATH%
  133.      NET START WORKSTATION
  134.      LOAD NETBEUI
  135.      @REM ====== LANMAN 2.1 === DO NOT MODIFY BETWEEN THESE LINES
  136.  
  137.   Sample \LANMAN.DOS\LANMAN.INI
  138.  
  139.      ;*****************************************************************;
  140.      ;**                  Microsoft LAN Manager                      **;
  141.      ;**            Copyright(c) Microsoft Corp., 1991               **;
  142.      ;*****************************************************************;
  143.      [networks]
  144.        netservices = chknet, minses
  145.  
  146.      [workstation]
  147.        wrkservices = encrypt,messenger,minipop
  148.        wrkheuristics = 1111211012112000
  149.        computername = DOSREQ8
  150.        domain = LMANDOM
  151.        othdomains =
  152.        numdgrambuf = 3
  153.        lanroot = C:\LANMAN.DOS
  154.  
  155.      [netshell]
  156.        username = palt61us
  157.  
  158.      [version]
  159.        lan_manager = 2.1.0
  160.  
  161.      [messenger]
  162.  
  163.      [services]
  164.        chknet        = netprog\chknet.exe
  165.        minses        = netprog\minses.exe /n
  166.        workstation   = netprog\netwksta.exe
  167.        messenger     = services\msrv.exe
  168.        netpopup      = services\netpopup.exe
  169.        encrypt       = services\encrypt.exe
  170.        minipop       = services\minipop.exe
  171.  
  172.  
  173. OS/2 - LAN Manager Requester
  174. ----------------------------
  175.  
  176. If you are using LAN Manager Requester and LAN Distance on an OS/2
  177. workstation:
  178.  
  179. o Install LAN Manager Requester for OS/2
  180.  
  181.   NOTE: Because LAN Distance requires OS/2 version 2.0 or higher, you must
  182.   install Microsoft LAN Manager Requester version 2.2.
  183.  
  184.   When the LAN Manager Requester installation program prompts you for
  185.   your LAN adapter type, select your LAN adapter type from the list.
  186.   If your workstation does not have a LAN adapter, select ANY LAN adapter
  187.   type in the list.  Do not select "No adapter".  This is the easiest way to
  188.   get LAN Manager Requester set up.
  189.  
  190. o Copy your CONFIG.SYS to CONFIG.LAN. (optional)
  191.  
  192.   Copy this file if you have a LAN adapter in your workstation and
  193.   you intend to use LAN Manager in both a LAN-attached environment
  194.   and in a remote environment with LAN Distance. You will use the (.LAN)
  195.   file when you are in a LAN-attached environment.
  196.  
  197.   You can also copy your \LANMAN\LANMAN.INI file to \LANMAN\LANMAN.LAN
  198.   at this point.  Keeping a separate copy of this for your LAN-attached
  199.   environment will give you slightly improved performance when you
  200.   are directly attached to the LAN.
  201.  
  202. o Edit your CONFIG.SYS:
  203.  
  204.   1) Delete or REM the PROTMAN.OS2 device statement from your CONFIG.SYS.
  205.  
  206.      REM DEVICE=C:\LANMAN\PROTMAN\DRIVERS\PROTMAN.OS2
  207.  
  208.   2) Delete or REM the DEVICE= statement for your LAN adapter.
  209.      Perform this step EVEN if you have a LAN adapter in your workstation.
  210.      For example, if you selected IBM Token Ring adapter when you installed
  211.      LAN Manager Requester, delete or remove the IBMTOK.OS2 driver
  212.      statement in your CONFIG.SYS:
  213.  
  214.      REM DEVICE = C:\...\IBMTOK.OS2
  215.  
  216.  
  217. o Edit your STARTUP.CMD:
  218.  
  219.   (Temporarily) remark out the starting of the LAN Manager Requester:
  220.   REM NET START WORKSTATION
  221.   REM NET LOGON ...
  222.  
  223. o Edit LANMAN.INI:
  224.  
  225.   1) If you are using LAN Manager with Netbeui, edit your
  226.      net statement to look like:
  227.  
  228.      net1 = netbios$, 0, nb30
  229.  
  230.      LAN Distance cannot start unless you make this change.
  231.  
  232.   2) Add/change the wrkheuristics parameter in the [workstation] section
  233.      to look like:
  234.  
  235.      [workstation]
  236.      ;                   0         1         2         3
  237.      ;                   01234567890123456789012345678901234
  238.          wrkheuristics = 11111111213000111110010111200112211
  239.  
  240.      If you already have a wrkheuristics parameter, the only changes that
  241.      you need to change for LAN Distance are to change the 11th, 12th,
  242.      and 13th bits (counting from 0) from a 1 to a 0.
  243.      These are the RAW data transfer protocol bits.
  244.      See the Microsoft LAN Manager Administrator's Reference for a
  245.      full description of these heuristics.
  246.  
  247.   3) Edit/add the sesstimeout value in the [workstation] section as follows:
  248.  
  249.      [workstation]
  250.         sesstimeout = 300
  251.  
  252.  
  253. o Install the LAN Distance Remote for OS/2 and use the Basic Settings
  254.   Option to configure your initial setup.
  255.  
  256. o Edit CONFIG.SYS
  257.  
  258.   Check/edit statements in your CONFIG.SYS to make sure they look like
  259.   the following.  Make sure they appear in this relative order.
  260.  
  261.   LIBPATH=C:\IBMCOM\DLL;C:\LANMAN\NETLIB;....
  262.  
  263.   DEVICE=C:\IBMCOM\PROTMAN.OS2 /I:C:\IBMCOM  ; only want IBMCOM version of this
  264.   DEVICE=C:\IBMCOM\PROTOCOL\NETBEUI.OS2      ; only want IBMCOM version of this
  265.   RUN=C:\IBMCOM\PROTOCOL\NETBIND.EXE
  266.   RUN=C:\IBMCOM\LANMSGEX.EXE
  267.   DEVICE=C:\IBMCOM\PROTOCOL\NETBIOS.OS2      ; only want IBMCOM version of this
  268.   DEVICE=C:\WAL\WCLVPCM.OS2
  269.   DEVICE=C:\IBMCOM\MEMMAN.OS2
  270.   DEVICE=C:\IBMCOM\VLAN.OS2
  271.   RUN=C:\IBMCOM\VLANINIT.EXE
  272.   DEVICE=C:\IBMCOM\MACS\PDFH.OS2
  273.   DEVICE=C:\IBMCOM\MACS\MACFH.OS2
  274.   DEVICE=C:\IBMCOM\MACS\WCLCPMAC.OS2
  275.  
  276.   DEVICE=C:\LANMAN\NETPROG\RDRHELP.SYS             ; have to move these to here
  277.   IFS=C:\LANMAN\NETPROG\NETWKSTA.SYS /i:C:\LANMAN  ; have to move these to here
  278.   DEVICE=C:\LANMAN\NETPROG\NETVDD.SYS              ; have to move these to here
  279.  
  280.   Note: If you install LAN Distance before you install LAN Manager Requester,
  281.   your CONFIG.SYS will look quite a bit different than this.  You may
  282.   notice multiple versions of PROTMAN.OS2 and NETBEUI.OS2 being loaded.
  283.   Be sure to REM out the versions in the \LANMAN paths, and use the
  284.   versions in the \IBMCOM path.
  285.  
  286. o Copy your CONFIG.SYS to CONFIG.REM. (optional)
  287.  
  288.   Copy this file if you have a LAN adapter in your workstation and
  289.   you intend to use LAN Manager in both a LAN-attached environment
  290.   and in a remote environment with LAN Distance. You will use the (.REM)
  291.   file when you are using LAN Distance in a remote environment.
  292.  
  293.   If you are keeping a separate copy of \LANMAN\LANMAN.INI for your
  294.   LAN environment, you must copy \LANMAN\LANMAN.INI to \LANMAN\LANMAN.REM.
  295.  
  296. o Complete steps further below under "LAN Manager Server".
  297.  
  298.   "SHUTTLING" with on an OS/2 Workstation
  299.   ---------------------------------------
  300.   The Shuttle feature in the LAN Distance Remote for OS/2 does not
  301.   work with LAN Manager Requester.  The steps above have enabled you
  302.   to manually "shuttle" between a LAN-attached and a remote environment.
  303.  
  304.   When you are LAN-attached, simply copy your CONFIG.LAN to CONFIG.SYS
  305.   and LANMAN.LAN to LANMAN.INI (if appropriate) and restart your
  306.   workstation.
  307.  
  308.   When you are in a remote environment, copy your.REM files and restart
  309.   your workstation.
  310.  
  311.   Sample Files:
  312.   ------------------
  313.  
  314.   Sample CONFIG.SYS (LAN-attached version - CONFIG.LAN)
  315.   -----------------------------------------------------
  316.  
  317.     LIBPATH=C:\LANMAN\NETLIB;C:\MUGLIB\DLL;...
  318.  
  319.     REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES
  320.     DEVICE=C:\LANMAN\DRIVERS\PROTMAN\PROTMAN.OS2 /i:C:\LANMAN
  321.     DEVICE=C:\LANMAN\DRIVERS\TOKENRNG\IBMTOK\IBMTOK.OS2
  322.     DEVICE=C:\LANMAN\DRIVERS\PROTOCOL\NETBEUI\NETBEUI.OS2
  323.     DEVICE=C:\LANMAN\NETPROG\RDRHELP.SYS
  324.     IFS=C:\LANMAN\NETPROG\NETWKSTA.SYS /i:C:\LANMAN
  325.     DEVICE=C:\LANMAN\NETPROG\NETVDD.SYS
  326.     REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES == LANMAN 2.2a ====
  327.  
  328.   Sample LANMAN.INI
  329.   -----------------
  330.  
  331.     ;*****************************************************************;
  332.     ;**            Microsoft LAN Manager                            **;
  333.     ;**        Copyright(c) Microsoft Corp., 1993                   **;
  334.     ;*****************************************************************;
  335.  
  336.     ;  LAN Manager initialization file, for workstation configuration.
  337.  
  338.     [networks]
  339.     ; This info is read by redir at device init time.  It is available to
  340.     ; apps via NetBiosEnum.
  341.     ; net1 = netbeui$,0
  342.       net1 = netbios$, 0, nb30
  343.  
  344.     [workstation]
  345.       computername = OS2REQ
  346.       domain = LMANDOM
  347.       othdomains =
  348.       wrkheuristics = 11111111213000111110010111200112211
  349.       sesstimeout = 300
  350.       wrkservices = messenger,netpopup
  351.       wrknets = net1
  352.  
  353.     [messenger]
  354.  
  355.     [netshell]
  356.       refresh = 15
  357.       remote =
  358.       username = JOEUSER
  359.  
  360.     [version]
  361.       lan_manager = 2.2a.0
  362.  
  363.     [tcpip_node]
  364.       Hub =
  365.       HubIPAddr =
  366.       Domains =
  367.       DoUAS = yes
  368.       DoView = yes
  369.       DoLogon = yes
  370.       DoWho = no
  371.       DoSend = no
  372.       DoRepl = yes
  373.       DoUser1 = no
  374.       DoUser2 = no
  375.       DoUser3 = no
  376.       UserMailSlot1 =
  377.       UserMailSlot2 =
  378.       UserMailSlot3 =
  379.  
  380.     [services]
  381.     ; Correlates name of service to pathname of service program.
  382.     ; The pathname must be either
  383.     ;       1) an absolute path (including the drive specification)
  384.     ;                       OR
  385.     ;       2) a path relative to the LanMan root
  386.  
  387.       workstation = services\wksta.exe
  388.       tcpip_node = services\node.exe
  389.       messenger = services\msrvinit.exe
  390.       netpopup = services\netpopup.exe
  391.  
  392.   Sample \IBMCOM\PROTOCOL.INI (used in remote environment)
  393.   --------------------------------------------------------
  394.  
  395.     [PROT_MAN]
  396.  
  397.        DRIVERNAME = PROTMAN$
  398.  
  399.     [IBMLXCFG]
  400.  
  401.        netbeui_nif = netbeui.nif
  402.  
  403.     [netbeui_nif]
  404.  
  405.        DriverName = netbeui$
  406.        TI = 60000
  407.        T1 = 10000
  408.        T2 = 2000
  409.        SESSIONS = 48
  410.        NAMES = 27
  411.        NCBS = 125
  412.        NETFLAGS = 0x1000
  413.        BINDINGS = PDFH_nif
  414.  
  415.     [VLAN_KERNEL]
  416.  
  417.        DRIVERNAME = VLANKNL$
  418.        CFGTYPE = "LOCKED"
  419.        MODE = "LEARN_WFLOWS"
  420.        LANTYPE = "802.5"
  421.        MAXADDRESSES = 512
  422.  
  423.     [PDFH_nif]
  424.  
  425.        DRIVERNAME = PDFH$
  426.        NETADDRESS = "T4000012B2C35"
  427.  
  428.     [COM1]
  429.  
  430.        DRIVERNAME = WCLCPMC$
  431.        CFGTYPE = "LOCKED"
  432.        PCMSUPPORT = "YES"
  433.        MACTYPE = "802.5"
  434.        CONN_TYPE = "SWITCHED"
  435.        PORTNAME = "COM1"
  436.  
  437.  
  438.   Sample \LANMAN\PROTOCOL.INI (used in LAN-attached environment)
  439.   --------------------------------------------------------------
  440.  
  441.     [PROTMAN]
  442.       DRIVERNAME = PROTMAN$
  443.  
  444.     [NETBEUI_XIF]
  445.       Drivername = netbeui$
  446.       SESSIONS = 40
  447.       NCBS = 85
  448.       BINDINGS = "IBMTOK_NIF"
  449.  
  450.     [IBMTOK_NIF]
  451.  
  452.     ; protocol.ini section for the IBM Token Ring Adapter
  453.  
  454.         drivername = IBMTOK$
  455.  
  456.  
  457. LAN Manager Server
  458. ------------------
  459.  
  460. Complete the following tuning steps so that the LAN Manager server
  461. can work with the slower LAN Distance WAN connections:
  462.  
  463. o Edit the LANMAN.INI file:
  464.  
  465.   1) Edit the sesstimeout value in the [workstation] section as follows:
  466.  
  467.      [workstation]
  468.         sesstimeout = 300
  469.  
  470.   2) Add a srvheuristics parameter (or change the current one) in
  471.      the [server] section:
  472.  
  473.      [server]
  474.       ;                 0         1
  475.       ;                 01234567890123456789
  476.         srvheuristics = 11110151111211021331
  477.  
  478.      If you already have a srvheuristics parameter, the only change
  479.      necessary for LAN Distance is to change bit 15 from a 0 to a 2.
  480.      This will increase the Opportunistic Lock Timeout.
  481.      See the Microsoft LAN Manager Administrator's Reference
  482.      for a full description of these heuristics.
  483.  
  484. o If you are running the NETBIOS protocol over a LAN Distance WAN connection,
  485.   edit the \LANMAN\PROTOCOL.INI file:
  486.  
  487.   The NETBIOS timer values must be relaxed to handle the slower
  488.   WAN connection.  Add or the change the following parameters in
  489.   the NETBEUI_XIF section:
  490.  
  491.   [NETBEUI_XIF]
  492.      TI = 60000
  493.      T1 = 10000
  494.      T2 = 2000
  495.  
  496.  
  497.