home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
alltips.zip
/
CDROM.FAX
< prev
next >
Wrap
Text File
|
1994-11-30
|
5KB
|
118 lines
Setting up a CD-ROM on LAN Server 2.0 and 2/28/94
SHARING A CD-ROM ON THE OS/2 LAN SERVER (VERSION 2.0 OR
VERSION 3.0)
DESCRIPTION OF SYMPTOMS
One or more of the following:
1. Received the error NET9336: The drive you specified is not
valid or cannot be accessed. Diskette drives, files,
redirected drives, virtual disk drives, or nonexistent
drives are not valid for defining an alias. Specify a
valid drive and try the operation again.
2. Need to share a CD-ROM on a LAN server.
3. Users cannot get below the root directory of the CD-ROM on
the server.
4. The CD-ROM no longer accessible after system restart.
SUMMARY OF RESOLUTION
At the server, set up the CD-ROM from the command line or
from the LAN Requester Full Screen Interface.
DETAILS OF RESOLUTION
There are two ways to set up a CD-ROM on the LAN. The
first set up below is done from the command line, but must be
done each time the server is rebooted. (It could be put
in the STARTUP.CMD.) The second setup, done from the
LAN Requester Full Screen Interface, takes a little more
time to set up; but it does not have to be done each time
the server is rebooted.
Note: In the following examples:
SERVNAME = The name of the server with the
CD-ROM
NETCDROM = The CD-ROM netname
CDROMAL = The CD-ROM alias
E: = The local drive letter assigned to
the CD-ROM
K: = The redirected drive at the requester
1. This setup is done from the command line on the server
where the CD-ROM is installed:
a. At the OS/2 command line, do a NET SHARE.
Example: NET SHARE NETCDROM=E:
b. Create an access control profile.
Example: NET ACCESS E: /ADD
c. Grant access to the users.
Example: NET ACCESS E: /GRANT USERS:R GUEST:R
d. At the requester, do a NET USE.
Example: NET USE K: \\SERVNAME\NETCDROM
NOTE: The access profile must be for "E:" not "E:\";
otherwise an APPLY will have to be done after each
CD-ROM change.
2. This setup is done from the LAN Requester Full Screen
Interface on the server where the CD-ROM is installed:
a. Define an alias for the CD-ROM drive root directory:
1) From the LAN Requester Main Panel, select
Definitions, then select Aliases from the popup.
2) From the Aliases panel, select Files.
3) From the Manage Aliases - Files panel, select
--NEW--, then select Create from the popup.
4) Complete the Create Aliases - Files panel:
Alias: CDROMAL
Server name: SERVNAME
Server path to directory: E:\
When shared: At server startup
b. Create the access control profile for the CD-ROM:
1) From the LAN Requester Main Panel, select
Definitions, then Access Controls from the popup.
2) From Manage Access Control - Aliases, F10 to the
Action Bar, and select Servers, then Enter on the
Display Profiles by Server popup.
3) From List of Servers, select --Here--.
4) From Manage Access Control - Non-Alias, select
--New--, F10 to the Action bar, then select
Create on the popup.
5) On the Create an Access Control Profile, enter or
select the following:
Profile type: E: (DO NOT add a \; eg, E:\)
Resource Type: File
Permissions for
User Group: XR
6) On Manage Access Control - Non-alias, select the
profile created in the previous step (eg. E:).
F10 to the Action bar, selection Actions, then
select User List from the popup.
7) From Access Control Profile User List, cursor to
Guest and enter XR in Permissions.
8) From Manage Access Control - Non-alias, select E:.
F10 to the action bar and select Actions, then
Apply from the popup.
9) At the next popup, verify the drive letter is
correct, then press Enter to proceed. (This will
search all the files currently loaded in the CD-ROM
and create many entries.)
NOTE: A CD must be in the CD-ROM drive.
c. Delete all the access control profiles for the
CD-ROM EXCEPT E:. (This is the only access
control required for the drive.)
d. At the requester, use the alias to access the shared
CD-ROM:
NET USE K: CDROMAL
Date last updated: 02/25/94
XA25008 CJVCT
12/31/99