### How to share a scanner via the network using SANE? ### | |
Today I decided to set up a network access for all my LAN to my Agfa e20 scanne… | |
My scan server is an OpenSUSE 11.1 PC. Clients are running OpenSUSE 11.3 (but t… | |
I assume that the scanner is already working locally (that is, it is possible t… | |
On the server: | |
/etc/sane.d/saned.conf | |
This file is contains the list of hosts that are allowed to use locally attache… | |
192.168.0.0/24 | |
Therefore I am authorizing all my LAN (192.168.0.0/24) to have access to the sc… | |
/etc/xinetd.d/sane-port | |
The saned daemon (which is responsible for the sharing of the scanner over the … | |
service sane-port | |
{ | |
socket_type = stream | |
port = 6566 | |
wait = no | |
user = root | |
group = root | |
server = /usr/sbin/saned | |
disable = no | |
} | |
Of course, you need to declare sane-port as a service in /etc/services (if it i… | |
sane-port 6566/tcp # SANE Control Port | |
Note, that you will need to allow access to the port 6566 on your server if you… | |
On the client: | |
On the client side, the configuration is rather straigh-forward. First, I enabl… | |
net | |
Then, I edited the file /etc/sane.d/net.conf (which contains the list of scan s… | |
192.168.0.20 | |
The 192.168.0.20 IP address is nothing else than the IP of my scan server. | |
At this time, I launched the xsane tool on the client PC, and I was able to per… | |