gentoo:howto:remote-sane
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
gentoo:howto:remote-sane [2011/07/27 14:02] – barrachi | gentoo:howto:remote-sane [2013/06/11 08:39] (actual) – [1.2 Configuración del demonio ''saned''] barrachi | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | ====== Utilizar un scanner | + | ====== Utilizar un escáner |
+ | Esta guía muestra como configurar dos computadores, | ||
- | ===== Instalación en SCANNER | + | ===== 1. Configuración de ESCANER |
- | En el caso de querer | + | La configuración de ESCANER consiste en: |
+ | - Instalación del software para la comunicación con el escáner. | ||
+ | - Configuración del demonio '' | ||
+ | |||
+ | ==== 1.1 Instalación del software para la comunicación con el escáner ==== | ||
+ | |||
+ | En el caso de querer | ||
<code shell> | <code shell> | ||
- | SCANNER | + | ESCANER |
These are the packages that would be merged, in order: | These are the packages that would be merged, in order: | ||
Línea 21: | Línea 28: | ||
</ | </ | ||
- | Para limitar los dispositivos que van a ser instalados se puede añadir la siguiente línea en el fichero ''/ | + | Para limitar los dispositivos que van a ser instalados, se puede añadir la siguiente línea en el fichero ''/ |
< | < | ||
Línea 27: | Línea 34: | ||
</ | </ | ||
- | Una vez seleccionados los dispositivos a los que se quiere dar soporte, se deben instalar | + | Una vez seleccionados |
<code shell> | <code shell> | ||
- | SCANNER | + | ESCANER |
</ | </ | ||
- | Para comprobar que sane reconoce el scanner, se debe ejecutar el siguiente comando: | + | Para comprobar que la aplicación '' |
<code shell> | <code shell> | ||
- | SCANNER | + | ESCANER |
# sane-find-scanner will now attempt to detect your scanner. If the | # sane-find-scanner will now attempt to detect your scanner. If the | ||
Línea 46: | Línea 53: | ||
found USB scanner (vendor=0x03f0 [HP], product=0x7311 [Photosmart C309a series]) at libusb: | found USB scanner (vendor=0x03f0 [HP], product=0x7311 [Photosmart C309a series]) at libusb: | ||
+ | |||
# Your USB scanner was (probably) detected. It may or may not be supported by | # Your USB scanner was (probably) detected. It may or may not be supported by | ||
# SANE. Try scanimage -L and read the backend' | # SANE. Try scanimage -L and read the backend' | ||
Línea 58: | Línea 66: | ||
<code shell> | <code shell> | ||
- | SCANNER | + | ESCANER |
device `hpaio:/ | device `hpaio:/ | ||
</ | </ | ||
- | ===== Cuenta y demonio ===== | + | ==== 1.2 Configuración del demonio |
+ | |||
+ | Para evitar que el demonio se utilice desde una cuenta con privilegios, | ||
<code shell> | <code shell> | ||
- | SCANNER | + | ESCANER |
- | SCANNER | + | ESCANER |
</ | </ | ||
- | Para comprobar que el usuario | + | Para comprobar que dicho usuario puede acceder al escáner, se pueden ejecutar los siguientes comandos: |
<code shell> | <code shell> | ||
- | SCANNER etc # su - saned | + | ESCANER ~ # su - saned |
- | saned@SCANNER | + | saned@ESCANER |
device `hpaio:/ | device `hpaio:/ | ||
</ | </ | ||
- | Añadir | + | A continuación, |
< | < | ||
Línea 84: | Línea 94: | ||
</ | </ | ||
- | Fichero | + | El siguiente paso consiste en crear el fichero |
- | < | + | < |
service sane-port | service sane-port | ||
{ | { | ||
Línea 99: | Línea 109: | ||
</ | </ | ||
- | Reiniciar el demonio | + | A continuación se debe comentar la siguiente línea del fichero /etc/xinetd.conf: |
+ | <code shell> | ||
+ | only_from = localhost | ||
+ | </ | ||
- | < | ||
- | Jun 17 18:25:18 SCANNER xinetd[8742]: | ||
- | </ | ||
+ | Por último, se debe reiniciar el demonio xinetd y comprobar que se ha puesto en marcha el nuevo servicio: | ||
+ | <code shell> | ||
+ | ESCANER ~ # / | ||
+ | * Stopping xinetd ... [ ok ] | ||
+ | * Starting xinetd ... [ ok ] | ||
+ | ESCANER ~ # grep xinetd / | ||
+ | Jul 27 09:59:17 ESCANER xinetd[3030]: | ||
+ | Jul 27 16:42:17 ESCANER xinetd[3760]: | ||
+ | </ | ||
- | ===== Configurar el cliente | + | ===== 2. Configuración de ESCRITORIO |
- | En el cliente | + | En el computador ESCRITORIO |
- | Así, habrá que modificar en primer lugar el fichero ''/ | + | Así, habrá que añadir la siguiente línea al fichero ''/ |
< | < | ||
- | SANE_BACKENDS=" | + | SANE_BACKENDS=" |
</ | </ | ||
Línea 120: | Línea 139: | ||
<code shell> | <code shell> | ||
- | SCANNER | + | ESCRITORIO |
</ | </ | ||
Línea 129: | Línea 148: | ||
</ | </ | ||
- | Con lo anterior es suficiente. Los programas de escaneado, p.e. '' | + | Con lo anterior es suficiente. Los programas de escaneado |
===== Referencias ===== | ===== Referencias ===== | ||
+ | |||
https:// | https:// |
gentoo/howto/remote-sane.1311775359.txt.gz · Última modificación: 2011/07/27 14:02 por barrachi