kopia lustrzana https://gitlab.com/sane-project/website
109 wiersze
4.6 KiB
HTML
109 wiersze
4.6 KiB
HTML
<!-- received="Fri Sep 10 06:18:31 1999 PDT" -->
|
||
<!-- sent="Fri, 10 Sep 1999 09:20:30 -0400 (EDT)" -->
|
||
<!-- name="Raymond A. Ingles" -->
|
||
<!-- email="inglesra@frc.com" -->
|
||
<!-- subject="Re: Net scanning" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="199909091723.TAA28057@lee.Cc.Uit.No" -->
|
||
<title>sane-devel: Re: Net scanning</title>
|
||
<h1>Re: Net scanning</h1>
|
||
<b>Raymond A. Ingles</b> (<a href="mailto:inglesra@frc.com"><i>inglesra@frc.com</i></a>)<br>
|
||
<i>Fri, 10 Sep 1999 09:20:30 -0400 (EDT)</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#61">[ date ]</a><a href="index.html#61">[ thread ]</a><a href="subject.html#61">[ subject ]</a><a href="author.html#61">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0062.html">Petter Reinholdtsen: "Re: Net scanning"</a>
|
||
<li> <b>Previous message:</b> <a href="0060.html">Stefan Rutzinger: "Mustek ScanMagic 9363S works."</a>
|
||
<li> <b>In reply to:</b> <a href="0053.html">Petter Reinholdtsen: "Net scanning"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0062.html">Petter Reinholdtsen: "Re: Net scanning"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
On Thu, 9 Sep 1999, Petter Reinholdtsen wrote:<br>
|
||
<p>
|
||
<i>> > Now, it just fails. So it appears that I'm contacting frakir.</i><br>
|
||
<i>> </i><br>
|
||
<i>> What do you get if you do 'telnet frakir 6566'?</i><br>
|
||
<p>
|
||
Zip. No output; if I try to type anything, the connection closes.<br>
|
||
<p>
|
||
<i>> Tru to run scanimage with SANE_DEBUG_NET=128 to get more debug info.</i><br>
|
||
<p>
|
||
Okay, when I run the command on "grayswandir" (the computer trying to<br>
|
||
scan from across the network), I get:<br>
|
||
<p>
|
||
---------------------------------<br>
|
||
$ SANE_DEBUG_NET=128 scanimage -d net:frakir:mustek:/dev/scanner -l 0 -t 0 -x 10 -y 10 >scan.pnm<br>
|
||
[sanei_init_debug]: Setting debug level of net to 128.<br>
|
||
[net] init: could not find `saned' service (Success); using default port 6566<br>
|
||
[net] open("frakir:mustek:/dev/scanner")<br>
|
||
[net] adding backend frakir<br>
|
||
[net] connect_dev: network protocol version mismatch: got 2, expected 1<br>
|
||
scanimage: open of device net:frakir:mustek:/dev/scanner failed<br>
|
||
[net] exiting<br>
|
||
[net] closing dev 0x804cdb8, ctl=-1<br>
|
||
---------------------------------<br>
|
||
<p>
|
||
Now, here's the really interesting part. When I run the *identical*<br>
|
||
command on frakir (the computer with the scanner physically attached), I<br>
|
||
get...<br>
|
||
<p>
|
||
---------------------------------<br>
|
||
$ SANE_DEBUG_NET=128 scanimage -d net:frakir:mustek:/dev/scanner -l 0 -t 0 -x 10 -y 10 >scan.pnm<br>
|
||
[sanei_init_debug]: Setting debug level of net to 128.<br>
|
||
[net] adding backend localhost<br>
|
||
[net] adding backend grayswandir<br>
|
||
[net] open("frakir:mustek:/dev/scanner")<br>
|
||
[net] adding backend frakir<br>
|
||
[net] read: next record length=48 bytes<br>
|
||
[net] read: next record length=-1 bytes<br>
|
||
[net] exiting<br>
|
||
[net] closing dev 0x804dca0, ctl=4<br>
|
||
[net] closing dev 0x804e190, ctl=-1<br>
|
||
[net] closing dev 0x804e128, ctl=-1<br>
|
||
---------------------------------<br>
|
||
<p>
|
||
Okay, so... hmmm. I've checked; the binaries are identical for<br>
|
||
"scanimage" and "saned" on both machines. I'm running Debian 2.1, and the<br>
|
||
version of SANE is a little outdated:<br>
|
||
<p>
|
||
Version: 0.74-2<br>
|
||
<p>
|
||
So, anyway, what could cause it to work on the local host and not<br>
|
||
remotely? Do I need to muck with the "saned.conf" and "net.conf" files on<br>
|
||
grayswandir? I must be doing something stupid somewhere...<br>
|
||
<p>
|
||
<i>> Try my earlier syslog patch,</i><br>
|
||
<p>
|
||
Haven't had a chance to try that yet, sorry.<br>
|
||
<p>
|
||
Sincerely,<br>
|
||
<p>
|
||
Ray Ingles (248) 377-7735 <a href="mailto:ray.ingles@fanucrobotics.com">ray.ingles@fanucrobotics.com</a><br>
|
||
<p>
|
||
"COBOL is here for the long run... [O]n the Starship Enterprise make<br>
|
||
no mistake, the program that calculates their pay will be written<br>
|
||
in COBOL..." - Jerome Jahnke<br>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<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">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0062.html">Petter Reinholdtsen: "Re: Net scanning"</a>
|
||
<li> <b>Previous message:</b> <a href="0060.html">Stefan Rutzinger: "Mustek ScanMagic 9363S works."</a>
|
||
<li> <b>In reply to:</b> <a href="0053.html">Petter Reinholdtsen: "Net scanning"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0062.html">Petter Reinholdtsen: "Re: Net scanning"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|