[sane-devel] Help. Any Ideas?
paddy-hack at member.fsf.org
Tue Feb 14 12:42:20 UTC 2017
Torfinn Ingolfsen writes:
> The "Temporary failure in name resolution" messages in your debug
> output seems to indicate that the pixma backend also wants / needs a
> (DNS) name for your scanner's IP address.
> You could try to add it to your local DNS server if you have one, or
> to the hosts file on the machine you run SANE on, to see if it helps.
Just for the record, if the host name resolution fails the IP address is
used as is. Quoting from backend/pixma_bjnp.c (starting at line 833):
/* do reverse name lookup, if hostname can not be found return ip-address */
if( (error = getnameinfo( &(scanner_sa -> addr) , sa_size( scanner_sa),
host, BJNP_HOST_MAX , NULL, 0, NI_NAMEREQD) ) != 0 )
PDBG (bjnp_dbg(LOG_INFO, "get_scanner_name: Name for %s not found : %s\n",
ip_address, gai_strerror(error) ) );
Adding it to your local DNS server isn't expected to help.
Hope this helps,
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
More information about the sane-devel