[comp.protocols.tcp-ip.ibmpc] PCNFS and a Network Device

rapickering@miavx1.acs.muohio.edu (01/10/91)

I'm the system administrator of a MicroVax II running pcnfs.

We are trying to make an HP plotter a network available device.
The plotter is hanging off of the MicroVax.  The pcnfs manual describes 
different net use commands.

The one we believe should work is:  
        net use printerdevice: \\nodename\queuename

For this command we receive a "filesystem access denied" error.

Any ideas how we could get this as a network device for our pc network?

-- 
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Rob Pickering

internet:  rapickering@miavx1.acs.muohio.edu   \ Preferred
           pickerin@apsvax.aps.muohio.edu      / 
bitnet  :  pickerin@miamiu.bitnet              - Not bad
 
"On work applications it always says, 'In case of emergency, contact:'
 I put, 'Doctor'."     -Steven Wright
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

arsen@erg.sri.com (Tom Arseneault) (01/10/91)

In article <3313.278b3353@miavx1.acs.muohio.edu> rapickering@miavx1.acs.muohio.edu writes:
>I'm the system administrator of a MicroVax II running pcnfs.
>
>We are trying to make an HP plotter a network available device.
>The plotter is hanging off of the MicroVax.  The pcnfs manual describes 
>different net use commands.
>
>The one we believe should work is:  
>        net use printerdevice: \\nodename\queuename
>
>For this command we receive a "filesystem access denied" error.
>
>Any ideas how we could get this as a network device for our pc network?
>
>-- 
>Rob Pickering

Rob,
	Your problem is that there is a file system not exported to the
PCs. This file system is the one that is pointed to from the PCNFSD with
the -s option. When you print using PCNFS it will redirect the printer
output (the prt.exe program) to a network device mounted as a disk. The
devices are T:\ for lpt1, U:\ for lpt2 and V:\ for lpt3. Then PCNFSD
will take the file from the UNIX dir and send it to the print spool dir
for the printer you want. 

	There for what you should is check the /etc/exports file on the
file server to ensure that the proper filesystem is exported (on a sun
PCNFSD is started up either in the rc.local file or the inetd.conf for
the rpc version. For the rc.local version there should be somthing like
this in the rc.local file:

	if[ -f /etc/rpc.pcnfsd ]; then
	 /etc/rpc.pcnfsd -s /usr/tmp ; echo
	 'rpc.pcnfsd' >/dev/console
	fi

some time after YPBIND.

Thomas J. Arseneault
arsen@erg.sri.com