1 Introduction
2 Installation
3 DNS/DHCP server
4 Installation of Apache
5 An NFS server
6 Installing a mailserver
7 Alternatives
8 Sane remote scanner
9 problems

Previous: 7. Alternatives Index Next: 9. problems

8. Sane remote scanner

Connect a scanner to your nslu2 and install Sane:
apt-get install sane
apt-get install libsane libsane-extras sane-utils

Put the sane-daemon in inetd.conf
sane-port  stream  tcp  nowait  root  /usr/sbin/saned saned

Yeah, I know. It should run as saned. But I'm on a home-network and not on a corporate network and I don't feel like setting permissions on the USB-devices. I'm lazy.

Allow computers to have access. Put

in /etc/sane.d/saned.conf. These are the IP-addresses of the hosts that can access the scanners. Put

in /etc/sane.d/net.conf and test your installation with scanimage -L:
fontaine:~# scanimage -L
device `coolscan2:usb:libusb:001:004' is a Nikon    LS-40 ED         film scanner
device `net:localhost:coolscan2:usb:libusb:001:004' is a Nikon    LS-40 ED         film scanner

You see that the scanner is visible direct and through the network. So that's that.

On your client, put the scanner server name in /etc/sane.d/net.conf. On the client, you might get something like:

Previous: 7. Alternatives Index Next: 9. problems