Difference between revisions of "Sane"
From Blue-IT.org Wiki
(→4. Configure saned) |
(→4. Configure saned) |
||
Line 23: | Line 23: | ||
On the client edit ''/etc/sane.d/net.conf'' and add the servers IP or hostname | On the client edit ''/etc/sane.d/net.conf'' and add the servers IP or hostname | ||
## saned hosts | ## saned hosts | ||
− | + | scanserver_ip_or_hostname | |
== 5. Restart the service == | == 5. Restart the service == |
Revision as of 09:19, 8 August 2010
Contents
Scanserver with saned under Ubuntu 10.04
Unfortunately there seems to be a bug in the inetd service under Ubuntu 10.04.
Therefore the configuration of saned scanserver had changed.
1. Install openbsd-inetd
sudo apt-get purge inetutils-inetd sudo apt-get install openbsd-inetd
2. Change the rights for saned
sudo addgroup scanner sudo usermod -G scanner -a saned
3. Configure inetd
Edit /etc/inetd.conf and add the following
sane-port stream tcp nowait root /usr/sbin/saned saned
4. Configure saned
On the server edit /etc/sane.d/saned.conf according to your local network:
## Access list 192.168.0.0/24
On the client edit /etc/sane.d/net.conf and add the servers IP or hostname
## saned hosts scanserver_ip_or_hostname
5. Restart the service
sudo openbsd-inetd restart
That's it.
Beside the point wether it is secure to run saned as "root", this works!