Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36158

[SOLVED] Problem with saned on Fedora 17

$
0
0
Until recently, I was running Slackware server where I had CUPS and saned all set up and running. Now, I have decided to join the Fedora "club" and therefore I'm using Fedora 17 64-bit.

I was able to get CUPS set up and working with very little issue by duplicating some of the /etc files.

Now, I'm trying to get saned working and am having nothing but problems.

I'm working with an HP Color LaserJet 2840 All-in-one.

I have the following RPM's installed that I believe to be relevant to this issue:

hplip-libs-3.12.10-4.a.fc17.x86_64
hplip-3.12.10-4.a.fc17.x86_64
hplip-common-3.12.10-4.a.fc17.x86_64
sane-backends-1.0.23-4.fc17.x86_64
libsane-hpaio-3.12.10-4.a.fc17.x86_64
sane-backends-libs-1.0.23-4.fc17.x86_64
sane-backends-drivers-scanners-1.0.23-4.fc17.x86_64
cups-1.5.4-11.fc17.x86_64
cups-libs-1.5.4-11.fc17.x86_64
ghostscript-cups-9.05-4.fc17.x86_64

-----

Local tests work fine:

scanimage -L

device `hpaio:/net/HP_Color_LaserJet_2840?ip=172.31.69.98' is a Hewlett-Packard HP_Color_LaserJet_2840 all-in-one

---

hp-scan

HP Linux Imaging and Printing System (ver. 3.12.10a)
Scan Utility ver. 2.2

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hpaio:/net/HP_Color_LaserJet_2840?ip=172.31.69.98

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/HP_Color_LaserJet_2840?ip=172.31.69.98
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (228.599991mm, 381.000000mm)
Width: 228.599991mm
Height: 381.000000mm
Destination(s): file
Output file:
error: Unable to set option source to value Flatbed
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/tomservo/hpscan001.png'.

Warming up...

Scanning...
Expecting to read 10.8 MB from scanner.
Reading data: [************************************************** ************************************************** ************************************************** ************************************************** *************************] 100% 10.8 MB
Read 10.8 MB from scanner.
Closing device.

Outputting to destination 'file':
Saving to file /home/tomservo/hpscan001.png

Done.

---

If I run saned in debug mode, here's what I get when I try to connect via sanetwain. sanetwain gets a message "No devices found on backend."

[saned] main: starting debug mode (level 128)
[saned] read_config: searching for config file
[saned] read_config: done reading config
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.23 starting up
[saned] do_bindings: trying to get port for service "sane-port" (getaddrinfo)
[saned] do_bindings: [1] socket () using IPv6
[saned] do_bindings: [1] setsockopt ()
[saned] do_bindings: [1] bind () to port 6566
[saned] do_bindings: [1] listen ()
[saned] do_bindings: [0] socket () using IPv4
[saned] do_bindings: [0] setsockopt ()
[saned] do_bindings: [0] bind () to port 6566
[saned] do_bindings: [0] listen ()
[saned] run_standalone: waiting for control connection
[saned] handle_connection: processing client connection
[saned] check_host: access by remote host: 172.31.69.2
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: linuxbox.anime.net
[saned] check_host: local hostname(s) (from DNS): linuxbox.anime.net
[saned] check_host: local hostname(s) (from DNS): (null)
[saned] check_host: local hostname(s) (from DNS): (null)
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: can't open config file: /etc/hosts.equiv (No such file or directory)
[saned] check_host: opening config file: saned.conf
[saned] check_host: config file line: `# saned.conf'
[saned] check_host: config file line: `# Configuration for the saned daemon'
[saned] check_host: config file line: `'
[saned] check_host: config file line: `## Daemon options'
[saned] check_host: config file line: `# Port range for the data connection. Choose a range inside [1024 - 65535].'
[saned] check_host: config file line: `# Avoid specifying too large a range, for performance reasons.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# ONLY use this if your saned server is sitting behind a firewall. If your'
[saned] check_host: config file line: `# firewall is a Linux machine, we strongly recommend using the'
[saned] check_host: config file line: `# Netfilter nf_conntrack_sane connection tracking module instead.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# data_portrange = 10000 - 10100'
[saned] check_host: config file line: `'
[saned] check_host: config file line: `'
[saned] check_host: config file line: `## Access list'
[saned] check_host: config file line: `# A list of host names, IP addresses or IP subnets (CIDR notation) that'
[saned] check_host: config file line: `# are permitted to use local SANE devices. IPv6 addresses must be enclosed'
[saned] check_host: config file line: `# in brackets, and should always be specified in their compressed form.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# The hostname matching is not case-sensitive.'
[saned] check_host: config file line: `'
[saned] check_host: config file line: `#scan-client.somedomain.firm'
[saned] check_host: config file line: `#192.168.0.1'
[saned] check_host: config file line: `#192.168.0.1/29'
[saned] check_host: config file line: `#[2001:db8:185e::42:12]'
[saned] check_host: config file line: `#[2001:db8:185e::42:12]/64'
[saned] check_host: config file line: `'
[saned] check_host: config file line: `# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and'
[saned] check_host: config file line: `# /etc/services must also be properly configured to start'
[saned] check_host: config file line: `# the saned daemon as documented in saned(8), services(4)'
[saned] check_host: config file line: `# and inetd.conf(4) (or xinetd.conf(5)).'
[saned] check_host: config file line: `172.31.69.0/24'
[saned] check_host: subnet with base IP = 172.31.69.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 172.31.69.2 (in subnet 172.31.69.0/24)
[saned] init: access granted
[saned] init: access granted to PCUSER@172.31.69.2
[saned] process_request: waiting for request
[saned] process_request: got request 1
[sanei_debug] Setting debug level of net to 128.
[net] sane_init: authorize != null, version_code != null
[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.23
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add linuxbox
[net] add_device: adding backend linuxbox
[net] add_device: backend linuxbox added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
[net] sane_init: done
[net] sane_get_devices: local_only = 1
[saned] process_request: waiting for request
[saned] process_request: got request 10
[saned] bailing out, waiting for children...
[saned] bail_out: all children exited

---

I've been trying to search around Google and keep reading the same things over and over that I've already verified...so now I come here, and hope that someone has some idea of what I need to look at.

Thanks for reading!

Viewing all articles
Browse latest Browse all 36158

Trending Articles