License

Copyright (C) 2008-2017 Oliver Bohlen.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

A copy of the license is included in the section entitled "GNU Free Documentation License".

Introduction

This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Howto: Sane Scanner Server for Gentoo Linux

Here a little documentation how I offer my Scanner in the network.

If you want to use this solution you need the following howto(s) finished:

Required software

The required software has to be installed with the following command(s):
emerge media-gfx/sane-backends
emerge sys-apps/xinetd

Changes in /etc/sane.d/saned.conf

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /etc/sane.d/saned.conf

Changed on 26.11.08
Issued by olli
Beginning line 33

This allows scanning over the network by saned

my.lan.network.ip/16

Changes in /etc/xinetd.conf

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /etc/xinetd.conf

Changed on 26.11.08
Issued by olli
Beginning line 24

This allows my local network to connect the xinetd. Change the IP according to your network.


Before change
      only_from       = XXX.XXX.XXX.XXX
After change
        only_from       = my.lan.network.ip

Changes in /etc/xinetd.d/sane-stream

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /etc/xinetd.d/sane-stream

Changed on 26.11.08
Issued by olli
Beginning line 1

This allows scanning over the network with xinetd.

service sane-port
{
	socket_type = stream
        server = /usr/sbin/saned
        protocol = tcp
        user = root
        group = root
        wait = no
        disable = no
}     

Setting up services

For starting the new service after system reboot you should add it to a runlevel with the following command(s):

rc-update add xinetd default

Please send a feedback to: doc<at>gabosh.net

Howto listing
File Index

Here you can find the official Gentoo Linux Forums where you can find a lot of answers.

Here a link to the official Gentoo Linux Homepage.

Edit Howto

About / Impressum

Click here for About / Impressum

Wishlist

If you want to support my work you can find my Amazon whishlist here