<quote who="Michael Lake">
> Michael Lake wrote:
>
> I see that Ken had the same problem a while ago:
> http://lists.slug.org.au/archives/slug/2001/February/msg01207.html
>
The setup that I am using now is changed from what I was using in
February. Adler is my main box and it has a printer attached. I can
print files from the other boxes on this printer. Attached are the
/etc/hosts and /etc/hosts.lpd for adler and /etc/printcap for
kingfisher. Note that because kingfisher does not have its own printer
I found it convenient to call its remote printer "lp" so I can just do
lpr foo.bar
rather than
lpr -P foo.bar
Note that /etc/hosts.lpd on tazieff must agree with /etc/hosts this was
my mistake last time. ie the entry in /etc/hosts.lpd is exactly the
same as the field immediately following the IP in /etc/hosts
regards,
Ken
127.0.0.1 localhost
192.168.0.1 co3002879-a.myplace co3002879-a
192.168.0.2 longwing.myplace longwing
192.168.0.3 superchook.myplace superchook
192.168.0.4 kingfisher.myplace kingfisher
192.168.0.5 adler.myplace adler
192.168.0.6 salto.myplace salto
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
superchook.myplace
longwing.myplace
kingfisher.myplace
salto.myplace
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
#lp|Generic dot-matrix printer entry:\
# :lp=/dev/lp0:\
# :sd=/var/spool/lpd/lp:\
# :af=/var/log/lp-acct:\
# :lf=/var/log/lp-errs:\
# :pl#66:\
# :pw#80:\
# :pc#150:\
# :mx#0:\
# :sh:
lp|Remote printer entry:\
:lp=:\
:rm=adler.myplace:\
:rp=lp:\
:sd=/var/spool/lpd/remote:\
:mx#0:\
:sh: