home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: OtherApp
/
OtherApp.zip
/
pplink.zip
/
192BETA.ZIP
/
README.Eng
< prev
next >
Wrap
Text File
|
1995-01-09
|
10KB
|
263 lines
User's Guide 1/06/95 Eiju Akahane
PPLINK (Parallel Port LINK data transfer tool)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0. Words
Server specifies the PPLINK server program or the machine in which
PPLINK server is running. It enables requester to access
the disks attached to the server machine.
Requester means the PPLINK requester program or the machine in which
PPLINK requester is installed. The drives in the server can
be accessed from requester.
1. Installation
The following describes the installation by using the case of DOS requester
and OS/2 server. Refer to "Syntax" section for the detail of parameters.
Step 1) Prepare cable to connect parallel ports. PPLINK supports the
following three cables. Please refer to the wiring chart in
the Appendix.
- PPLINK fullduplex cable.
- LAPLINK/INTERLNK cable.
- JFACOMM halfduplex cable.
The following steps assume you use LAPLINK/INTERLNK cable.
Step 2) Setup PPLINK server in the DOS machine.
Step 2-1) Copy the following files into your DOS machine. The next
steps assumes the target directory is c:\pplink.
pplnkdos.sys, ppsvrdos.sys, ppserver.exe
Step 2-2) Add the following lines into the CONFIG.SYS file.
device=c:\pplink\pplnkdos.sys /l
device=c:\pplink\ppsvrdos.sys pplink$$
Step 3) Install PPLINK requester in the OS/2 machine.
Step 3-1) Copy the following files into the OS/2 machine. (e:\pplink
is assumed for the next stepes)
pplink.sys, ppreqdrv.sys
Step 3-2) Add the following lines into CONFIG.SYS.
device=e:\pplink\pplink.sys /l
device=e:\pplink\ppreqdrv.sys pplink$$ 1
The last number specifies the number redirected drives.
Step 4) Start the machines.
Step 4-1) Connect the parallel port of two machines with the proper
cable.
Step 4-2) Power on DOS machine.
Step 4-3) Run the PPLINK server process in the DOS machine.
Run "c:\pplink\ppserver".
Step 4-4) Boot OS/2 machine.
The redirected drive letters appears when ppreqdrv.sys is
loaded.
Use "DIR" command to check if the redirected drive works.
2. Syntax
2.1 pplink.sys (use pplnkdos.sys in DOS)
device=[drive][path]pplink.sys [n|mmm] [{/l|/j}] [{/s|/m|/f}]
n 1 digit number. Specifies port number.
mmm 3 or 4 digit hexadecimal number. Specifies port address.
/l LAPLINK/INTERLNK cable is connected.
/j JFACOMM halfdulpex cable is connected.
(none) PPLINK fullduplex cable (same as JFACOMM fullduplex cable)
is connected. (It works only with the machines which has
PS/2 type bi-directional parallel port.)
/s Slow mode.
/m Medium slow mode.
/f Fast mode. (can be used only with PPLINK fullduplex cable)
Defaults:
pplink.sys = pplink.sys /f
pplink.sys /l = pplink.sys /l /m
pplink.sys /j = pplink.sys /j /m
2.2 ppreqdrv.sys (use ppreqdos.sys in DOS)
device=[drive][path]ppreqdrv.sys pplink$$ n
n number. Number of drives for redirection.
Example) If you want to access C: and D: in the server, specify;
device=ppreqdrv.sys pplink$$ 2
2.3 ppsvrdrv.sys (ppsvrdos.sys for DOS)
device=[drive][path]ppsvrdrv.sys pplink$$
2.4 ppserver.exe (bi-modal and works both in OS/2 and DOS)
[drive][path]ppserver [d1[d2..]] [/n]
d1,d2 Drive letters. If specified, ppserver only allows access
from requester to these drives. If no letters specified,
ppserver allows access to any drives.
/n do not display fullscreen panel.
Example) If you only want to share D:, F:, and G:, type;
ppserver d f g
3. Using ppserver.exe panel interface
You see the following panel when you run ppserver.exe.
╔═════════════ PPSERVER : PPLINK Disk Server Version 1.92 ═════════════════╗
║ Copyright (C) IBM Corp. 1990, 1995 ║
║ ║
║ ║
║ ██ ██████████ ██████████ ║
║ PPLINK Data Transferred Error Retry ║
║ ║
║ Data Transfer Rate (bytes/second) ║
║ ┌────────────────────────────────────────────────────────────────┐ ║
║ │ │ ║
║ └────────────────────────────────────────────────────────────────┘ ║
║ 0K 100K 200K ║
║ ║
║ Break=Exit F5=Reset Drive(s)=(any) ║
╚══════════════════════════════════════════════════════════════════════════╝
3.1 Data in the Screen
PPLINK : Blink shows the PPLINK activity.
Data Transferred : Number of bytes transferred.
Error Retry : Number of retry on errors.
Data Transfer Rate : Bar graph indicates the speed (bytes/secnd).
Drive(s)= : Shows the shared drives.
"(any)" indicates any server drives can be shared.
3.2 Key Operations
Break (ctrl+C) : Stop ppserver in urgent cases. (Use shift+'q'
capital 'Q' in DOS)
F3 : ppserver normal termination.
F5 : Reset display of the panel and disk system.
4. Limitations
1) Because current version of PPLINK redirects low level I/O to provide
server function, only the physically attached FAT or HPFS drives
can be shared. You cannot access CD-ROM nor LAN drives in the server.
2) When you run ppserver in your OS/2 machine, do not access the shared
drive in the server.
3) I implemented minimum functions in the DOS requester. Several file
API may not work proprely.
4) Current PPLINK cannot share the same parallel port with printers.
5. Sample Applications
5.1 Connect notebook computer and OS/2 desktop machine. Obtain data in
the notebook from OS/2 application.
5.2 Duplicate installed OS/2 images.
5.3 Install OS/2 into the machine which do no have any remote or CD-ROM
drives.
5.4 Use old i8086 or i80286 machines as disk server.
Appendix
Please keep it open if the pin has "N.C." mark.
PPLINK fullduplex cable
-STROBE 1 ─────> 13 SLCT
DATA 0 2 <────> 2 DATA 0
DATA 1 3 <────> 3 DATA 1
DATA 2 4 <────> 4 DATA 2
DATA 3 5 <────> 5 DATA 3
DATA 4 6 <────> 6 DATA 4
DATA 5 7 <────> 7 DATA 5
DATA 6 8 <────> 8 DATA 6
DATA 7 9 <────> 9 DATA 7
-ACK 10 <───── 16 -INIT
BUSY 11 N.C. 11 BUSY
PE 12 <───── 14 -AUTO FD XT
SLCT 13 <───── 1 -STROBE
-AUTO FD XT 14 ─────> 12 PE
-ERROR 15 <───── 17 -SLCT IN
-INIT 16 ─────> 10 -ACK
-SLCT IN 17 ─────> 15 -ERROR
GROUND 18 ────── 18 GROUND
: : : :
GROUND 25 ────── 25 GROUND
LAPLINK/INTERLNK Cable cable
-STROBE 1 N.C. 1
DATA 0 2 ─────> 15 -ERROR
DATA 1 3 ─────> 13 SLCT
DATA 2 4 ─────> 12 PE
DATA 3 5 ─────> 10 -ACK
DATA 4 6 ─────> 11 BUSY
DATA 5 7 N.C. 7
DATA 6 8 N.C. 8
DATA 7 9 N.C. 9
-ACK 10 <───── 5 DATA 3
BUSY 11 <───── 6 DATA 4
PE 12 <───── 4 DATA 2
SLCT 13 <───── 3 DATA 1
-AUTO FD XT 14 N.C. 14
-ERROR 15 <───── 2 DATA 0
-INIT 16 N.C. 16
-SLCT IN 17 N.C. 17
GROUND 18 ────── 18 GROUND
: : : :
GROUND 25 ────── 25 GROUND
JFACOMM halfduplex cable
-STROBE 1 N.C 1 -STROBE
DATA 0 2 N.C 2 DATA 0
DATA 1 3 N.C 3 DATA 1
DATA 2 4 N.C 4 DATA 2
DATA 3 5 ─────> 15 -ERROR
DATA 4 6 ─────> 13 SLCT
DATA 5 7 ─────> 12 PE
DATA 6 8 ─────> 10 -ACK
DATA 7 9 ─────> 11 BUSY
-ACK 10 <───── 8 DATA 6
BUSY 11 <───── 9 DATA 7
PE 12 <───── 7 DATA 5
SLCT 13 <───── 6 DATA 4
-AUTO FD XT 14 N.C 14 -AUTO FD XT
-ERROR 15 <───── 5 DATA 3
-INIT 16 N.C 16 -INIT
-SLCT IN 17 N.C 17 -SLCT IN
GROUND 18 ────── 18 GROUND
: : : :
GROUND 25 ────── 25 GROUND