Benedikt> I need to move my scanner to another machine, but I
Benedikt> can't get the sane-net backend to function properly.
Benedikt> I set up net.conf to have the name of the second host,
Benedikt> and I added the /etc/services entries. But - neither
Benedikt> scanimage nor xscanimage on my machine want to see the
Benedikt> scanner... :(
A few things to check:
1) make sure dll.conf has the `net' backend enabled (for safety
reasons, SANE ships with net commented out)
2) you didn't mention inetd.conf. Be sure to set it up as well (see
saned(1)).
3) Have you added the remote host(s) to the saned.conf file? Be sure
to spell the hostnames in saned.conf _exactly_ as they are
returned gethostbyaddr() as explained in the man-page---the
matching is case-sensitive.
For debugging purposes, it is often useful to start saned instead of
through inetd. To do this, comment out saned in inetd.conf, do
"killall -HUP inetd", then start saned with "saned -d99". Then you
can run "scanimage -L" on the remote machine once (you'll have to
restart saned after each execution of scanimage). This way, debug
messages will appear in your syslog (/var/adm/messages, typically).
--david
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com