sane-project-website/old-archive/2000-10/0280.html

211 wiersze
7.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: puzzled - net access not working</TITLE>
<META NAME="Author" CONTENT="Carlos Puchol (cpg@rocketmail.com)">
<META NAME="Subject" CONTENT="puzzled - net access not working">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>puzzled - net access not working</H1>
<!-- received="Sat Oct 28 00:52:54 2000" -->
<!-- isoreceived="20001028075254" -->
<!-- sent="Sat, 28 Oct 2000 00:52:26 -0700 (PDT)" -->
<!-- isosent="20001028075226" -->
<!-- name="Carlos Puchol" -->
<!-- email="cpg@rocketmail.com" -->
<!-- subject="puzzled - net access not working" -->
<!-- id="20001028075226.28450.qmail@web2903.mail.yahoo.com" -->
<STRONG>From:</STRONG> Carlos Puchol (<A HREF="mailto:cpg@rocketmail.com?Subject=Re:%20puzzled%20-%20net%20access%20not%20working&In-Reply-To=&lt;20001028075226.28450.qmail@web2903.mail.yahoo.com&gt;"><EM>cpg@rocketmail.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Oct 28 2000 - 00:52:26 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0281.html">Hans Eriksson: "Umax Astra 610S fails &gt;150dpi lineart"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0279.html">Doug X: "Re: HP 6300 Scanner light &amp; transparency adapter"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0284.html">Carlos Puchol: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0284.html">Carlos Puchol: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0285.html">Henning Meier-Geinitz: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0286.html">Oliver Rauch: "Re: puzzled - net access not working"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#280">[ date ]</A>
<A HREF="index.html#280">[ thread ]</A>
<A HREF="subject.html#280">[ subject ]</A>
<A HREF="author.html#280">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
hi, i am totally puzzled.
<BR>
<P>i have a redhat 6.2 box with an hp officejet g55 scanner attached.
<BR>
all working just fine. here is some evidence:
<BR>
<P>$ scanimage -L
<BR>
device `hp:mlc:mlcpp0' is a Hewlett-Packard MODELx flatbed scanner
<BR>
device `net:localhost:hp:mlc:mlcpp0' is a Hewlett-Packard MODELx flatbed
<BR>
scanner
<BR>
$
<BR>
<P>sane is sane-devel-20000802.tar.gz wrapped in a
<BR>
sane-1.0.3_0802-4 rpm, with the hpoj patches. all cool.
<BR>
<P>now, another machine, say machine &quot;c&quot;, not identical (&quot;fresher&quot; install of
<BR>
redhat 6.2, but with 2.2.17 instead of 2.2.16-3), but very similar for
<BR>
most practical purposes, with the same exact version of sane installed
<BR>
(recompiled afresh in the &quot;c&quot; machine):
<BR>
<P>$ scanimage -L
<BR>
$
<BR>
<P>ok ... there most be some config problem, no?
<BR>
i tried changing all the config files and such ...
<BR>
nothing i did could change any of this.
<BR>
<P>the puzzling thing is that it just does NOT seem to read the
<BR>
config files, just the v4l.conf one! why??
<BR>
<P><P>$ strace scanimage -L 2&gt;&amp;1 | grep open
<BR>
open(&quot;/etc/ld.so.preload&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
<BR>
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY) = 3
<BR>
open(&quot;/opt/hpoj-0.6/lib/libptal.so.0&quot;, O_RDONLY) = 3
<BR>
open(&quot;/usr/lib/sane/libsane.so.1&quot;, O_RDONLY) = 3
<BR>
open(&quot;/lib/libdl.so.2&quot;, O_RDONLY) = 3
<BR>
open(&quot;/lib/libnsl.so.1&quot;, O_RDONLY) = 3
<BR>
open(&quot;/usr/lib/libjpeg.so.62&quot;, O_RDONLY) = 3
<BR>
open(&quot;/lib/libm.so.6&quot;, O_RDONLY) = 3
<BR>
open(&quot;/lib/libc.so.6&quot;, O_RDONLY) = 3
<BR>
open(&quot;/usr/lib/libsnmp.so.0&quot;, O_RDONLY) = 3
<BR>
open(&quot;./v4l.conf&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
<BR>
open(&quot;/etc/sane.d/v4l.conf&quot;, O_RDONLY) = 3
<BR>
$
<BR>
<P>i have tried to look at the source code a bit, but it doesn't
<BR>
jump at me. i looked at permissions, etc. nothing...
<BR>
<P># ll -a /etc/sane.d/
<BR>
total 11
<BR>
drwxr-xr-x 2 root root 1024 Oct 28 00:55 .
<BR>
drwxr-xr-x 37 root root 3072 Oct 28 00:55 ..
<BR>
-rw-r--r-- 1 root root 854 Oct 28 00:55 dc210.conf
<BR>
-rw-r--r-- 1 root root 75 Oct 27 17:50 dll.conf
<BR>
-rw-r--r-- 1 root root 31 Oct 27 17:50 hp.conf
<BR>
-rw-r--r-- 1 root root 312 Oct 27 17:51 net.conf
<BR>
-rw-r--r-- 1 root root 391 Oct 28 00:55 qcam.conf
<BR>
-rw-r--r-- 1 root root 625 Oct 28 00:55 saned.conf
<BR>
-rw-r--r-- 1 root root 0 Oct 27 17:55 v4l.conf
<BR>
#
<BR>
<P># printenv | grep -i sane
<BR>
SANE_NET_HOSTS=scanner.mydomain.com
<BR>
# tail -1 net.conf
<BR>
scanner.mydomain.com
<BR>
# cat dll.conf
<BR>
# enable the next line if you want to allow access through the network:
<BR>
net
<BR>
hp
<BR>
#
<BR>
<P>any ideas what is wrong?
<BR>
i have a hunch it is something totally stupid ...
<BR>
<P>yours puzzled,
<BR>
<P>-carlos
<BR>
<P>=====
<BR>
C. Puchol &lt;<A HREF="mailto:cpg@rocketmail.com?Subject=Re:%20puzzled%20-%20net%20access%20not%20working&In-Reply-To=&lt;20001028075226.28450.qmail@web2903.mail.yahoo.com&gt;">cpg@rocketmail.com</A>&gt;
<BR>
<P>__________________________________________________
<BR>
Do You Yahoo!?
<BR>
Yahoo! Messenger - Talk while you surf! It's FREE.
<BR>
<A HREF="http://im.yahoo.com/">http://im.yahoo.com/</A>
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20puzzled%20-%20net%20access%20not%20working&In-Reply-To=&lt;20001028075226.28450.qmail@web2903.mail.yahoo.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0281.html">Hans Eriksson: "Umax Astra 610S fails &gt;150dpi lineart"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0279.html">Doug X: "Re: HP 6300 Scanner light &amp; transparency adapter"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0284.html">Carlos Puchol: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0284.html">Carlos Puchol: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0285.html">Henning Meier-Geinitz: "Re: puzzled - net access not working"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0286.html">Oliver Rauch: "Re: puzzled - net access not working"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#280">[ date ]</A>
<A HREF="index.html#280">[ thread ]</A>
<A HREF="subject.html#280">[ subject ]</A>
<A HREF="author.html#280">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Oct 28 2000 - 00:54:27 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>