Hi,

On 2022-02-25 09:33, steve rinsler via sane-devel wrote:
I have three computers each running antiX (different versions).  In accord with routine instructions for scanning to my Brother MFC-7345N device connected by Ethernet to my router, I have edited the etc/default/saned and /etc init.d/saned files NOT to launch at boot (RUN=no).

However on only one of the three computers does service saned status report saned is disabled.

Scanning works fine both on that computer and on one of the other computers on which saned is reported as running.  On the third computer, saned is running, but (so far) scanning isn’t working.

While my main goal is to fix the scanning on the one computer, I am puzzled about what the correct status of saned should be.  It seems that it isn’t necessary for scanning across the network to my Brother device.

You only need saned to be running on the one machine that is connected to the Brother device. saned provides the server side of the connection. the sane-net backend is the client side. So on the other two machines, disable saned and configure sane-net (/etc/sane.d/net.conf) with the IP address of the machine running saned.

I do find the situation regarding how saned is configure to run very variable depending on the system. You can either setup saned to run as a daemon in its own right, or configure your init system to listen on the 6566 port for incoming connections, and have it pass the connection on to saned. The latter is a pretty common scenario.

If so, how do I BLOCK saned from launching when I boot, since my editing of /etc/default/saned and /etc/init.d/saned doesn’t work on two of my computers.

Not sure how services are set up on antiX. If systemd is in use then you can probably use:

sudo systemctl disable saned.socket

or

sudo systemctl stop saned.socket

to temporarily disable the socket listener.


(I have spent many hours so far trying to figure out why the third computer isn’t working.  I may give up and just try reinstalling the Brother software and the sane utilities, but I would prefer to understand what is “broken” in this third computer.  It is running the latest Sid sane software (sane, libsane and libsane1, libsane-common, sane-utils, xsane and xsane-common), which is a little different than the other computers.  The Brother scanner driver (backend) is the same version on all three computers. The brscan-sketch utility detects the scanner on all the computers, so it suggests some possible incompatibility with the newer sane software.)

Cheers,
Ralph


Reply via email to