Hi.
...Probably being totally stupid (my apologies in advance), but I can't figure out what I'm doing wrong: here's the setup.
- Two Linux boxes, both running standard installations of Slackware 12.2 (using the supplied generic, non-SMP, 2.6.27.7 kernel).
- One has an Epson Perfection 1250 scanner attached to it via the USB port.
To do this, I used SANE (version 1.0.19) and the
plustek backend. I commented out all entries in the
/etc/sane.d/dll.conf file except "net" and "plustek". The only other alteration I made was the following:
/etc/sane.d/plustek.conf
Code:
# My addition for Epson Perfection 1250
[usb] 0x04b8 0x010f
device /dev/usb/scanner0
I put this at the top of the file, after the first batch of comments, leaving the remainder of the file unchanged.
I also set up the other machine identically, and tried the scanner on it (physically unplugging it and plugging it in) --- it worked fine.
So, no problems getting the scanner working...
However, I'd like to be able to scan over the network.
On the machine connected to the scanner (which I'll call the server), I've done the following:
I've created a group called
saned and a user called
saned. The
saned user belongs to the groups
saned and
scanner.
Here are the changes I've made to the configuration files on the server:
/etc/services
Code:
sane-port 6566/tcp #SANE network scanner daemon
/etc/inetd.conf
Code:
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
/etc/sane.d/saned.conf
On the client, I've created the
saned user & group (same UID, same GID as on the server), added myself as user to the
scanner group, and duplicated on the client the server's
/etc/sane.d files along with the configuration files above (in case I wish to swap my scanner physically from one computer to the other, and hence switch client & server).
Finally, on the client, I've made the following addition:
/etc/sane.d/net.conf:
("Jeremiah" is the name of my server.)
When I run
sane-find-scanner on the client, no scanner is found.
However, when I run
netcat on the client...
Code:
nc -v Jeremiah 6566
...it tells me this
Code:
Jeremiah.Junkyard [192.168.0.1] 6566 (sane-port) open
Finally, each computer is included in the other's
/etc/hosts.allow file.
...So whaddami doing wrong?!
I've Googled for help, to no avail. I searched here, and found these
two articles, which helped clarify a few things, but I'm still stuck. So, in desperation, I've registered, and hereby make known my plight... I'm not sure whether this is the best section in which to post the problem: if not, I apologise, and would appreciate it if someone could give me some pointers. Finally, if my post's a total dog's dinner, please forgive me --- though I've been running Linux for years, I'm a real chump and definitely don't have the computing-gene.
Any help gratefully received,
Paul.