Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
Próxima revisión
Revisión previa
Próxima revisión Ambos lados, revisión siguiente
es:howtos:network_services:scanning_with_sane_in_a_network [2019/02/14 12:29 (UTC)]
slackwarespanol [Using a Scanner in a Network]
es:howtos:network_services:scanning_with_sane_in_a_network [2019/02/14 12:36 (UTC)]
slackwarespanol [Testing the client-configuration]
Línea 3: Línea 3:
 ====== Usar un escáner en una red ====== ====== Usar un escáner en una red ======
 Este Howto describe cómo se puede usar un escáner que está conectado a otra computadora Slackware a través de la red. Este Howto describe cómo se puede usar un escáner que está conectado a otra computadora Slackware a través de la red.
-===== Necessary Software ===== +===== Software necesario ===== 
-All packages which are necessary are available in a stock Slackware-installationThis are **sane** and **xsane** for the scannerAlso the internet super-server daemon **inetd** is used (on the scannerserverto listen to the network for scanner-job.+Todos los paquetes que son necesarios están disponibles en una instalación de Slackware. Estos son ** sane ** ** xsane ** para el escánerTambién se utiliza el demonio del super-servidor de Internet ** inetd ** (en el servidor del escánerpara escuchar la red en busca de trabajo del escáner. 
 +===== Permisos =====
  
-===== Permissions =====+Tengo un dispositivo multifunción HP-PSC-1410 antiguo que está conectado a mi servidor a través de USB. Para utilizar el dispositivo para escanear (localmente o a través de la red), uno tiene que ser miembro del ** escáner ** y del grupo ** lp ** -. ** Tenga en cuenta que cualquier usuario que se agregue con el comando adduser de Slackware, es miembro de este grupo de forma predeterminada. ** 
 +===== Configuración del servidor =====
  
-I have an older Multifunction-device HP-PSC-1410 which is connected via USB to my server. In order to use the device for scanning (locally or over the network) one has to be member of the **scanner** as well as the **lp**-group. **Note that any user who is added with Slackware's adduser command, is member of this groups by default.** +Uno tiene que editar el archivo '' /etc/sane.d/saned.conf ''Dado que el inetd se usa para escuchar la red, la única parte que tiene que configurar es la "Lista de acceso"Enumera las direcciones IP de las computadoras a las que se les permite acceder al escánerEs posible enumerar direcciones IP individuales o la dirección de la subred completaaquí utilizo
- +
-===== Configuration of the server ===== +
- +
-One has to edit the ''/etc/sane.d/saned.conf'' fileSince the inetd is used to listen to the network the only part one has to configure is the "Access-List"It lists the IP-adresses of the computers which are allowed to access the scannerIt is possible to list single IP-Adresses or the adress of the whole subnethere I use+
 <code>192.168.98.0/24</code> <code>192.168.98.0/24</code>
  
-In the ''/etc/inetd.conf'' file one needs a line+En el archivo '' /etc/inetd.conf '' uno necesita una línea
 <code>sane-port    stream    tcp    nowait    root.root    /usr/sbin/saned    saned</code> <code>sane-port    stream    tcp    nowait    root.root    /usr/sbin/saned    saned</code>
  
-Be sure to have the following line in your /etc/services file+Asegúrese de tener la siguiente línea en su archivo /etc/services
 <code>sane-port          6566/tcp</code> <code>sane-port          6566/tcp</code>
  
-Afterwards you will have to restart the inetd-daemon+Luego tendrás que reiniciar el inetd-daemon.
 <code>/etc/rc.d/rc.inetd restart</code> <code>/etc/rc.d/rc.inetd restart</code>
  
-===== Testing the network-settings for the server =====+===== Probando las configuraciones de red para el servidor =====
  
-With the nmap command one can scan the ports and find out if the sane-port is open, sane uses port 6566+Con el comando nmap uno puede escanear los puertos y averiguar si el puerto de sane está abierto, sane usa el puerto 6566
 <code>Samsung ~ # nmap -p 6566 192.168.178.10 <code>Samsung ~ # nmap -p 6566 192.168.178.10
  
Línea 37: Línea 35:
  
 Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds</code> Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds</code>
-The command can be executed on the server as well as any clientthe ip-adress is the one of the server!+El comando se puede ejecutar tanto en el servidor como en cualquier clientela dirección IP es la del servidor.
  
-===== Configuration of the client(s) =====+===== Configuración del cliente (s) =====
  
-On the client one has to edit the ''/etc/sane.d/net.conf'' file and add a line with the IP-adress of the server.+En el cliente, uno tiene que editar el archivo '' /etc/sane.d/net.conf '' y agregar una línea con la dirección IP del servidor.
 <code>#/etc/sane.d/net.conf <code>#/etc/sane.d/net.conf
 192.168.98.10</code> 192.168.98.10</code>
-Theoretically it is possible to insert the DNS-name of the server (instead of it'IP-adressin the net.conf filebut it didn't work here.+En teoría, es posible insertar el nombre DNS del servidor (en lugar de su dirección IP) en el archivo net.conf, pero no funcionó aquí.
  
-Also be sure that in the file ''/etc/sane.d/dll.conf'' is a line with the word "net"+También asegúrese de que en el archivo '' /etc/sane.d/dll.conf '' haya una línea con la palabra "net"
 <code>#/etc/sane.d/dll.conf <code>#/etc/sane.d/dll.conf
 # enable the next line if you want to allow access through the network: # enable the next line if you want to allow access through the network:
Línea 52: Línea 50:
 ...</code> ...</code>
  
-===== Testing the client-configuration =====+===== Probando la configuración del cliente =====
  
-With the command scanimage -L we can check if the scanner is recognized by the system+Con el comando scanimage -L podemos verificar si el sistema reconoce el escáner
 <code>markus@Samsung ~ $ scanimage -L <code>markus@Samsung ~ $ scanimage -L
 device `net:192.168.98.10:hpaio:/usb/PSC_1400_series?serial=CN619D724804DZ' is a Hewlett-Packard PSC_1400_series all-in-one.</code> device `net:192.168.98.10:hpaio:/usb/PSC_1400_series?serial=CN619D724804DZ' is a Hewlett-Packard PSC_1400_series all-in-one.</code>
  
-Now if you open xsane on the client you should be able to use the scanner. +Ahora, si abre xsane en el cliente, debería poder usar el escáner.
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->

En otros idiomas
QR Code
QR Code es:howtos:network_services:scanning_with_sane_in_a_network (generated for current page)