<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 9, 2021, at 10:23 AM, Media Mouth <<a href="mailto:communque@gmail.com" class="">communque@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On May 8, 2021, at 3:59 PM, Ralph Little <<a href="mailto:skelband@gmail.com" class="">skelband@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">That seems to imply you have an incoming connection from that address (192.168.1.182) which is weird, but might be unimportant.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><div class="">I've been bouncing between different systems each with a client/client/scanner (so maybe best to just express them as ClientIP and ServerIP)</div><div class="">The above LAN is a client IP.</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Let's try to simplify the situation a little.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">We can try to run saned manually, no need to stop the service, we can choose a different port.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">saned -l -p 7000 -b 192.168.0.Server -e -d10</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><div class="">From this I get:</div><div class="">saned: invalid option -- 'l'</div><div class="">So wasn't able to test via port change.</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">This will run saned binding to the port 7000 in the foreground, channeling the diag to stderr instead of syslog.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Perhaps list the output of that in a reply here.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">You won't be able to connect a client to it without editing the client's /etc/services file to change sane-port to 7000 from 6566 which is a bit of a faff.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">There is no way to configure the client's net backend to choose a non-standard port. It merely looks at the machine's services configuration. :(</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Please check that you do not have SANE_CONFIG_DIR set in your environment, unless it is set to /etc/sane.d.</span><br style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Avenir-Book; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">That optionally contains the directories to search for the config file. If it still cannot find saned.conf, and you do not have the var set, you could set it to /etc/sane.d and try again.</span></div></blockquote>This was not set (i.e. no evidence of it from `<font face="Menlo" size="2" class=""><span style="font-style: normal;" class="">printenv</span></font>`, but based on your note I added the following line to <font face="Menlo" size="2" class=""><span style="font-style: normal;" class="">/etc/environment</span></font> on the server: <span style="font-family: Menlo; font-size: 11px;" class="">SANE_CONFIG_DIR="/etc/sane.d"</span></div><div class="">LMK if I did that correctly. Wasn't sure if /etc/environment is the right file, or whether to put /etc/sane.d vs /etc/sane.d/ (i.e. with or without trailing slash)</div><div class="">Tested both but still getting the same results from <span style="font-family: Menlo; font-size: 11px;" class="">SANE_DEBUG_NET=10 scanimage -L</span></div></div></div></blockquote><br class=""></div><div>Also...</div><div><br class=""></div><div>FROM CLIENT: stdout from <span style="font-family: Menlo; font-size: 11px;" class="">SANE_DEBUG_NET=10 scanimage -L</span></div><div><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.174838] [sanei_debug] Setting debug level of net to 10.</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175096] [net] sane_init: authorize != null, version_code != null</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175101] [net] sane_init: SANE net backend version 1.0.14 (AF-indep) from sane-backends 1.0.32</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175104] [net] sane_init: Client has little endian byte order</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175107] [net] sane_init: searching for config file</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175157] [net] sane_init: trying to add [ServerIP]</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.175162] [net] add_device: adding backend [ServerIP]</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.772986] [net] add_device: backend [ServerIP] added</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773022] [net] sane_init: done reading config</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773028] [net] sane_init: evaluating environment variable SANE_NET_HOSTS</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773037] [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773042] [net] sane_init: done</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773046] [net] sane_get_devices: local_only = 0</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.773060] [net] connect_dev: trying to connect to [ServerIP]</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.779465] [net] connect_dev: [0] connection succeeded (IPv4)</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.779511] [net] connect_dev: sanei_w_init</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:28:21.779772] [net] connect_dev: net_init (user=[ClientUserName], local version=1.0.3) <b class="">#<----NOTABLE DELAY HERE</b></span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.948981] [net] connect_dev: freeing init reply (status=Unknown SANE status code 796226418, remote version=47.115.25193)</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.949135] [net] connect_dev: access to [ServerIP] denied</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.949150] [net] connect_dev: closing connection to [ServerIP]</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.949180] [net] sane_get_devices: ignoring failure to connect to [ServerIP]</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.949212] [net] sane_get_devices: finished (0 devices)</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class=""><br class=""></span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">No scanners were identified. If you were expecting something different,</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">check that the scanner is plugged in, turned on and detected by the</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">sane-find-scanner tool (if appropriate). Please read the documentation</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">which came with this software (README, FAQ, manpages).</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.954537] [net] sane_exit: exiting</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.954560] [net] sane_exit: closing dev 0x7fd4764066f0, ctl=-1</span></font></div></div><div><div><font face="Menlo" class=""><span style="font-style: normal; font-size: 12px;" class="">[10:29:11.954588] [net] sane_exit: finished.</span></font></div></div></blockquote><div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div>FROM SERVER: syslog</div><div><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:21 [serverName] systemd[1]: Started Scanner Service (ClientIP:55062).</font></span></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:22 [serverName] scanbm: /usr/sbin/scanbm: dbus match type='signal',interface='org.freedesktop.Hal.Manager'</font></span></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:22 [serverName] dbus-daemon[343]: [system] Activating via systemd: service name='de.kmux.scanbd.server' unit='dbus-de.kmux.scanbd.server.service' requested by ':1.107' (uid=1 pid=5914 comm="/usr/sbin/scanbm -c /etc/scanbd/scanbd.conf ")</font></span></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:47 [serverName] saned[5915]: read_config: could not open config file (saned.conf): No such file or directory </font></span><b style="font-family: Menlo; font-size: 12px;" class="">#<----ISSUE HERE</b></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:47 [serverName] saned[5915]: saned (AF-indep+IPv6) from sane-backends 1.0.27 starting up</font></span></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:47 [serverName] saned[5915]: check_host: access by remote host: ::ffff:ClientIP</font></span></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:47 [serverName] saned[5915]: init: access by host ::ffff:ClientIP denied </font></span><b style="font-family: Menlo; font-size: 12px;" class="">#<----</b></div></div></div><div><div><div><span style="font-style: normal; font-size: 12px;" class=""><font face="Menlo" class="">May 9 10:28:47 [serverName] saned[5915]: saned exiting</font></span></div></div></div></blockquote><div><div><br class=""></div><div class=""><br class=""></div></div></body></html>