Gentoo Archives: gentoo-user

From: Silvio Siefke <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sane and xinetd
Date: Fri, 18 Jan 2013 21:22:09
Message-Id: 20130118222044.15b13edbcf4e399bbe2f46f0@web.de
1 Hello,
2
3 i try to run the scanner over Network, but something sane not like in
4 the configuration.
5
6 <log>
7 Jan 18 22:15:54 gentoo-mobile xinetd[25116]: START: sane-port pid=25153 from=192.168.2.22
8 Jan 18 22:15:54 gentoo-mobile saned[25153]: saned from sane-backends 1.0.23 ready
9 Jan 18 22:15:54 gentoo-mobile saned[25153]: check_host: access by remote host: 192.168.2.22
10 Jan 18 22:15:54 gentoo-mobile saned[25153]: check_host: gethostbyname for local hostname failed: Unknown host
11 Jan 18 22:15:54 gentoo-mobile saned[25153]: init: access granted to siefke@192.168.2.22
12 Jan 18 22:15:58 gentoo-mobile saned[25153]: saned exiting
13 Jan 18 22:15:58 gentoo-mobile xinetd[25116]: EXIT: sane-port status=0 pid=25153 duration=4(sec)
14 </log>
15
16 But on the client xsane say "no device" .
17
18 gpasswd -a siefke scanner i have make
19
20 config on server:
21 gpasswd -a saned scanner
22
23 gentoo-mobile xinetd.d # cat /etc/xinetd.d/saned
24 service sane-port
25 {
26 socket_type = stream
27 server = /usr/sbin/saned
28 protocol = tcp
29 user = saned
30 group = scanner
31 wait = no
32 disable = no
33 }
34
35 The IPs are correct set in /etc/sane.d/saned.conf on the server and
36 on client in /etc/sane.d/net.conf.
37
38
39 Has anyone a idea whereis the problem?
40
41
42 Thanks for help. Greetings
43 Silvio