home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
NWUSE.FAX
< prev
next >
Wrap
Text File
|
1994-11-26
|
7KB
|
179 lines
Setting up Private DOS Sessions and a VM 7/14/94
NWUSAGE - NetWare DOS Usage Information
*****************
Table of Contents
For DOS support, enable VIPX.SYS and VSHELL.SYS
How to set up a private DOS session
How to install VMB on a NetWare Client for OS/2
Tips for running DOS programs
*****************
For DOS support, enable VIPX.SYS and VSHELL.SYS
To have network support in DOS and WIN-OS/2 sessions, take out the
REM in front of (or add) the following lines in the CONFIG.SYS.
DEVICE=<drive>&colon.\<path>\VIPX.SYS
DEVICE=<drive>&colon.\<path>\VSHELL.SYS
where <drive> is the drive where NetWare is installed, and
<path> is the path to the NetWare subdirectory (usually
something like c&colon.\netware).
Then reboot for the changes to take effect.
*****************
How to set up a private DOS session
A private DOS session allows a separate connection into the server.
Changing settings or drive mappings in a private DOS session does
not affect other DOS private or OS/2 sessions you might have active
at the time. Some DOS applications must be set up under a private
DOS session because NETX API is needed, and a global session doesn't
support NETX.
To set up a private DOS session, copy a DOS screen icon into the
folder you want or onto the desktop. Click right mouse button on
the icon and Open Settings. Click on the Session tab and then click
on DOS Settings. This gets you to a list of options that you can set.
For a private DOS session, you need to change the following options:
NETWARE_RESOURCES Value: PRIVATE
DOS_LASTDRIVE Value: last local drive (can be any drive)
VIPX_ENABLED Value: ON
DOS_VERSION Value: NETX.EXE,5,00,214
(NETX.COM for Version 2.0)
The DOS_LASTDRIVE option must be set to something other than Z (the
default) because you login from the drive following the DOS_LASTDRIVE.
For example, if you set DOS_LASTDRIVE to C, you will login from the
D drive.
The DOS_VERSION option gives the DOS Version you are using (the 5,00
part of the line above), and the number of DOS files (the 214 part).
After you make all your changes, you need to click on Save button
to save these settings. Then you can close the window.
To login with the private DOS session,
1. Open the window by double-clicking on the icon.
2. Go to your NETWARE subdirectory.
3. Type NETX
4. Go to the drive following the drive you specified as your
last drive (in DOS_LASTDRIVE).
5. Type LOGIN <userid>
where <userid> is your user name.
6. Enter your password.
After this, your DOS login script will run, and you should have a
separate network connection. You can also automate the login
process. The login process is described in detail in the NetWare
Workstation for OS/2 reference manual, p. 26-31.
***************
How to install VMB on a NetWare Client for OS/2
To install Virtual Machine Boot (VMB) on a NetWare Client, you
need to have a boot image file either on diskette or on your hard
drive. See OS/2 online help for information about creating these
boot images. To copy a boot image file onto your hard drive, you
need to use the following command:
vmdisk a: c&colon.\<path>\<imagename>
where <imagename> is the name of the image file you want to create
on your hard disk. For example, DOS33.IMG
This command copies everything on the a: diskette into
c&colon.\<path>\<imagename>.
Be sure that the a: diskette is a bootable diskette before doing this.
You also need to make sure that network support for virtual sessions
is enabled. If it is not enabled, you should enable it by following
the steps given in the "For DOS Support, Enable VIPX and VSHELL"
section of this document.
Next, add the following lines to the CONFIG.SYS file (either the
file on the a: diskette or the one on the hard drive):
device=<drive>&colon.\os2\mdos\fsfilter.sys
device=<drive>&colon.<path>\dosvshll.sys (for GLOBAL session only)
device=<drive>&colon.<path>\dosvipx.sys
lastdrive=z (or letter if using private DOS session)
To set up the VMB icon, do the following. You can either set it
up so that it boots from the a: drive or from the hard disk.
1. Copy an OS/2 system DOS full screen icon onto the desktop,
2. Click right mouse button on the icon and Open Settings.
3. Path and filename should be left as * on the Program page.
4. On the Session page, select the DOS full screen button, and
then click on "DOS settings" button.
5. At the DOS settings screen, change the following options:
DOS_SHELL Value: a&colon.\command.com
(or blank if image is on the
hard drive)
DOS_STARTUP_DRIVE Value&colon. a&colon.\
(or c&colon.\<path>\<imagename>
where <imagename> is the name
of the image file created with
the VDISK command mentioned
above.)
NETWARE_RESOURCES Value&colon. GLOBAL (or PRIVATE)
VIPX_ENABLED Value&colon. ON
DOS_LASTDRIVE Value&colon. last local drive used
(can be any drive)
6. Click on Save to save these settings.
7. Close the window by double clicking on upper left corner.
After this, opening the icon should start the VMB. See the
NetWare Workstation for OS/2 reference manual, p. 34-36, for
more information.
***************
Tips for Running DOS Programs
If you are unable to run a DOS application in a global DOS session,
first try to make the application work in a private DOS session.
If that still doesn't work, then try to run it in a VMB.
------------------------------------------------------------------------
NetWare, NetWare Client for OS/2, and NetWare Requester for OS/2 are
trademarks of Novell, Inc.
Thank you for calling Software Solution Services. Regarding the problem
reported to the support line, we feel that this information may assist
you in resolving your problem. If you still require assistance, please
call 1-800-992-4777 again, and you will be connected to the appropriate
support personnel.
IBM disclaims all warranties, whether expressed or implied, including
without limitation, warranties of fitness and merchantability with
respect to the information in this document. By furnishing this
document, IBM grants no licenses to any related patents or copyrights.
If you identify errors or have comments about this document, please let
us know. We will make every effort to correct errors and improve the
quality of this document.
Please FAX your comments to:
(512) 823-9495
IBM
Attn: CBR Express Team
Thanks!
*****
LAST UPDATED 3/7/94
(END)
12/31/99