Hello I've a big problem with saned. I want to scan over the network, so i've configured all. Now if I connect to the "scanserver" with # scanimage -d net:192.168.1.10:scanner then the saned, started with # saned -d128 will return the following:
[saned] main: starting debug mode (level 128) [saned] main: trying to get port for service `sane' (getservbyname) [saned] main: port is 6566 [saned] main: socket () [saned] main: setsockopt () [saned] main: bind () [saned] main: listen () [saned] main: waiting for control connection [saned] check_host: access by remote host: 192.168.1.1 [saned] check_host: remote host is not IN_LOOPBACK [saned] check_host: remote hostname (from DNS): new.fli4l [saned] check_host: remote host address (from DNS): 192.168.1.1 [saned] check_host: local hostname: fli4l_test [saned] check_host: gethostbyname failed: Unknown error [saned] init: access by [email protected] rejected [saned] quit: exiting My host (192.168.1.1, hostname is "new") is in /etc/sane.d/saned.conf, i've also tested with a plus (+), but it wouldn't run my local domain is fli4l and the nameserver is 192.168.1.5, both hosts (scanserver and my client [new] is in the dns-server, they can be resolved without problems) I think, the problem is in the sourcecode at the following check: ... he = gethostbyname (hostname); if (!he) { DBG (DBG_ERR, "check_host: gethostbyname failed: %s\n", strerror (errno)); return SANE_STATUS_INVAL; } ... can anyone help me? are there any problems with libc5? -- Gruss Michael +----------------------------------+ | registered fli4l-user 00000212 | +----------------------------------+ | There's no Linux 95 or 98 | | because Linux is forever!! | +----------------------------------+
