[sane-devel] When to disable sane?
skelband at gmail.com
Sat Feb 26 19:44:06 GMT 2022
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
> 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
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
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.)
More information about the sane-devel