shimitar Guru
Joined: 23 Nov 2003 Posts: 322 Location: Italy, Torino
|
Posted: Wed May 08, 2024 5:23 am Post subject: Scanning: serve rdetect scanner, client doesnt |
|
|
Ok, i managed to have the scanner found locally on the server.
Code: |
server /etc/cups # scanimage -L
device `hpaio:/net/hp_colorlaserjet_mfp_m178-m181?ip=10.70.43.27&queue=false' is a Hewlett-Packard hp_colorlaserjet_mfp_m178-m181 all-in-one
|
But the client cannot see it:
Code: |
client-pc ~ # SANE_DEBUG_NET=128 scanimage -L
[07:20:55.759027] [sanei_debug] Setting debug level of net to 128.
[07:20:55.759069] [net] sane_init: authorize != null, version_code != null
[07:20:55.761538] [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.2.1
[07:20:55.761553] [net] sane_init: Client has little endian byte order
[07:20:55.761558] [net] sane_init: searching for config file
[07:20:55.761580] [net] sane_init: connect timeout set to 60 seconds
[07:20:55.761649] [net] sane_init: trying to add xxx.mydomain.org
[07:20:55.761663] [net] add_device: adding backend xxx.mydomain.org
[07:20:55.769691] [net] add_device: backend xxx.mydomain.org added
[07:20:55.769776] [net] sane_init: done reading config
[07:20:55.769798] [net] sane_init: evaluating environment variable SANE_NET_HOSTS
[07:20:55.769828] [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
[07:20:55.769863] [net] sane_init: done
[07:20:55.769892] [net] sane_get_devices: local_only = 0
[07:20:55.769920] [net] connect_dev: trying to connect to casa.gardiol.org
[07:20:55.770849] [net] connect_dev: [0] connection succeeded (IPv4)
[07:20:55.770923] [net] connect_dev: sanei_w_init
[07:20:55.771084] [net] connect_dev: net_init (user=shimitar, local version=1.2.3)
[07:20:55.772229] [net] net_avahi_browse_callback: NEW: service 'saned' of type '_sane-port._tcp' in domain 'local'
[07:20:55.773076] [net] connect_dev: freeing init reply (status=Success, remote version=1.2.3)
[07:20:55.773131] [net] connect_dev: done
[07:20:55.773286] [net] net_avahi_browse_callback: NEW: service 'saned' of type '_sane-port._tcp' in domain 'local'
[07:20:55.774295] [net] net_avahi_browse_callback: CACHE_EXHAUSTED
[07:20:55.787381] [net] sane_get_devices: finished (0 devices)
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).
[07:20:55.787495] [net] sane_exit: exiting
[07:20:55.787523] [net] net_avahi_cleanup: stopping thread
[07:20:55.788803] [net] net_avahi_cleanup: done
[07:20:55.788845] [net] sane_exit: closing dev 0x5642bae40970, ctl=6
[07:20:55.788946] [net] sane_exit: finished.
|
The server does not report enything in the logs... _________________ Willy Gardiol
willy@gardiol.org |
|