[sane-devel] problems getting network access to scanner..
Henning Meier-Geinitz
henning@meier-geinitz.de
Mon, 5 Jul 2004 19:59:49 +0200
Hi,
On Mon, Jul 05, 2004 at 11:38:21PM +1000, debian@ausipos.com wrote:
> in saned.conf on the server i have:
> +
> 192.168.42.8
> 192.168.42.1
If you use the "+" you don't need the IP addresses. It doesn't harm
either, however. You only need the client's IP address here.
> in net.conf on server and local i have:
> 192.168.42.8
> 192.168.42.1
You only need the server's IP address here.
> in /etc/sane.d/dll.conf I have:
> # The HP OfficeJet backend is not part of the SANE distribution
> # but is provided by the hpoj Debian package
> hpoj
In dll.conf of the client you also need "net".
> telnet from client (or server) to port server 6566 gives:
> zeus:/home/ben# telnet eldric 6566
> Trying 192.168.42.1...
> Connected to eldric.GTFNET.
> Escape character is '^]'.
> Connection closed by foreign host.
Does the "connection closed" happen immediately?
> So the machines seem to be talking..
Check the syslog of the server for messages.
> Have I missed something basic?
Put server and client into your DNS server or /etc/hosts file.
Sometimes this seems to be necessary.
If you can't find out what's wrong, show us the messages from saned in
the syslog of the server and the output of
SANE_DEBUG_NET=255 scanimage -L
on the client.
You can also try to scan over the local net (on the server):
scanimage -d net:localhost -T
Bye,
Henning