Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to scan over network witjh SANE server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shimitar
Guru
Guru


Joined: 23 Nov 2003
Posts: 331
Location: Italy, Torino

PostPosted: Sun Aug 11, 2024 4:46 pm    Post subject: Unable to scan over network witjh SANE server Reply with quote

I have an HP MFP that is supported great by HPLIP. I have a home server, and a laptop.

On the home server i have installed HPLIP, sane-backends and sane-frontends.

On the server i can find the scanner (and scanning works too):
Code:

server ~ # 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


My sane.d is running and configured to allow my laptop.
On the laptop i have sane-backends and sane-frontends installed, i have configured sane to use the "net" backend and point to the server, but i cannot find any scanner.

On the client:
Code:

laptop ~ $ 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).


On the server log i can see that the client connects and it's whitelisted:
Code:

Aug 11 18:43:53 server saned[677]: handle_client: spawning child process
Aug 11 18:43:53 server saned[1546]: handle_connection: processing client connection
Aug 11 18:43:53 server saned[1546]: check_host: detected an IPv4-mapped address
Aug 11 18:43:53 server saned[1546]: check_host: access by remote host: ::ffff:10.70.43.99
Aug 11 18:43:53 server saned[1546]: check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
Aug 11 18:43:53 server saned[1546]: check_host: local hostname: server
Aug 11 18:43:53 server saned[1546]: check_host: local hostname(s) (from DNS): server.casa
Aug 11 18:43:53 server saned[1546]: check_host: local hostname(s) (from DNS): (null)
Aug 11 18:43:53 server saned[1546]: check_host: local hostname(s) (from DNS): (null)
Aug 11 18:43:53 server saned[1546]: check_host: remote host doesn't have same addr as local
Aug 11 18:43:53 server saned[1546]: check_host: opening config file: /etc/hosts.equiv
Aug 11 18:43:53 server saned[1546]: check_host: can't open config file: /etc/hosts.equiv (No such file or directory)
Aug 11 18:43:53 server saned[1546]: check_host: opening config file: saned.conf
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# saned.conf'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# Configuration for the saned daemon'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `## Daemon options'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# Port range for the data connection. Choose a range inside [1024 - 65535].'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# Avoid specifying too large a range, for performance reasons.'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `#'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# ONLY use this if your saned server is sitting behind a firewall. If your'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# firewall is a Linux machine, we strongly recommend using the'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# Netfilter nf_conntrack_sane connection tracking module instead.'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `#'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# data_portrange = 10000 - 10100'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `## Access list'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# A list of host names, IP addresses or IP subnets (CIDR notation) that'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# are permitted to use local SANE devices. IPv6 addresses must be enclosed'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# in brackets, and should always be specified in their compressed form.'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `#'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `# The hostname matching is not case-sensitive.'
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `localhost'
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: ::1
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: ::1
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: ::1
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: 127.0.0.1
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: 127.0.0.1
Aug 11 18:43:53 server saned[1546]: check_host: DNS lookup returns IP address: 127.0.0.1
Aug 11 18:43:53 server saned[1546]: check_host: config file line: `10.70.43.0/24'
Aug 11 18:43:53 server saned[1546]: check_host: subnet with base IP = 10.70.43.0, CIDR netmask = 24
Aug 11 18:43:53 server saned[1546]: check_host: access granted from IP address 10.70.43.99 (in subnet 10.70.43.0/24)
Aug 11 18:43:53 server saned[1546]: init: access granted
Aug 11 18:43:53 server saned[1546]: init: access granted to willy@::ffff:10.70.43.99
Aug 11 18:43:53 server saned[1546]: process_request: waiting for request
Aug 11 18:43:53 server saned[1546]: process_request: got request 1
Aug 11 18:43:53 server saned[1546]: process_request: waiting for request
Aug 11 18:43:53 server saned[1546]: process_request: got request 10
Aug 11 18:43:54 server saned[1546]: quit: exiting

( i have increased sane debug verbosity to the maximum level here)

So it seems that it's not a connection issue. Yet, no scanners are found.

I am at a loss. The Wiki doesn't help and i could not find much online.

Anybody has ideas?

thanks.
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum