home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / NWUSE.FAX < prev    next >
Text File  |  1994-11-26  |  7KB  |  179 lines

  1. Setting up Private DOS Sessions and a VM 7/14/94
  2.  
  3. NWUSAGE - NetWare DOS Usage Information
  4. *****************
  5.  
  6. Table of Contents
  7.    For DOS support, enable VIPX.SYS and VSHELL.SYS
  8.    How to set up a private DOS session
  9.    How to install VMB on a NetWare Client for OS/2
  10.    Tips for running DOS programs
  11.  
  12. *****************
  13. For DOS support, enable VIPX.SYS and VSHELL.SYS
  14.  
  15.    To have network support in DOS and WIN-OS/2 sessions, take out the
  16.    REM in front of (or add) the following lines in the CONFIG.SYS.
  17.  
  18.       DEVICE=<drive>&colon.\<path>\VIPX.SYS
  19.       DEVICE=<drive>&colon.\<path>\VSHELL.SYS
  20.  
  21.    where <drive> is the drive where NetWare is installed, and
  22.          <path>  is the path to the NetWare subdirectory (usually
  23.                  something like c&colon.\netware).
  24.  
  25.    Then reboot for the changes to take effect.
  26.  
  27. *****************
  28. How to set up a private DOS session
  29.  
  30.    A private DOS session allows a separate connection into the server.
  31.    Changing settings or drive mappings in a private DOS session does
  32.    not affect other DOS private or OS/2 sessions you might have active
  33.    at the time.  Some DOS applications must be set up under a private
  34.    DOS session because NETX API is needed, and a global session doesn't
  35.    support NETX.
  36.  
  37.    To set up a private DOS session, copy a DOS screen icon into the
  38.    folder you want or onto the desktop.  Click right mouse button on
  39.    the icon and Open Settings.  Click on the Session tab and then click
  40.    on DOS Settings.  This gets you to a list of options that you can set.
  41.    For a private DOS session, you need to change the following options:
  42.  
  43.        NETWARE_RESOURCES     Value: PRIVATE
  44.        DOS_LASTDRIVE         Value: last local drive (can be any drive)
  45.        VIPX_ENABLED          Value: ON
  46.        DOS_VERSION           Value: NETX.EXE,5,00,214
  47.                                     (NETX.COM for Version 2.0)
  48.  
  49.    The DOS_LASTDRIVE option must be set to something other than Z (the
  50.    default) because you login from the drive following the DOS_LASTDRIVE.
  51.    For example, if you set DOS_LASTDRIVE to C, you will login from the
  52.    D drive.
  53.  
  54.    The DOS_VERSION option gives the DOS Version you are using (the 5,00
  55.    part of the line above), and the number of DOS files (the 214 part).
  56.  
  57.    After you make all your changes, you need to click on Save button
  58.    to save these settings.  Then you can close the window.
  59.  
  60.    To login with the private DOS session,
  61.        1. Open the window by double-clicking on the icon.
  62.        2. Go to your NETWARE subdirectory.
  63.        3. Type NETX
  64.        4. Go to the drive following the drive you specified as your
  65.           last drive (in DOS_LASTDRIVE).
  66.        5. Type LOGIN <userid>
  67.           where <userid> is your user name.
  68.        6. Enter your password.
  69.  
  70.    After this, your DOS login script will run, and you should have a
  71.    separate network connection.  You can also automate the login
  72.    process.  The login process is described in detail in the NetWare
  73.    Workstation for OS/2 reference manual, p. 26-31.
  74.  
  75. ***************
  76. How to install VMB on a NetWare Client for OS/2
  77.  
  78.    To install Virtual Machine Boot (VMB) on a NetWare Client, you
  79.    need to have a boot image file either on diskette or on your hard
  80.    drive.  See OS/2 online help for information about creating these
  81.    boot images.  To copy a boot image file onto your hard drive, you
  82.    need to use the following command:
  83.  
  84.         vmdisk a: c&colon.\<path>\<imagename>
  85.  
  86.    where <imagename> is the name of the image file you want to create
  87.                      on your hard disk.  For example, DOS33.IMG
  88.  
  89.    This command copies everything on the a: diskette into
  90.    c&colon.\<path>\<imagename>.
  91.  
  92.    Be sure that the a: diskette is a bootable diskette before doing this.
  93.  
  94.    You also need to make sure that network support for virtual sessions
  95.    is enabled.  If it is not enabled, you should enable it by following
  96.    the steps given in the "For DOS Support, Enable VIPX and VSHELL"
  97.    section of this document.
  98.  
  99.    Next, add the following lines to the CONFIG.SYS file (either the
  100.    file on the a: diskette or the one on the hard drive):
  101.  
  102.         device=<drive>&colon.\os2\mdos\fsfilter.sys
  103.         device=<drive>&colon.<path>\dosvshll.sys   (for GLOBAL session only)
  104.         device=<drive>&colon.<path>\dosvipx.sys
  105.         lastdrive=z (or letter if using private DOS session)
  106.  
  107.    To set up the VMB icon, do the following.  You can either set it
  108.    up so that it boots from the a: drive or from the hard disk.
  109.  
  110.    1. Copy an OS/2 system DOS full screen icon onto the desktop,
  111.    2. Click right mouse button on the icon and Open Settings.
  112.    3. Path and filename should be left as * on the Program page.
  113.    4. On the Session page, select the DOS full screen button, and
  114.       then click on "DOS settings" button.
  115.    5. At the DOS settings screen, change the following options:
  116.  
  117.       DOS_SHELL                 Value: a&colon.\command.com
  118.                                        (or blank if image is on the
  119.                                        hard drive)
  120.       DOS_STARTUP_DRIVE         Value&colon. a&colon.\
  121.                                        (or c&colon.\<path>\<imagename>
  122.                                        where <imagename> is the name
  123.                                        of the image file created with
  124.                                        the VDISK command mentioned
  125.                                        above.)
  126.       NETWARE_RESOURCES         Value&colon. GLOBAL (or PRIVATE)
  127.       VIPX_ENABLED              Value&colon. ON
  128.       DOS_LASTDRIVE             Value&colon. last local drive used
  129.                                        (can be any drive)
  130.  
  131.    6. Click on Save to save these settings.
  132.    7. Close the window by double clicking on upper left corner.
  133.  
  134.    After this, opening the icon should start the VMB.  See the
  135.    NetWare Workstation for OS/2 reference manual, p. 34-36, for
  136.    more information.
  137.  
  138. ***************
  139. Tips for Running DOS Programs
  140.  
  141.    If you are unable to run a DOS application in a global DOS session,
  142.    first try to make the application work in a private DOS session.
  143.    If that still doesn't work, then try to run it in a VMB.
  144.  
  145.  
  146. ------------------------------------------------------------------------
  147. NetWare, NetWare Client for OS/2, and NetWare Requester for OS/2 are
  148. trademarks of Novell, Inc.
  149.  
  150. Thank you for calling Software Solution Services.  Regarding the problem
  151. reported to the support line, we feel that this information may assist
  152. you in resolving your problem.  If you still require assistance, please
  153. call 1-800-992-4777 again, and you will be connected to the appropriate
  154. support personnel.
  155.  
  156. IBM disclaims all warranties, whether expressed or implied, including
  157. without limitation, warranties of fitness and merchantability with
  158. respect to the information in this document.  By furnishing this
  159. document, IBM grants no licenses to any related patents or copyrights.
  160.  
  161. If you identify errors or have comments about this document, please let
  162. us know.  We will make every effort to correct errors and improve the
  163. quality of this document.
  164.  
  165. Please FAX your comments to:
  166.  
  167. (512) 823-9495
  168. IBM
  169. Attn: CBR Express Team
  170.  
  171. Thanks!
  172.  
  173. *****
  174. LAST UPDATED 3/7/94
  175. (END)
  176.  
  177.  
  178. 12/31/99
  179.