Benedikt> Starting saned as root with '-d 99' gave the following
Benedikt> error message in /var/adm/daemon.log:
Note: it's '-d99' not '-d 99'. The blank must NOT be there.
Benedikt> Feb 8 11:33:17 varenorn saned[7913]: failed to put socket
Benedikt> in TCP_NODELAY mode (Socket operation on non-socket)
This is normal when invoking saned from the command line and
completely harmless.
Benedikt> Starting 'scanimage -L' doesn't do anything...
Read the sane-net man-page. Set environment variable SANE_NET_DEBUG
to a large value (say 128) and you should see what it's doing when
invoking "scanimage -L".
Benedikt> dll.conf on fenun:
Looks good.
Benedikt> dll.conf on varenorn:
You shouldn't mention mention "net" on the server. But as long as umax
is listed, you should be fine.
Benedikt> saned.conf on varenorn:
Benedikt> fenun.icemark.ch
Looks good.
Benedikt> net.conf on fenun:
Ditto.
Benedikt> /dev/scanner on varenorn points to /dev/sge, which is the
Benedikt> Umax Astra 1200S.
What's more interesting: does "scanimage -L" on varenorn show the
scanner? If not, there'd be no surprise that you wouldn't see the
scanner on the client machine.
>> 2) you didn't mention inetd.conf. Be sure to set it up as well
>> (see saned(1)).
Benedikt> I didn't set it up there at first... :( I think it might
Benedikt> be a good idea at least hinting to inetd.conf in
Benedikt> sane-net.1 (or at least contain a SEE ALSO to saned(1))...
Umh, this is something you need for saned. To quote from the saned(1)
man page:
For saned to work properly, it is also necessary to add a
configuration line to /etc/inetd.conf. The configuration
line normally looks like this:
sane stream tcp nowait saned.saned /usr/local/sbin/saned saned
It's not my fault if you don't read the man page carefully.
>> This way, debug messages will appear in your syslog
>> (/var/adm/messages, typically).
Benedikt> The only problem I saw in /var/adm/daemon.log (nothing in
Benedikt> /var/adm/messages) was the "TCP_NODELAY" line mentioned
Benedikt> earlier...
Try with '-d99' instead of '-d 99' and (on the client-side), with
SANE_NET_DEBUG set to 128.
--david
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com