I want to setup network scanning in Fedora, but no success.
I try to describe my setup in a quite detailed manner:
1. My scanner works fine locally:
$ scanimage -L
device `snapscan:libusb:004:003' is a AGFA SNAPSCAN 1212U_2 flatbed scanner
2. I have the configured like this in /etc/sane.d/saned.conf:
...
192.168.2.0/24
localhost
(my local network is 192.168.2.XXX)
3. In /etc/services ther are the proper ports listed:
sane-port 6566/tcp # SANE Control Port
sane-port 6566/udp # SANE Control Port
4. saned is started from xinetd, configured like this:
# /etc/xinetd.d/sane
# Sane network access
service sane-port
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = kp
server = /usr/sbin/saned
}
(kp is my user)
5. Now I try to check if saned is running properly:
$ telnet localhost 6566
gives this output:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
6. But whenever I telnet to saned remotely, even from this very machine
using it's ip address, I get:
Trying 192.168.2.35...
Connected to 192.168.2.35.
Escape character is '^]'.
Connection closed by foreign host.
7. So I ran sane in debug mode (saned -d128, with the daemon stopped),
and I got the following error messages from step 6:
...
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.19 ready
[saned] check_host: access by remote host: 192.168.2.35
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: kellercomputer.kralenriede.de
[saned] check_host: getaddrinfo failed: No address associated with hostname
[saned] init: access by host 192.168.2.35 denied
[saned] quit: exiting
8. BTW, the firewall is turned off.
Now, what may have gone wrong?
Any help would be greately appreciated,
Klaus
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines