[lug] Remote printing?

Scott A. Herod herod at interact-tv.com
Tue Mar 20 14:03:14 MST 2001


Thanks for the note, Hugh.

Some of these I'll have to check tonight at home.

I forgot to mention that while trying to get it to work I did
disable all ipchains. (They should only monitor the ppp interface
but I wanted to make sure.)  /etc/hosts.deny is empty.

The plus signs are in /etc/hosts.lpd.  Is the syntax not the
same as is listed in the hosts.equiv man page?  Hmmm, I wonder
if the "no write permission" mentioned in the hosts.equiv man
page is required.  I'll have to check that tonight.

Printing subsystem is whatever RH 6.2 defaults to (?).  I
assume berkeley lpd?

Scott

Hugh Brown wrote:
> 
> Are you denying access to lpd in some other way (/etc/hosts.deny or
> ipchains)?
> 
> when you login to the printer host where does the last log say you are
> coming from (i.e. does it match what is written in hosts.lpd)
> 
> what are permissions on /etc/hosts.lpd
> 
> I have root:root 644 on mine.
> 
> are the plus signs actually in /etc/hosts.lpd or was that a formatting
> convenience for us?
> 
> which printing subsystem are you using (berkeley lpd, lprng, etc.)?
> 
> Hugh
> 
> Scott Herod wrote:
> >
> > Hello,
> >
> >   Sorry for another printer question...
> >
> >   At home I have two machines on an isolated network.  One
> > is attached to an Epson 740 printer on the parallel port
> > and prints fine.  The two machines happily talk with telnet
> > and shared partitions using IP address or hostnames so
> > networking works fine.  I just can't get the machine
> > connected to the printer to accept connections from the
> > other.
> >
> >   The printer host has the following in its /etc/hosts.lpd
> >
> > + machine2.myhome.net
> > + 192.168.2.202
> >
> > Users on the two machines differ but the printcaps don't
> > set the user flag.
> >
> > Printcaps are
> > Machine 1:
> >
> > lp:\
> >         :sd=/var/spool/lpd/lp:\
> >         :mx#0:\
> >         :sh:\
> >         :lp=/dev/lp0:\
> >         :if=/var/spool/lpd/lp/filter:
> >
> > Machine 2:
> >
> > lp:\
> >          :sd=/var/spool/lpd/lp:\
> >          :mx#0:\
> >          :sh:\
> >          :rm=machine1.myhome.net:\
> >          :rp=lp:\
> >          :if=/var/spool/lpd/lp/filter:
> >
> > When I try to print from machine 2, lpq says:
> >
> > machine2: waiting for queue to be enabled on machine1.myhome.net
> > Rank   Owner      Job  Files                                 Total Size
> > 1st    root       10    ...                                  625 bytes
> >
> > machine1.myhome.net: /usr/sbin/lpd: lp: Your host does not have line
> > printer access
> >
> > I've restarted lpd multiple times on each machine.
> >
> > Any suggestions of how to get this to work would be greatly
> > appreciated.
> >
> > Scott



More information about the LUG mailing list