[sane-devel] scanimage via network

Martin martinh at ix.netcom.com
Wed Sep 14 19:17:58 UTC 2005


It looks like the something to do with "connection refused".
Is there some network access permissions that need to be configured on 
the pc with the scanner?

Here is the output from the client pc:

============================
[root at my90newpc root]# /usr/local/bin/scanimage -d 
net:192.168.1.50:gt68xx:/dev/usb/scanner0
[sanei_debug] Setting debug level of net to 255.
[net] sane_init: authorize = 0x80491d0, version_code = 0xbfffce1c
[net] sane_init: SANE net backend version 1.0.13 (AF-indep+IPv6) from 
sane-backends 1.0.16
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add 192.168.1.50:gt68xx:/dev/usb/scanner0
[net] add_device: adding backend 192.168.1.50:gt68xx:/dev/usb/scanner0
[net] add_device: error while getting address of host 
192.168.1.50:gt68xx:/dev/usb/scanner0: Name or service not known
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_open("192.168.1.50:gt68xx:/dev/usb/scanner0")
[net] sane_open: host = 192.168.1.50, device = gt68xx:/dev/usb/scanner0
[net] sane_open: device 192.168.1.50 not found, trying to register it anyway
[net] add_device: adding backend 192.168.1.50
[net] add_device: backend 192.168.1.50 added
[net] sane_open: device not connected yet...
[net] connect_dev: trying to connect to 192.168.1.50
[net] connect_dev: [0] failed to connect (Connection refused)
[net] connect_dev: [1] failed to connect (Connection refused)
[net] connect_dev: [2] failed to connect (Connection refused)
[net] connect_dev: couldn't connect to host (see messages above)
[net] sane_open: could not connect to device
scanimage: open of device net:192.168.1.50:gt68xx:/dev/usb/scanner0 
failed: Error during device I/O
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x8051a90, ctl=-1
[net] sane_exit: finished.
============================


Henning Meier-Geinitz wrote:

>Hi,
>
>On Wed, Sep 14, 2005 at 10:08:30AM -0400, Martin wrote:
>  
>
>>The scanner is working properly on oldpc.
>>
>>This is the ouput on oldpc.
>>
>>[root at oldpc]# /usr/local/bin/scanimage -L
>>device `gt68xx:/dev/usb/scanner0' is a Mustek ScanExpress 1200 UB Plus 
>>flatbed scanner
>>    
>>
>
>Does scanimage -L also show the scanner on the client?
>
>Could you enable debugging on the client, i.e. do
>export SANE_DEBUG_NET=255
>and then run scanimage as done before. Please send us the output.
>
>  
>
>>Question: Does the client pc, in this case "newpc" have to have the same 
>>sane installed on it as oldpc, to run it from newpc?
>>    
>>
>
>No. At least if you use versions of sane released in the last 4 years
>this shouldn't be a problem.
>
>Bye,
>  Henning
>
>  
>

-- 
-------------- next part --------------
Skipped content of type multipart/related


More information about the sane-devel mailing list