[sane-devel] How to scan via WiFi over a LAN

Ralph Little skelband at gmail.com
Sat May 8 18:54:41 BST 2021


Hi,

On 2021-05-08 10:35 a.m., Media Mouth wrote:
> Thanks, Ralph for the info below.
> If I'm understanding correctly, once the scanner is successfully
> connected via USB to a local computer, you can share that scanner to
> the LAN.
> Is that correct?
>
> From what I understand (at least from this link
> <https://wiki.debian.org/SaneOverNetwork>)
> On the Client machine
>
>     in file 'dll.conf' (/usr/local/etc/sane.d/dll.conf), un-comment "net"
>     in file 'net.conf' (/usr/local/etc/sane.d/net.conf), Add the ip
>     address of the Server machine (the one connected via USB to the
>     scanner)
>
>
> On the Server machine
>
>     in file 'sane.d' (/usr/local/etc/sane.d), add the IPs permitted to
>     scan.
>
>
As Brian said, the file is saned.conf.

> Am I on track?  Not working for me yet, but there's a note in 'sane.d':
>
>     # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
>     # /etc/services must also be properly configured to start
>     # the saned daemon as documented in saned(8), services(4)
>     # and inetd.conf(4) (or xinetd.conf(5)).
>
>
So for this part, we are really talking about how to run saned on the
server machine.
Depending on the distro and how they packaged it, you might find that
saned is already running or set up to start on demand.

Perhaps check to see if a saned process is running. You could also see
if a service manager is listening on your behalf:

netstat -an | grep 6566

In my case:

tcp6       0      0 :::6566                 :::*                    LISTEN

With the above, you should be set.
If it is not running and no-one is listening on the port, you could run
it manually for testing purposes.

E.g.
saned -l -p 6566 -b 192.168.1.12 -e -d5

The address and port should be configured to what you desire. Port 6566
is the default port so you should probably stick to that.

Cheers,
Ralph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20210508/a7d074cd/attachment-0001.htm>


More information about the sane-devel mailing list