<div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 9, 2020 at 8:39 AM C. Cook <<a href="mailto:c.a.cook@quantum-sci.com">c.a.cook@quantum-sci.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 2020-09-09 07:31, Ralph Little wrote:<br>
> Hi,<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I did as Olaf suggested and "Name or service not known", which doesn't<br>
make sense:<br>
<br>
# SANE_DEBUG_NET=128 scanimage -L<br>
[sanei_debug] Setting debug level of net to 128.<br>
[net] sane_init: authorize != null, version_code != null<br>
[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from<br>
sane-backends 1.0.27<br>
[net] sane_init: Client has little endian byte order<br>
[net] sane_init: searching for config file<br>
[net] sane_init: connect timeout set to 30 seconds<br>
[net] sane_init: trying to add scan-server<br>
[net] add_device: adding backend scan-server<br>
[net] add_device: error while getting address of host scan-server: Name<br>
or service not known<br>
[net] sane_init: trying to add localhost<br>
[net] add_device: adding backend localhost<br>
[net] add_device: backend localhost added<br>
[net] sane_init: done reading config<br>
[net] sane_init: evaluating environment variable SANE_NET_HOSTS<br>
[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT<br>
[net] sane_init: done<br>
[net] sane_get_devices: local_only = 0<br>
[net] connect_dev: trying to connect to localhost<br>
[net] connect_dev: [0] connection succeeded (IPv4)<br>
[net] connect_dev: sanei_w_init<br>
[net] connect_dev: net_init (user=carl, local version=1.0.3)<br>
[net] connect_dev: freeing init reply (status=Success, remote version=1.0.3)<br>
[net] connect_dev: done<br>
[net] sane_get_devices: finished (0 devices)<br>
<br></blockquote><div> </div><div>So it looks from the trace that it is trying to (unsuccessfully) resolve the scan-server host.</div><div>I would simplify this for the moment to just include the IP address of scan-server in net.conf and try again.</div><div><br></div><div>I tried something similar here to see what we would expect:<br><br>[09:32:15.216089] [net] sane_init: searching for config file<br>[09:32:15.216101] [net] sane_init: trying to add scan-server<br>[09:32:15.216108] [net] add_device: adding backend scan-server<br>[09:32:15.218803] [net] add_device: error while getting address of host scan-server: Temporary failure in name resolution<br>[09:32:15.218827] [net] sane_init: trying to add 10.1.40.6<br>[09:32:15.218836] [net] add_device: adding backend 10.1.40.6<br>[09:32:15.219301] [net] add_device: backend 10.1.40.6 added<br>[09:32:15.219313] [net] sane_init: done reading config</div><div><br></div><div>In my net.conf I have:</div><div><br></div><div>#</div><div># Comments...<br></div><div>#<br></div><div>scan-server<br>10.1.40.6</div><div><br></div><div>You can see that even though scan-server cannot be found, it still adds the 10.1.40.6 host entry.</div><div><br></div><div>Alternatively, you can just specify the IP address in SANE_NET_HOSTS env variable:</div><div><br></div><div>SANE_NET_HOSTS=10.1.60.4 SANE_DEBUG_NET=128 scanimage -L</div><div><br></div><div>.. and that IP address will be included in addition to what is in net.conf.</div><div><br></div><div>Let us know what output you get. Hopefully that will give us something to go on.<br></div><div><br></div><div>Cheers,</div><div>Ralph<br></div><div><br></div><div><br></div><div><br></div></div></div>