[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Impresión de linux a linux



Tengo una máquina linuxA con una impresora bien definida y que funciona.
Desde otra maquina linuxB quiero imprimir a través de la anterior.
En linuxA he definido en los ficheros hosts.allow y hosts.lpd lo siguiente.

# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/netbase/portmapper.txt.gz for further information.
#
ALL: 10.16.99.98           <------ Esta es la direccion de la linuxB


# /etc/hosts.equiv: list  of  hosts  and  users  that are granted "trusted" r
#                   command access to your system .
10.16.99.98     sevilla

En linuxB defino la impresora y el host remoto en el etc/printcap y al dar
lpq o lpr me aparece lo siguiente:
$ lpq
Printer: lp is hpnsc1@midgard
midgard: lpd: lp: Your host does not have line printer access

Parece como si a linuxA le falta añadir la líne de la impresora en algún lado que no sé cual es. Con el tcpdump
se ve como las dos máquinas se intercambian paquetes y al final me contesta que no tiene acceso.

Alguien me podría decir en que fichero me falta configurar linux B

Saludos.





Reply to: