bonjour
J'aiemerais mettre un scanner usb derrière sme et que chaque ordi du réseau puisse utiliser le scanner.
Quelqu'un a déjà fait cela?
anne
Modérateur: modos Ixus
Nov 1 15:39:48 eos2 saned[8610]: saned (AF-indep+IPv6) from sane-backends 1.0.14 ready
Nov 1 15:39:48 eos2 saned[8610]: check_host: getpeername failed: Socket operation on non-socket
Nov 1 15:39:48 eos2 saned[8610]: init: access by host [error] denied
Nov 1 15:39:48 eos2 saned[8610]: quit: exiting
device `snapscan:libusb:003:003' is a AGFA SNAPSCAN e52 flatbed scanner
[root@eos2 ~]# saned -d128
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane' (getaddrinfo)
[saned] main: [0] socket () using IPv4
[saned] main: [0] setsockopt ()
[saned] main: [0] bind () to port 6566
[saned] main: [0] listen ()
[saned] main: [1] socket () using IPv6
[saned] main: [1] socket failed: Address family not supported by protocol
[saned] main: waiting for control connection
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.14 ready
[saned] check_host: access by remote host: 192.168.0.100
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: eos2
[saned] check_host: local hostname(s) (from DNS): eos2.pviolero.dyndns.org
[saned] check_host: local hostname(s) (from DNS): (null)
[saned] check_host: local hostname(s) (from DNS): (null)
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: can't open config file: /etc/hosts.equiv (No such file or directory)
[saned] check_host: opening config file: saned.conf
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# saned.conf'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# The contents of the saned.conf file is a list of host names, IP'
[saned] check_host: config file line: `# addresses or IP subnets (CIDR notation) that are permitted to use local'
[saned] check_host: config file line: `# SANE devices. IPv6 addresses must be enclosed in brackets, and should'
[saned] check_host: config file line: `# always be specified in their compressed form.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# The hostname matching is not case-sensitive.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `#scan-client.somedomain.firm'
[saned] check_host: config file line: `#192.168.0.100'
[saned] check_host: config file line: `192.168.0.0/24'
[saned] check_host: subnet with base IP = 192.168.0.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 192.168.0.100 (in subnet 192.168.0.0/24)
[saned] init: access granted
[saned] init: access granted to pascal@192.168.0.100
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 10
[saned] quit: exiting
scanimage -L
device `net:192.168.0.202:snapscan:libusb:003:004' is a AGFA SNAPSCAN flatbed scanner
service sane-port
{
port = 6566
socket_type = stream
protocol = tcp
user = root
group = root
wait = no
server = /usr/sbin/saned
}
libwrap refused connection to sane-port (libwrap=saned) from 192.168.0.100
Dans /etc/e-smith/templates-custom/etc/hosts.allow/saned
saned: 127.0.0.1 192.168.0.0/255.255.255.0
(ajuste les ip suivant ton reseau bien sur)
puis execute
/sbin/e-smith/expand-template /etc/hosts.allow
et dans /etc/e-smith/templates-custom/etc/services/saned
sane-port 6566/tcp # SANE network scanner daemon
puis execute
/sbin/e-smith/expand-template /etc/services
Retour vers E-Smith / SME Server
Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité