You are not logged in.

#1 2013-11-05 16:47:39

Removed01
Member
Registered: 2013-11-05
Posts: 17

Problem setting up Sane server (scanner server)

Hi,
I am following the official wiki (https://wiki.archlinux.org/index.php/Sane) to set up the Sane daemon to be accessible from local network machines. However, 'saned' appears to be unreachable in the network. I tried to re-edit config files on the server and also reinstall the application, without success. Under Debian it was working, I don't know where's the problem under Arch.
Some details:

scanimage -L
device `pixma:04A9173B_915819' is a CANON Canon PIXMA MP270 multi-function peripheral

cat /etc/sane.d/saned.conf
# saned.conf
# Configuration for the saned daemon

## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
# data_portrange = 10000 - 10100


## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.

#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:db8:185e::42:12]
#[2001:db8:185e::42:12]/64

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).

#allow network hosts
localhost
192.168.1.0/24

cat /etc/xinetd.d/sane
service sane-port
{
        port        = 6566
        socket_type = stream
        wait        = no
        user        = nobody
        group       = scanner
        server      = /usr/bin/saned
        # disabled by default!
        disable     = no
                  }

I left the default sane user ('nobody'), that I added to the 'scanner' group as requested, I also tried a specific ip address instead of the '192.168.1.0/24' range in 'saned.conf'.
The 'xinetd' daemon is also enabled with systemctl.

Last edited by Removed01 (2013-11-05 16:49:20)

Offline

#2 2013-11-05 17:39:34

Removed01
Member
Registered: 2013-11-05
Posts: 17

Re: Problem setting up Sane server (scanner server)

Edit: I reinstalled all, but now I get 'device busy' from the client. I tried both XSane and SaneTwain

Offline

Board footer

Powered by FluxBB