[lug] Remote printing?
D. Stimits
stimits at idcomm.com
Tue Mar 20 13:00:00 MST 2001
Hugh Brown wrote:
>
> Are you denying access to lpd in some other way (/etc/hosts.deny or
> ipchains)?
I would add another suggestion along this line...can the one machine
telnet to the printer machine? Is it in hosts.allow (this could be
temporarily added for testing, then restart inetd or xinetd)?
>
> 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
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list