On 22-May-98 Moore Brett wrote:
> Hope someone has a quick answer to this; My machine (192.168.1.1) would
> like to print to the okilaser on lp2 @ my remote machine (192.168.1.6).
> 
> The remote machine has the printer setup & configured so local printing is
> OK, the files;
> 
>   /etc/hosts.lpd reads 1 line: 192.168.1.1
>   
>   /etc/exports has a line: /  192.168.1.1(rw,no_root_squash)

The file /etc/exports is for NFS, and has nothing to do with printing.

>##PRINTTOOL3## REMOTE laserjet 300x300 letter {} LaserJet Default {}
> lp:\
>         :sd=/var/spool/lpd/lp:\
>         :mx#0:\
>         :sh:\
>         :rm=192.168.1.6:\

I'm pretty sure you're going to need to put that IP address in your /etc/hosts
file, and give it a hostname as well.  Even if you can get away with it, you
should give it a hostname.

> ...however despite this (and fooling with  /etc/hosts.equiv  didn't help),

Get rid of /etc/hosts.equiv, as it is an incredible security hole, and really
shouldn't be used unless you know what you are doing.  Use /etc/hosts.lpd
instead, which simply takes the remote hostname one per line.

Dave


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to