Pages : 1
#1 Le 07/05/2016, à 20:43
- grigouille
partage scanner ubuntu 16.04
Bonjour,
J'ai toujours réussi à partager mon scanner (https://doc.ubuntu-fr.org/tutoriel/util … _en_reseau)
mais avec la 16.04, cela ne fonctionne pas :
serveur xubuntu 16.04 64 bit
scanner : laserjet m1132 MFP correctement installé (via hp-setup -iax)
$ ifconfig | grep 'inet adr'
inet adr:192.168.1.11 Bcast:192.168.1.255 Masque:255.255.255.0
inet adr:127.0.0.1 Masque:255.0.0.0
$ scanimage -L
device `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH2222PPR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one
$ grep saned /etc/group
lp:x:7:saned
scanner:x:122:saned
saned:x:127:
$ cat /etc/default/saned
# Defaults for the saned initscript, from sane-utils
# To enable under systemd please read README.Debian
# Set to yes to start saned under SysV
RUN=yes
# Set to the user saned should run as
RUN_AS_USER=saned$ cat /etc/sane.d/saned.conf
# saned.conf
# Configuration for the saned daemon
## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
# data_portrange = 10000 - 10100
## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.
#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
192.168.1.0/24
#[2001:db8:185e::42:12]
#[2001:db8:185e::42:12]/64
# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).
$ service saned status
● saned.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
Le serveur a été rebouté. Le scan fonctionne en local.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#2 Le 07/05/2016, à 20:47
- grigouille
Re : partage scanner ubuntu 16.04
sur le client xubuntu 16.04 64 bits :
$ cat /etc/sane.d/net.conf
# This is the net backend config file.
## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60
192.168.1.11
## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend. Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost
$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
$ ifconfig | grep 'inet adr'
inet adr:127.0.0.1 Masque:255.0.0.0
inet adr:192.168.1.23 Bcast:192.168.1.255 Masque:255.255.255.0
Le client a aussi été rebouté.
Merci pour votre aide.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#3 Le 07/05/2016, à 21:24
- grigouille
Re : partage scanner ubuntu 16.04
Il semble normal que cela ne fonctionne pas :
https://help.ubuntu.com/community/SaneD … untu_15.04
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
Pages : 1