From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa8e5,a70b9254e03b9c6f X-Google-Attributes: gidfa8e5,public X-Google-Thread: fee84,a70b9254e03b9c6f X-Google-Attributes: gidfee84,public From: Erik Persson Subject: Re: CAP problems, DU 3.2C -- LN0/permission denied Date: 1997/08/22 Message-ID: #1/1 X-Deja-AN: 267861797 Sender: erik@sibelius.ikp.liu.se References: Organization: IKP - Linkoping University Newsgroups: comp.protocols.appletalk,comp.unix.osf.osf1 Matthew Temple writes: > > > I've gotten the following error messages from trying to print via CAP to a > laserwriter (Actually HP4M) in our area: > > Instructions for printing suggest that there must be agreement between > owners and permissions on the network interface. (They suggest /dev/net > for their installation. The following error message refers to LN0, but > there is no /dev/ln0. > > Do I assume from this erro message that this is the cause for the failure > of papif to print? (lwpr works) > > > << > open: ln0: Permission denied > NBPInit: DDPOpenSocket error 13 > papif: Starting job for root@otto.med.harvard.edu at Thu Aug 21 15:24:00 > 1997 on printer cf522:LaserWriter@EQRF > NBP nbpFcn: nbpInit not called>> > Filter 'f' terminated (sig=-1,err=1) > << CAP on Digital Unix requires: 1. Kernel packetfilter support to be enabled (RTFM packetfilter) 2. Packetfilter device files to be created (cd /dev; ./MAKEDEV pfilt) Furthermore, papif requires write permissons on /dev/pf/pfilt*. This can be accomplished by either making papif setuid or setgid. /Erik -- Erik Persson, System Manager e-mail: erik@ikp.liu.se Dept. of Mech. Engineering Voice: +46 13 28 2464 Division of Solid Mechanics Fax: +46 13 21 2717 University of Link�ping, Sweden