[sane-devel] Re: SaneTwain - windows losing connection

Anton Mazkovoi Anton Mazkovoi <anton.mazkovoi@gmail.com>
Sun, 10 Oct 2004 17:55:27 +1000


I have updated the driver for my network card and everything works
flawlessly  now.

Thanks,
Anton



On Sat, 9 Oct 2004 15:37:06 +1000, Anton Mazkovoi
<anton.mazkovoi@gmail.com> wrote:
> Hi,
> 
> I have a epson cx6500 scanner/printer which I have working with epkowa
> drivers and sane-backends-1.0.12-2 on a RedHat 9 box. Saned is started
> through xinetd and I have a Windows XP SP1 machine running SaneTwain
> 1.25 and scanning images with no problem.
> 
> Another Windows XP SP1 machine on the same local network refuses to
> scan. Its running the same version of SaneTwain. When scanimage.exe is
> started it tries to retrieve the scanners from the server and I see
> the saned process started on the server (and a connection reported on
> both windows and linux boxes using "netstat -na"). The scanimage
> window is unusable (unclickable) for a while. After some time  the
> window becomes usable and the devices dropdown is correctly populated
> with the scanner's device.
> 
> Clicking "preview" or "scan", results in a pop-up which says: "Write
> error 64, the specified network name is no longer available". When I
> do a "netstat -na" on a windows box I can see that the tcp connection
> is NOT there. The linux box (netstat -na) thinks the connection IS
> there, the saned process is still running and is doing a read from the
> socket which is (was) connected to the windows box.
> 
> Also, the "options" tab of the scanimage window is completely empty.
> (On the working windows XP box it shows options).
> 
> Also, printing to the scanner/printer device from both windows boxes
> causes no problems. The linux box also acts as the gateway to the
> internet for both windows boxes. Surfing the web and downloading files
> from both machines seems to have no problems.
> 
> I am attaching the log produced by running scanimage --debug on the
> non-working windows box.
> 
> Is this a known windows problem? Has anyone seen anything like this before?
> 
> Any help is very much appreciated!
> 
> Thanks in advance,
> Anton
> 
> 
>