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 [EMAIL PROTECTED]
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.



Responder a