Subject: SANE Network Daemon
From: Mark Brethen (marbre@dhcp-159-66)
Date: Mon Oct 29 2001 - 19:53:01 MST
Still trying to get the SANE network daemon running.
I followed the installation and basic setup procedure found on the SANE
website:
1. My /etc/services contains this line:
sane 6566/tcp saned # SANE network scanner daemon
2. My /etc/xinetd.conf contains this block:
service sane
{
socket_type = stream
server = /usr/sbin/saned
protocol = tcp
user = saned
group = saned
wait = no
disable = no
}
3. In an xterm window typed:
chown root:saned /dev/usb/scanner0 && chmod g+rw /dev/usb/scanner0
4. My /etc/sane.d/saned.conf contains 'localhost'
My /etc/hosts.deny contains 'all:all'
My /etc/hosts.allow contains 'all:local'
My /etc/sane.d/net.conf contains 'localhost'
Now 'telnet localhost 6566' responds with connection is refused.
However, using 'SANE_DEBUG_NET=128 scanimage -L' I get the following response:
[root@dhcp-159-66 marbre]# SANE_DEBUG_NET=128 scanimage -L
[sanei_debug] Setting debug level of net to 128.
[net] sane_init: SANE net backend version 1.0.3 from sane-backends-1.0.5
[net] add_device: adding backend localhost
[net] add_device: backend localhost added
[net] sane_get_devices: local_only = 0
[net] connect_dev: failed to connect (Connection refused)
[net] sane_get_devices: ignoring failure to connect to localhost
[net] sane_get_devices: finished
device `epson:/dev/usb/scanner0' is a Epson Perfection1640 flatbed scanner
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x1002cb68, ctl=-1
[net] sane_exit: finished.
What am I missing?
--Mark Brethen mbrethen@rochester.rr.com
This archive was generated by hypermail 2a24 : Mon Oct 29 2001 - 18:59:02 MST