NSLU2

tech
top
Index
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
\"cover\"

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
192.168.1.10
192.168.1.11
192.168.1.101
127.0.0.1

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

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