[ Crossposting to irrelevant groups trimmed. This is Linux-specific,
comp.unix.* will be as useful as tits on a bull. ]
["Followup-To:" header set to comp.os.linux.misc.]
I want [to convert] an old computer (Pentium II 450 MHz with 96 M RAM)
[into] a network server with Debian Linux. Debian installation is
done, but I want [to] share my scanner (Agfa 1236s connected to a ISA
SCSI card) with my private network. What I must doing to install and
share this scanner ?
ISA SCSI? Yuck. Well, first thing to do is to go to the SANE project
homepage at
http://sane-project.org/ and look for the backend for your
scanner. This is probably the sane-snapscan backend; the list of
supported scanners says "AGFA 1236s: good, sane-snapscan".
Then you have to make sure the SCSI bus is configured properly (cables
are OK and termination is OK). Then you have to modprobe the module for
your SCSI card, scsi_mod, and sg. This may be difficult since ISA PnP
is a PITA and ISA cards usually require parameters like io= and irq=.
You should post the make and model# of your ISA SCSI card, so someone
can advise you. Better yet, throw out that ancient ISA card and grab a
PCI SCSI card, since SCSI is enough of a pain when it's attached to a
decent bus. Once you've modprobed everything and installed SANE and its
backends, run SANE and make sure it works.
Then you have to set something up so that a user at a remote machine can
invoke SANE. I don't have any idea why anyone would want to do
this--you have to be right next to the scanner to open the lid and
insert originals, for $DIETY's sake. But, since SANE's GUI is
X11-based, you can probably get something going pretty easily if you
just set up sshd on the machine connected to the scanner, make sure that
"X11Forwarding yes" is in /etc/ssh/sshd_config and do this:
user@machine1:~$ ssh -Y scannermachine
user@scannermachine:~$ sane &
(SANE runs on scannermachine and displays on machine1 thanks to ssh's X
forwarding. NOTE: use -X if -Y doesn't work.)
....if you set your users' public keys up properly, you could create a
small shell script that invoked those commands when a user clicks on an
icon. HTH,