[comp.unix.sysv386] Porting PCNFSD to XENIX

mario@theglove.Canada.Sun.COM (Mario Dorion - Sun Montreal) (03/12/91)

Hello Xenix folks.

A local customer, here in Montreal, has a network of PC's, some of them
running XENIX, most running DOS.

They're using PC-NFS to communication between the DOS machines and the
XENIX server. PC-NFS comes with a program called rpc.pcnfsd that has to
be compiled and installed on the UNIX host. This program will, among
other goodies, enable the DOS users to remotely print onto the server's
printers.

The rpc.pcnfsd program is supplied in source format and compiles nicely
on a Sun Workstation or on a 'pure' BSD host. The task of making it run
on different architectures is sort of left to the user.

My customer needs help in porting the rpc.pcnfsd to the XENIX
environment.

XENIX being one of the best selling UNIX environment and PC-NFS being
one of the best selling communication program, I'm sure someone,
somewhere, has already ported the pcnfsd program to XENIX.

Would anyone have any tips? 

You can reply to me by email. I will also monitor this newsgroup for a
while.

Many, many thanks for your help.

--
                 Mario Dorion, Software Specialist Engineer
      /\         Sun Microsystems, Montreal, Canada, 1-514-744-9228
     \\ \        
  / \ \\ /       E-mail:  Mario.Dorion@Canada.Sun.COM (internet)
 / / \/ / //\             ...!sun!suncan!mario (uucp)
 \//\   \// /       
  / /  /\  /    "SUN of them wants to use you, 
   /  \\ \       SUN of them wants to be used by you,
     \ \\        SUN of them wants to abuse you,
      \/         SUN of them wants to be abused ..." - Eurythmics

exnirad@brolga.cc.uq.oz.au (Nirad Sharma) (03/13/91)

mario@theglove.Canada.Sun.COM (Mario Dorion - Sun Montreal) writes:

>My customer needs help in porting the rpc.pcnfsd to the XENIX
>environment.

>XENIX being one of the best selling UNIX environment and PC-NFS being
>one of the best selling communication program, I'm sure someone,
>somewhere, has already ported the pcnfsd program to XENIX.

>Would anyone have any tips? 

I would also like to hear of any such information.

Nirad Sharma
Continuing Education Unit
The University of Queensland
AUSTRALIA

jca@pnet01.cts.com (John C. Archambeau) (03/13/91)

mario@theglove.Canada.Sun.COM (Mario Dorion - Sun Montreal) writes:
>Hello Xenix folks.
>
>A local customer, here in Montreal, has a network of PC's, some of them
>running XENIX, most running DOS.
>
>They're using PC-NFS to communication between the DOS machines and the
>XENIX server. PC-NFS comes with a program called rpc.pcnfsd that has to
>be compiled and installed on the UNIX host. This program will, among
>other goodies, enable the DOS users to remotely print onto the server's
>printers.
>
>The rpc.pcnfsd program is supplied in source format and compiles nicely
>on a Sun Workstation or on a 'pure' BSD host. The task of making it run
>on different architectures is sort of left to the user.
>
>My customer needs help in porting the rpc.pcnfsd to the XENIX
>environment.
>
>XENIX being one of the best selling UNIX environment and PC-NFS being
>one of the best selling communication program, I'm sure someone,
>somewhere, has already ported the pcnfsd program to XENIX.
>
>Would anyone have any tips? 

From a practical standpoint, it can't be done.

1. There are no streams under Xenix, it is all spoofed by the streams
   library.

2. There is no rpc support for Xenix.

3. The TCP/IP is about as solid as the Iraqi military.

There is supposedly an NFS product for Xenix called Fusion from Network
Research, but I am only aware of its existance, nothing more.

Your customers best bet would be to chuck Xenix for one of the System V/386
Release 3.2 or 4.0 products (i.e. ESIX, ISC, Dell, MicroPort, UHC, or SCO)
that already support NFS.

If someone can and has proven me wrong, please speak up.  I was looking for
such a product a long time ago.  But to my understand, Xenix does not
have the necessary kernel support to handle rpc.pcnfsd even with the streams
and TCP/IP packages added.

     // JCA

 /*
 **--------------------------------------------------------------------------*
 ** Flames  : /dev/null                     | What to buy?
 ** ARPANET : crash!pnet01!jca@nosc.mil     | EISA or MCA?
 ** INTERNET: jca@pnet01.cts.com            | When will the bus wars end?
 ** UUCP    : {nosc ucsd hplabs!hp-sdd}!crash!pnet01!jca
 **--------------------------------------------------------------------------*
 */

leo@unipalm.uucp (E.J. Leoni-Smith) (03/14/91)

mario@theglove.Canada.Sun.COM (Mario Dorion - Sun Montreal) writes:

>Hello Xenix folks.

>A local customer, here in Montreal, has a network of PC's, some of them
>running XENIX, most running DOS.

>They're using PC-NFS to communication between the DOS machines and the
>XENIX server.

What TCP/IP are they running on that? I only know of three - PC/TCP
from FTP software (client only) the old Fusion product from NRC and
SCO's own TCP/IP for Xenix. I was not aware that any of these (except possibly
the fusion product) supported NFS server, without which pcnfsd is a waste of 
time.

Or am I missing something.

> PC-NFS comes with a program called rpc.pcnfsd that has to
>be compiled and installed on the UNIX host. This program will, among
>other goodies, enable the DOS users to remotely print onto the server's
>printers.

Only if the server has NFS capabilities.

>The rpc.pcnfsd program is supplied in source format and compiles nicely
>on a Sun Workstation or on a 'pure' BSD host. The task of making it run
>on different architectures is sort of left to the user.

Yup. I have done it for V.3 and V.4 Unixes. 
BUT you need and RPC library and that comes with NFS....

>My customer needs help in porting the rpc.pcnfsd to the XENIX
>environment.


Are you sure he doesn't need to upgrade to Unix 386 including NFS support?

chip@chinacat.Unicom.COM (Chip Rosenthal) (03/15/91)

In article <4802@eastapps.East.Sun.COM>
	mario@theglove.Canada.Sun.COM (Mario Dorion - Sun Montreal) writes:
>My customer needs help in porting the rpc.pcnfsd to the XENIX
>environment.

If what your customer really needs is printing capability, methinks you
are making a big mistake.  I never say never, but trying to cobble together
pcnfsd without an RPC (let alone an NFS) will be quite painful, at best.

Since you've got pcnfs, I can only assume that you have a machine
besides the XENIX box which runs NFS and the DOS peecees can talk to.
The easiest thing would be to setup a print queue on the NFS server,
and just have it `rsh lp' over to the XENIX box.
-- 
Chip Rosenthal  512-482-8260  |
Unicom Systems Development    |    I saw Elvis in my wtmp file.
<chip@chinacat.Unicom.COM>    |

tbissett@nstar.rn.com (Travis Bissett) (03/16/91)

jca@pnet01.cts.com (John C. Archambeau) writes:

> If someone can and has proven me wrong, please speak up.  I was looking for
> such a product a long time ago.  But to my understand, Xenix does not
> have the necessary kernel support to handle rpc.pcnfsd even with the streams
> and TCP/IP packages added.
> 
>      // JCA

Like the old guy said, "Ya can't get there from here." He obviously was 
refering to Xenix and NFS ;-) I hadn't hear of the FUSION thing tho' -- I'll 
watcht out for it. Thanks.

Travis

--
Travis Bissett                       NSTAR conferencing site 219-289-0287
internet: tbissett@nstar.rn.com              1300 newsgroups - 8 inbound lines
uucp: ..!uunet!nstar.rn.com!tbissett            99 file areas - 4300 megabytes
---  backbone news & mail feeds available - contact larry@nstar.rn.com  ---