[sane-devel] saned issues for remote scanner access

Jim George jim.george at blueyonder.co.uk
Sat Feb 21 23:40:09 GMT 2004


Hi Folks,

I've got my Boeder Slimscan working nicely under linux with scanimage and
xsane.  However, I wish to use it to allow Windows laptops, running
sanetwain by Herman Kuiper, to do remote scans.

The system works well directly and through saned, however it fails when
accessing saned remotely.  I have attached the output of the following
command to see if this gives anyone any clue to help me?

SANE_DEBUG_SANEI_PAS4S2=255 saned -d128

Any help would be gratefully accepted.

Best Regards,

Jim


-------------- next part --------------
SANE_DEBUG_SANEI_PA4S2=255 saned -d128
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane' (getaddrinfo)
[saned] main: [0] socket () using IPv6
[saned] main: [0] setsockopt ()
[saned] main: [0] bind () to port 6566
[saned] main: [0] listen ()
[saned] main: [1] socket () using IPv4
[saned] main: [1] setsockopt ()
[saned] main: [1] bind () to port 6566
[saned] main: [1] bind failed: Address already in use
[saned] main: waiting for control connection
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready
[saned] check_host: detected an IPv4-mapped address
[saned] check_host: access by remote host: ::ffff:192.168.0.16
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: tassi
[saned] check_host: local hostname(s) (from DNS): tassi.local
[saned] check_host: local hostname(s) (from DNS): tassi.local
[saned] check_host: local hostname(s) (from DNS): tassi.local
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# hosts.equiv   This file describes the names of the hosts which are'
[saned] check_host: config file line: `#		to be considered "equivalent", i.e. which are to be'
[saned] check_host: config file line: `#		trusted enough for allowing rsh(1) commands.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# hostname'
[saned] check_host: config file line: `'
[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.1'
[saned] check_host: config file line: `192.168.0.1/29'
[saned] check_host: subnet with base IP = 192.168.0.1, CIDR netmask = 29
[saned] check_host: config file line: `+'
[saned] check_host: access granted from any host (`+')
[saned] init: access granted
[saned] init: access granted to jgeorge@::ffff:192.168.0.16
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: (open) strlen(resource) == 0
[saned] process_request: access to resource `gt68xx' granted
[saned] process_request: waiting for request
[saned] process_request: got request 8
[saned] decode_handle: cancel: error while decoding handle argument (h=0, Success)
Segmentation fault
tassi:~ # 


More information about the sane-devel mailing list